Design data structure for frequently purchased items
Filed under Amazon
The question
Design a data structure to track and show the most frequently purchased items to a customer within a given time span.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.