Last Moment Before All Ants Fall Out of a Plank

Last Moment Before All Ants Fall Out of a Plank - Coding Problem | K5kC