Problem 1503 · Medium

Last Moment Before All Ants Fall Out of a Plank

Find the latest time any ant reaches an end of the plank by considering the farthest distance from either side. The visual animates ants walking and falling off.

Open the interactive visualisation