Practice Problem

Car Fleet

Difficulty: Medium

Given positions and speeds of cars heading toward a target, determine how many car fleets will arrive at the destination.