Computer Science, asked by madhuryagowd8771, 1 year ago

Given an array of integers return a new array such that each element at index i of the new array is the product of all the numbers in the original array except the one at i

Answers

Answered by Anonymous
0

Answer:

Given an array arr[] of n integers, construct a Product Array prod[] (of same size) such that ... Use property of log to multiply large numbers ... output product for each index.

Answered by Anonymous
9

Hiii dude.......

Given an array of integers, return a new array such that each element at index i of the new array is the product of all the numbers in the original array except the one at i. For example, if our input was [1, 2, 3, 4, 5], the expected output would be [120, 60, 40, 30, 24].

Similar questions