Question bank

No. 13 · Data pipelines & analytics

Design most-shared articles over sliding time windows

Advanced40 minStream processing · Time windows · Counting & aggregation · Ranking · Hot keys · Sharding & partitioning

Your sketch
Opening the sketchbook…

OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES

Further reading

Walkthrough 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.

  1. YouTube Top K

    Hello InterviewArticleFull walkthroughFreeVetted

    Closest public walkthrough: precomputing top K per tumbling window, handling massive write volume, sliding windows, and when count-min style approximation is worth it. Uses YouTube views, so swap in share events.

    Link checked 2026-12-06

  2. System Design: Top K Trending Hashtags

    Medium · Abhijit MondalArticlePartialFreeVetted

    Covers estimates, batch jobs that accumulate frequencies, and a count-min sketch plus heap for the top K. Thin on the multiple concurrent windows (5 min, 1 hour, 1 day) this question asks for.

    Link checked 2026-12-06 (the site blocks automated checks; confirmed manually)

  3. Apache Flink Documentation: Windows

    Apache FlinkDocsBackgroundFreeVetted

    Reference for tumbling versus sliding windows, watermarks and allowed lateness, which decide how you keep several windows fresh at once. Pure framework docs; nothing on ranking.

    Link checked 2026-12-06

  4. An Improved Data Stream Summary: The Count-Min Sketch and its Applications

    Journal of Algorithms (author copy) · Graham Cormode, S. MuthukrishnanPaperPaperFreeVetted

    Primary source for the sketch most answers name-drop: error bounds, memory cost, and why it overestimates but never underestimates. Heavy math; skim the intro and the point-query and heavy-hitter sections.

    Link checked 2026-12-06

  5. Efficient Computation of Frequent and Top-k Elements in Data Streams (Space-Saving)

    UCSB technical report 2005-23 · Metwally, Agrawal, El AbbadiPaperPaperFreeVetted

    The Space-Saving algorithm gives top K with a fixed number of counters, a cleaner fit than count-min plus heap when you only need the leaders. Academic; read the algorithm description and skip the proofs.

    Link checked 2026-12-06

  6. Google India Engineers in a Mock System Design Interview

    Life at Google (YouTube)VideoMock interviewFreeVetted

    Real Google engineers run a mock on top songs and albums by country and time period, with feedback at the end. Same counting-and-ranking core, framed as music rather than shared articles.

    Link checked 2026-12-06

Report a bad or misleading link

Reference audit: 3 of 5 links from the audited catalog kept
  • leetcode.com/discuss/interview-question/system-design/258398/design-to Prompt only, no company or interview context stated, replies not readable.
  • youtube.com/watch?v=1lfktgZ9Eeo Private video; no longer viewable.

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

Candidate reports

Catalog tags (unverified)

Meta (Facebook)X (Twitter)

Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.

Report or add attribution evidence · How we label evidence

KEEP GOING

From our Learn guides

Related questions