04.06 · Problem
Car Fleet
This problem is part of solulu Pro
n cars drive along a one-lane road towards target. Car i starts at position[i] (all distinct) with speed speed[i]. A car can't pass the car ahead; if it catches up, it slows down and they travel together as a fleet (at…
Lifetime ₹1,999 ₹999 · Launch offer
Item 26 of 150 · updated 2026-10-12