InterviewLegend

Design a Like & Favorites Counter

Signature problem
Alex Chen50 min readAdded 17 real interview reports

A like counter records who reacted to what and shows the totals wherever they're needed. On Roblox an experience page shows thumbs up and thumbs down votes, the like percentage they produce, and a favorites count. Marketplace items carry a favorites count too. Candidates report it from IC3 to Principal, in technical screens and onsites, under several names: a like counter, a likes system, a favorites service, a like and unlike counter. One version asks for the "played by" line that tells you which of your friends played a game. Underneath, they share two jobs. Record each player's vote and favorite exactly once, and show a total that a million readers a second can see without touching those rows.

The Roblox angle
One IC3 candidate called a Roblox like and unlike round one of the hardest design interviews they'd sat. The interviewer kept digging into every detail. Finish the boxes in about ten minutes, then expect three nested "why" questions on the dedupe path, the hot-experience counter and the cache in front of it.

RobloxPremium lesson · System design round

The Roblox design, worked end to end.

  1. The API and data modelSystem design · Signature problem
  2. The design, drawn out2 diagrams
  3. 7 deep divesWith the tradeoffs
Get the Roblox questions

$49 a year · all 107 companies · instant access

20,000+ candidate reports · guide updated

Roblox interview guide

Know what Roblox asks before you walk in.

15 coding · 6 system design · 14 behavioral questions

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

Get their questions first.

Had your Roblox interview?How we research

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