01.06 · Problem
Product of Array Except Self
This problem is part of solulu Pro
Given an integer array nums, return an array answer where answer[i] is the product of every element except nums[i]. Solve it in O(n) time without using division. All products fit in a 32-bit integer.
Lifetime ₹1,999 ₹999 · Launch offer
Item 6 of 98 · updated 2026-10-12