This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingCheck whether a car of fixed capacity can serve every trip without ever overfilling.
What this asks
Check whether a car of fixed capacity can serve every trip without ever overfilling.
Sort pickup and drop-off events by location and sweep, checking the running count against capacity.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing