Tallest Tower
Hard · Algorithms
Towers of balls stand on row 2, one per column (some columns have no tower). Find the tallest tower and put a ball on the bottom row, right under it.
There is always exactly one tallest tower. Your code runs in several worlds, so measure every tower and remember the best one in variables.
Next: All in One Pile