Skip to content

Commit 1a79253

Browse files
add time complexity
1 parent a5efe16 commit 1a79253

File tree

1 file changed

+1
-2
lines changed
  • solution/0955.Delete Columns to Make Sorted II

1 file changed

+1
-2
lines changed

solution/0955.Delete Columns to Make Sorted II/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,4 @@ class Solution {
152152
}
153153
```
154154

155-
156-
155+
解法只用到了额外的 cut boolean 数组,空间复杂度为 O(M),时间复杂度为 O(NM),其中 N 为 word 长度,M 为数组长度。

0 commit comments

Comments
 (0)