Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 470 Bytes

Array_Of_Array_Products.md

File metadata and controls

15 lines (8 loc) · 470 Bytes

July 18, 2023 Algorithm problem statements:

#Array of Array Products

Given an array of integers arr, write a function that returns another array at the same length where the value at each index i is the product of all array values except arr[i].

Solve without using division and analyze the runtime and space complexity

Example: given the array [2,  7,  3,  4]

your function would return: [84, 24, 56, 42]
(by calculating: [734, 234, 274, 273])