Design a Car-Pooling Service
Car-pooling fills the empty seats in cars that are making a trip anyway. Say a driver leaving Bengaluru for Mysore on Friday evening has three spare seats, and a rider in Mandya, a town on that highway, wants to reach Mysore around the same time. The service has to find that match, hold the seat, show the car approaching on the day and collect the fare once the trip is over. Settle which kind of pooling the interviewer means before drawing anything. In the offered-ride model, the driver plans a trip ahead and riders book into it. That's how BlaBlaCar works. In the on-demand model, a rider asks for a car right now and a dispatcher squeezes them into a car that's already moving, the way Uber Pool did. A vehicle that is already going from A to B points at the first model. Say so, confirm it, and keep en-route pickups in scope. Riders who join halfway are a big part of why carpools fill up at all.
AdyenPremium lesson · System design round
The Adyen design, worked end to end.
- The API and data modelSystem design · Frequently asked
- The design, drawn out2 diagrams
- 5 deep divesWith the tradeoffs
$49 a year · all 107 companies · instant access
20,000+ candidate reports · guide updated
Adyen interview guideKnow what Adyen asks before you walk in.
13 coding · 2 system design · 16 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.