Track most sold item from massive file
Filed under Amazon
The question
Given a file too large to fit into memory containing sales logs of ItemId and descriptions, design a system to track the most sold item at any instant.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.