Problem 755 · Medium

Pour Water

Drop water units at an index; each unit flows to the lowest reachable spot, preferring the left.

Open the interactive visualisation