Round 1
Questions: An online shopping website has a widget displaying the most popular items bought. There is an API service that sends a message containing (customer ID, item ID, timestamp) after each purchase transaction. Find the most popular items to be displayed on the widget.
Specific question not provided.
Follow-up Question
- How would you handle the requirement to update the top K items every N minutes?
- What considerations would you take into account given the volume of logs?
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.