Prefix sum problem similar to Product of Array Except Self
Filed under Amazon
The question
A LeetCode Medium prefix-sum problem described as somewhat similar to LeetCode 238. The candidate gave the optimized approach and coded it in about 10 minutes.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.