1 / 12
DSAProduct of Array Except Self (Prefix and suffix products)mediummcq

Return answer[i] = the product of every element except nums[i], in O(n) time without using division. Which approach works?

A–DanswerEnternextEscleave