Leetcode 1094. Car Pooling
Posted on Sat 12 November 2022 in Leetcode • Tagged with interval-overlap
Question Link : https://leetcode.com/problems/car-pooling/
Difficulty: Medium
Question
There is a car with capacity empty seats. The vehicle only drives east (i.e., it cannot turn around and drive west). You are given the integer capacity and an array trips where trips[i] = [numPassengersi, fromi, toi] indicates that …
Continue reading