Design a cab booking and rating system
Filed under Flipkart
The question
Design and implement a cab rating system that processes queries to compute average driver/customer ratings, record completed trips with ratings, list top drivers/customers, and retrieve eligible drivers for a customer based on rating constraints (driver average rating > customer average rating, no prior 1-star ratings given by the customer, fallback to previously ridden drivers).
No write-up yet. Related questions below have one.
Related Flipkart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.