Medium
Cars head to a destination at target. Car i starts at position[i] with constant speed[i]; a faster car catches up to a slower one ahead and then travels as a fleet at the slower speed. Return the number of car fleets that arrive.
Input: target = 12, position = [10,8,0,5,3], speed = [2,4,1,1,3] Output: 3
Input: target = 10, position = [3], speed = [3] Output: 1