Leetcode 944: Delete Columns to Make Sorted

You are given an array of n strings strs, all of the same lengths. The strings can be arranged such that there is one on each line, making a grid. For example, strs = ["abc", "bce", "cae"] can be arranged as:

https://leetcode.com/problems/delete-columns-to-make-sorted/description/

Rate this post

Leave a Reply