InterviewDB Question

Search Results Pagination: Implement Cursor-Based Pagination for a Search API

Question Details

Problem You are implementing pagination for a search endpoint. Given a sorted list of results and a cursor (an opaque token encoding the last seen position), return the next page of results and the next cursor. The cursor should be stable even if new…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone