Problem 3033 · Easy
Replace each -1 with the largest value in its column, found by scanning the column once.
Open the interactive visualisation