Katkat

Design Top K ranking system

LinkedInSoftware Engineer · Onsite

Last updated

Design Top K ranking system evaluates requirements, scale assumptions, API/data design, architecture, trade-offs, failure modes, and rollout in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

Question

Design a system that can continuously identify the Top K elements from a large or streaming dataset. Discuss data structures, scalability considerations, update handling, and how to support high-throughput queries.