Amazon, Google, and Meta all ask this problem. The "no division" constraint is what makes it interesting. It forces you to think about prefix and suffix arrays. The prefix/suffix pattern appears in many problems: trapping rain water, maximum subarray, stock buy/sell. Once you recognize it, you'll see it everywhere. Interviewers often ask: "What if the array contains zeros?" or "Can you do it in space?" The space optimization (using result array for prefix, single variable for suffix) is expected.
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
$ curl repovive.com/roadmaps/maang-interview-prep/arrays-hashing/product-of-array-except-self-why-this-problem
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██████████████████████████████████████████████████████████████████████████████████████████████████████████████