Design a News Feed
The home timeline of Twitter, Instagram or Facebook: posts from people you follow, ranked, fresh, and fast for hundreds of millions of users.
8 questions on this site are reported in Pinterest software engineer interviews. Each has a full reference design (requirements, back-of-envelope numbers, components, user flows and deep dives with interviewer follow-ups). Each one can be walked through turn by turn and then sat as a mock. Patterns covered: fan-out, ranking, caching, social, frontier, politeness, dedupe, scheduling, distributed-queues, recommendations, vector-search, feature-store, real-time, search, privacy, counting, time-partitioning, graph, sharding, in-memory, consistency, batch, auctions, budget-pacing, inverted-index, low-latency, short-video, prefetch, session-ranking, exploration, cdn, random-walks, visual-search, deduplication, image-serving.
Run an AI mock Pinterest interview →One of these questions, run as a live round in that style, with a debrief at the end.
Attribution comes from public interview guides and candidate reports, not from Pinterest. It indicates where a question has been asked, nothing more.
The home timeline of Twitter, Instagram or Facebook: posts from people you follow, ranked, fresh, and fast for hundreds of millions of users.
Fetch billions of pages a month politely, discover new links, skip duplicates, and keep the copy fresh without getting the crawler banned.
The “recommended for you” video home feed: 50 personalised videos picked from billions for 500 M daily users in under 200 ms.
Keyword search over a billion users’ posts, searchable seconds after posting, sorted by recency or likes, hiding every post the searcher may not see.
LinkedIn’s connections for 1 B members: invitations, follows, a 1st/2nd/3rd badge on 200 k profile views a second, and daily People You May Know.
Pick the best of 10 M active ads for 5 M requests a second in under 100 ms, within every campaign’s targeting, budget and frequency caps.
A full-screen feed of short videos for 1 B daily users, where the next clip starts instantly and every swipe reshapes what comes next.
Save images to boards, browse a personalised grid and search by picture: 100 M daily users, 5 B distinct images behind 100 B saves.
45–60 minutes, product-shaped and usually close to what Pinterest runs: the home feed, recommendations, image storage and delivery, search or notifications.
Treating ranking as a black box. Feed and recommendation designs are reported to be pushed toward how Pins are chosen and what happens for a new user with no history, not only toward storage and serving.
From public interview guides and candidate reports, and Pinterest’s own interview guidance where it publishes any. Not endorsed by Pinterest. Formats change; treat it as a prior, not a promise.
Large-company loops run 45 to 60 minutes, expect numbers, and spend most of the time on deep dives. Walk through a question to see how a strong candidate paces the hour, sit the same question as a mock until you can produce the requirements, the estimates and the design without looking, then read the interview framework guide for how to structure the hour. The other questions on the site teach patterns that show up in Pinterest interviews under different names.
Questions reported in Pinterest system design interviews include News Feed, Web Crawler, Recommendation System, Post Search, Social Graph, Ad Serving System, TikTok and Pinterest. Between them they test fan out, ranking, caching, social, frontier and politeness. The reports come from public interview guides and candidate accounts, not from Pinterest, so practise the patterns rather than memorising one list.
45–60 minutes, product-shaped and usually close to what Pinterest runs: the home feed, recommendations, image storage and delivery, search or notifications.
Reports say the Pinterest round weighs 4 things. 1. Requirements, scale and latency settled before the first diagram. 2. How Pins are chosen and ranked for each user, not only how they are stored. 3. Images at scale: object storage, several sizes per image and delivery through a CDN. 4. Tradeoffs named as you go, such as precomputing a feed against keeping it fresh. Treating ranking as a black box. Feed and recommendation designs are reported to be pushed toward how Pins are chosen and what happens for a new user with no history, not only toward storage and serving.
Practise the questions reported there out loud, under a 45-minute clock: requirements with numbers first, then estimates, a high-level design, and deep dives into the two or three hardest parts. Start with News Feed: watch a strong candidate answer it turn by turn, then sit it yourself. Then cover the patterns the round leans on (fan out, ranking, caching and social) with one more question each.