LeetCode MEDIUM 1094 Car Pooling Summary
Generated by Codex with GPT-5
Quick facts
- Difficulty:
MEDIUM - Problem: Car Pooling
- Topics:
Array,Sorting,Heap (Priority Queue),Simulation,Prefix Sum
What the problem is really asking
A car has a fixed number of seats and only travels east. Each trip is described as [passengers, pickup, dropoff]: the passengers enter at pickup and leave at dropoff.