InterviewLegend

Design Top-K YouTube Videos

Commonly asked
Alex Chen30 min readAdded 330 real interview reports

This one comes from an April 2026 report by a T2 Developer (Fullstack) at SAP Labs Bangalore, with about three years of experience, who got an offer. It sat in the first round, billed as Java plus HLD, next to Core Java and Spring Boot questions. The candidate wrote down the prompt and nothing about follow-ups. So the deep dives below cover the standard axes of this classic problem, which is what to prepare, without claiming any of them as that interviewer's script. Two older SAP reports sit in the same domain. A 2020 Senior Software Engineer loop in Bangalore asked for a system like Netflix, with questions on databases, garbage collection and REST APIs. An older campus round asked how you'd design Netflix, what the layers are, and which front-end and back-end technologies you'd pick. Those asks shape the section on the platform around the counter, further down.

Counting views sounds like the easy part. It isn't, once views arrive by the thousand every second and one viral video takes a big share of them. Then there's the read side. Everyone who opens the "most viewed today" page gets the same list, and they ask far more often than that list really changes. So the design splits in two. A write side counts cheaply, in batches. A read side serves a list that was computed ahead of time. Nearly every decision below follows from one relaxation: the list may run about a minute behind.

The SAP angle
At SAP this design shares the hour with Java questions. In the 2026 report it ran inside a combined Java and HLD round, so the design gets only part of the time. Get the schema and API on the board early. Expect a lighter scale bar than a FAANG round and more weight on a correct data model.

SAPPremium lesson · System design round

The SAP design, worked end to end.

  1. Requirements and scopeSystem design
  2. The API and data model
  3. The design, drawn out1 diagram
  4. 5 deep divesWith the tradeoffs
Get the SAP questions

$49 a year · all 107 companies · instant access

330 SAP interview reports · guide updated

SAP interview guide

Know what SAP asks before you walk in.

25 coding · 4 system design · 30 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your SAP interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.