Division method

why we cannot use division operation in Product of array except self question

because if the array contains the number 0, then the product becomes 0 and when you divide it by 0 , that’s not a valid operation. Also, product would overflow in most of the cases on vairous OJs.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.