Search
⌘K
Get Premium
Leetcode 944. Delete Columns to Make Sorted
Given an array of equal-length strings forming a grid, count how many column indices contain characters that are not sorted lexicographically from top to bottom (those columns must be deleted) and return that count.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.