Maximum Strictly Increasing Cells in a Matrix
Process cells from smallest to largest value, keeping the best path length seen in each row and column.
Process cells from smallest to largest value, keeping the best path length seen in each row and column.