Code RoomFleet rebalancing system
HardPrep Room Coding #3535

Fleet rebalancing system

System designDistributed systemsSenior–Staff~50 min

Design the fleet-rebalancing system for a dockless e-scooter/bike-share operation with ~30k vehicles in a city. Vehicles drift to where riders leave them, creating oversupplied and undersupplied zones; you must decide which vehicles to move where (by ops crews or incentives) to maximize availability where demand will be, while respecting low-battery vehicles needing pickup and regulatory caps per zone. Describe how you partition the city and measure supply/demand, how you predict near-future demand, how you formulate the rebalancing decision, and the trade-off between chasing predicted demand and operational cost.

What a strong answer looks like

Clarify scale and constraints first. Propose a clean component breakdown, then go deep on the hard parts (data model, bottlenecks, consistency, failure modes) and name the trade-offs you are making.

Clarify5:30 left
Estimate5:30 planned
Design16:30 planned
Deep dive13:30 planned
Failure9:00 planned
0:00
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.