Intervals - Car Pooling
You are given a list of trips, each with a number of passengers, a start location, and an end location. You need to determine if the car capacity is exceeded at any point during the trips. Which algorithmic pattern best fits this problem?
