Problem 1536 · Medium
Bring each row with enough trailing zeros upward by adjacent swaps, one position at a time.
Open the interactive visualisation