Sanjaykumar-IT / dsa-problems

coding problems
0 stars 4 forks source link

Product of the array except self #4

Closed Sanjaykumar-IT closed 1 year ago

Sanjaykumar-IT commented 1 year ago

Given an array arr[] of n integers, construct a Product Array prod[] (of the same size) such that prod[i] is equal to the product of all the elements of arr[] except arr[i].
Input: [10, 3, 5, 6, 2] output: [180, 600, 360, 300, 900]

Satyakoidala commented 1 year ago

@Sanjaykumar-IT , please assign this one to me.

Sanjaykumar-IT commented 1 year ago

@Sanjaykumar-IT , please assign this one to me.

Assigned

Satyakoidala commented 1 year ago

@Sanjaykumar-IT , created PR https://github.com/Sanjaykumar-IT/dsa-problems/pull/10

Could you please review?

Sanjaykumar-IT commented 1 year ago

Issue completed