LeetDesign
← All problems
Medium

Design a News Aggregator Front Page

Serve a news aggregator's ranked front page, with story submissions and votes folding back into the ranking.

Design the front page of a news aggregator: a ranked list of stories that readers load and click through. Readers also submit new stories and vote on them, and the ranking reshuffles as scores shift.

The page is ranked once, globally: every reader who loads the front page sees the same stories in the same order.