Recently visited items data structure
Filed under Amazon
The question
Design a data structure to record and display the recent items viewed by a website customer.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.