No. 22 · Search & ranking
Design top charts for an app store
OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES
Further reading
At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.
- YouTube Top K
Full walkthrough of top K over fixed windows: precompute per window, absorb heavy writes, sliding windows, and when approximate counting pays off. Directly applicable to bestseller lists.
Link checked 2026-12-06
- Google India Engineers in a Mock System Design Interview
Google engineers mock a top songs and albums by country and period question, then give feedback. Good model of clarifying dimensions (by user, region, time) before designing.
Link checked 2026-12-06
- System Design: Top K Songs on Spotify (3+ Approaches)
Long livestream that builds three approaches in order: batch jobs off a replica, CDC, then a Kafka-based streaming path, with estimates. Rambling in places; skip the setup at the start.
Link checked 2026-12-06
- System Design Interview: Top K Problem (Heavy Hitters)
Readable overview of exact versus approximate top K: heap, count-min sketch, lossy counting, Misra-Gries, plus sharding and merging partial results. Generic; no single end to end design.
Link checked 2026-12-06
- An Improved Data Stream Summary: The Count-Min Sketch and its Applications
Primary source for the count-min sketch and its error guarantees. Skim for the intuition and the heavy-hitter section; the bounds are what make approximate rankings defensible.
Link checked 2026-12-06
- Efficient Computation of Frequent and Top-k Elements in Data Streams (Space-Saving)
Space-Saving keeps only K-ish counters and still finds the top items, which is often the better tool for a leaderboard than count-min plus heap. Academic; the algorithm fits on a page.
Link checked 2026-12-06
Report a bad or misleading link
Reference audit: 2 of 4 links from the audited catalog kept
- youtube.com/watch?v=1lfktgZ9Eeo Private video; no longer viewable.
- teamblind.com/post/Please-critique-my-system-design-for-Top-K-most-sea A rough sketch asking for critique; no company or interview context and not reliable as a solution.
We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.
COMPANY EVIDENCE · NOT A FREQUENCY CLAIM
Where it has been reported
Catalog tags (unverified)
AmazonBloombergMeta (Facebook)Pinterest
Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.
KEEP GOING