← Questions

Design a top-K popular items system

0
PerplexityGoogleMicrosoft+6System designLast asked Aug 2026

A system design interview question asked in Apple's system design round and at Figma, Meta and 6 more companies, last asked Aug 2026. It tests streaming, aggregation and counting.

Design a system that reports the K most popular items (most viewed videos, most played songs, hottest files) over sliding windows such as the last minute, hour and day, from a firehose of billions of view or play events a day.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Apple · System design · Last asked Aug 2026
  • Figma · System design · Last asked Aug 2026Design discussion; one or two rounds
  • Meta · System design · Last asked Jun 202645 min · Design discussion; either an LLM-agent system or a classic product system · Nominally AI-enabled, but the assistant is often not used
  • Uber · System design · Last asked Mar 202660 min · Whiteboard and discussion
  • Google · System design · Last asked Dec 202545 min · Whiteboard for the diagram, a doc for requirements and capacity math
  • Amazon · Technical phone screen · Last asked Sep 202560 min · Live coding in a shared editor that does not run code, plus Leadership Principles questions · No AI
  • Perplexity · System design · Last asked Sep 202560 min · Design discussion
  • Pika · System design · Last asked Jun 2025Onsite design
  • Microsoft

What it tests

streaming · aggregation · counting

Your canvas and the AI tutor open when you unlock this question.