Pagination: offset vs cursor
Any endpoint that returns a list has to return it in pages: a feed, comments, search results, a customer's orders. The interview question is how the client asks for the next page. There are two answers, "skip the first 40" (offset) and "carry on after this item" (cursor), and the difference shows when the list is long or changes while someone scrolls.
A notice board
Picture a community notice board where new notices are pinned at the top. You tell a friend, "I've read the first 20, start from the 21st." By the time she gets there, three new notices have gone up, so her 21st is your 18th and she rereads three. If two had been taken down instead, she'd miss two. Tell her "start after the one about the lost cat" and it works however many notices were added or removed above it. And counting down to the 21st takes longer the further down the board you go.