โ† Amazon questions

Top K purchased items from log files

Filed under Amazon

The question

Given log files consisting of products bought and customer IDs, print the top k purchased items at any time, discussing approaches to handle billions of items across multiple machines.

No write-up yet. Related questions below have one.

Related Amazon questions

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