Feed and list APIs: cursors, infinite scroll and prefetching
Infinite scroll is the list every product round draws. Interviewers check that page two never repeats page one, that the reader never waits, and what unseen posts cost. Pagination teaches cursors on a list in time order; this page works through a ranked feed.
A tasting menu
At a tasting-menu restaurant, the chef plans your evening when you sit down and prints a card for your table: ten courses of small plates. The waiter brings one course at a time and remembers which one you're on. While you're halfway through a course, the kitchen starts the next, so it arrives as you finish. A dish the chef invents during your meal waits for your next visit, and one that runs out is skipped for the next. If the waiter loses your card, you tell him what you've eaten so far, and the chef plans the rest without repeating any of it.
You are the reader, the waiter is the feed API, and the chef is the ranker. The printed card is the session's order: about 100 post IDs in rank order, kept for the session. Each course is a page of ten posts, and the waiter remembering where you are is the cursor, a position on the card. The kitchen starting early is prefetching, the new dish is a post written after the session began, and the dish that ran out is a deleted post. Telling the waiter what you've eaten is the phone sending the IDs it has shown.