Problem 1776 · Hard

Car Fleet II

Find when each moving car first collides with the fleet ahead of it.

Open the interactive visualisation