Back to QuestionsPractice with This Question
Product of Array Except Self
130.9K views•Asked at Amazon•
Medium
Question Explain
Given an integer array `nums`, return an array `answer` such that `answer[i]` is equal to the product of all the elements of `nums` except `nums[i]`. Do not use division and solve in $O(n)$.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.