AlgoMaster Logo

Car Pooling

trips=[[2,1,5],[3,3,7]],capacity=4
0 / 24
algomaster.io
Step:Start: Determine if all passengers can be picked up without exceeding capacity