Problem 3402 · Easy

Minimum Operations to Make Columns Strictly Increasing

Work down each column and raise every cell to exactly one more than the cell above when it is not already larger.

Open the interactive visualisation