Design a News Feed
That framing comes from a candidate account and it is not the social one. There is no follower graph here. Publishers push items in continuously, readers have declared interests, and the system decides who sees what. Building the Twitter timeline you rehearsed will answer a question nobody asked.
The difference moves the hard part. In a social feed the difficulty is the follower graph and its celebrities. Here it is matching a continuous stream of arrivals against millions of interest profiles, fast enough that a reader opening the app sees something current.
Assume ten million readers, of whom perhaps one in ten is active on a given day. Items arrive at around five hundred per second across all sources. A reader opens their feed a handful of times daily, putting feed reads somewhere near thirty thousand per second at peak.
- 1 diagram
- 15 sections
- about 34 min
Premium lessonBloomberg interview guide
These took digging.
What candidates walked out with, from 20,000+ reports, forum threads behind logins and write-ups in Chinese. Then solved step by step.
100 companies. Checked every month.
Unlock all 100 companies$49 a year · less than $1 a week · 30-day money-back guarantee
Bloomberg interview guideKnow what Bloomberg asks before you walk in.
13 coding · 4 system design · 0 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.