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 ₹2,000 ₹1,000 · Beta offer
Item 6 of 9 · updated 2026-10-12