Design K most visited websites feature from log server
Filed under Amazon
The question
Design a low-level feature that tracks website visit events triggered by a log server and returns the top K most visited websites at any given time. Write API signatures and apply appropriate design patterns and principles.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.