Problem 1706 · Medium

Where Will the Ball Fall

Drop a ball into each top column of a grid of deflecting boards and report the exit column or minus one if it gets trapped. The visual traces the ball's path through the grid.

Open the interactive visualisation