← Questions

Price rides with fairness and pooling

0
AmazonSystem designLast asked Sep 2025

Write and design the pricing logic of a ride-hailing service: compute a fare from distance, time and demand, keep prices fair between riders, and price pooled rides where several riders share one car. Make it easy to add new pricing rules.

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing