Problem 2371 · Hard

Minimize Maximum Value in a Grid

Place cells from smallest to largest; each takes one more than the larger of its row and column maximum.

Open the interactive visualisation