Problem 1659 · Hard
Fill the grid cell by cell, keeping a profile of the last row of cells and the counts placed so far.
Open the interactive visualisation