← Amazon questions
CodingReported in a candidate post, Sep 2020

Product Array Puzzle

Filed under Amazon · Also reported at Adobe, Microsoft, NinjaCart, NPCI, Opera, Symantec

Given an array of integers nums, return an array output such that output[i] is equal to the product of all the elements of nums except nums[i]. Solve it without division and in O(n) time.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.