Lesson 1 of 15
37. Design a News Feed

The interview prompt

3 min read+10 XP

This chapter is a full interview round, played out step by step. The interviewer's lines are in quotes. At each step you'll see what a strong candidate says, the pushback the interviewer throws, and how to answer it. At the end, grade yourself with the rubric.

How to use this chapter

  1. Read only the prompt below. Then stop.
  2. Set a 45-minute timer and do the whole round yourself, on paper or a whiteboard, out loud. Use the framework from Chapter 1: READ, then Draw, Dive, Defend.
  3. Then read the walkthrough and compare. Score yourself with the rubric at the end.

Chapter 23 introduced fan-out with the bookstore's "authors you follow" feed. This round is the full-size version: the home feed of a large social app, where reads, writes and ranking all matter at once.

The prompt

"Design the home feed for a social app, like Instagram's or X's. Users follow other users and see their posts in a feed when they open the app."

Stop here. Start your timer.