Low-Level DesignReported in a candidate post, Jan 2020
Design a request serving data structure
Filed under Flipkart
The question
Design a data structure for a city with rich and poor people. Poor people get items from the front of the queue, while rich people can demand any item in the queue.
No write-up yet. Related questions below have one.
Related Flipkart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.