Rent a Ride cab booking and driver allocation system
Filed under Thoughtworks
The question
Write a clean program to simulate a cab booking service where customers are charged per distance (8rs/km). Given driver data including models, ratings, and distances, search for nearby drivers matching specific criteria such as a minimum rating of 4 and matching car preference, and compute the appropriate fare and car allocation.
No write-up yet. Related questions below have one.
Related Thoughtworks questions
Collected from public candidate posts and coding forums. Updated Nov 2026.