Task

Given an array/list [] of integers , Construct a product array Of same size Such That prod[i] is equal to The Product of all the elements of Arr[] except Arr[i].


Notes

Input >> Output Examples

productArray ({12,20}) ==>  return {20,12}

Explanation:

productArray ({1,5,2}) ==> return {10,2,5}

Explanation:


productArray ({10,3,5,6,2}) return ==> {180,600,360,300,900}

Explanation: