Array
960. Delete Columns to Make Sorted III
The third variant: delete columns so that in every row, the remaining characters read left to right in non-decreasing order. Minimise deletions. Equivalently, maximise the columns you keep — and the…
Loading…