1094. Car Pooling
Problem Statement
Input: trips = [[2,1,5],[3,3,7]], capacity = 4
Output: falseInput: trips = [[2,1,5],[3,3,7]], capacity = 5
Output: trueIntuition
Links
Video Links
Approach 1:
Approach 2:
Approach 3:
Approach 4:
Similar Problems
Last updated