You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[Leetcode-2529. Maximum Count Of Positive Integer And Negative Integer](https://leetcode.com/problems/maximum-count-of-positive-integer-and-negative-integer/description/)|[c++](./leetcode/2529.maximum-count-of-positive-integer-and-negative-integer.cpp), [python](./leetcode/2529.maximum-count-of-positive-integer-and-negative-integer.py)| O\(logN\)| O\(1\)| std::lower\_bound | - |
92
87
93
88
## Two Pointers
89
+
| Problem | Solution | Time | Space | Note | Ref |
90
+
| ----- | ----- | ----- | ----- | ----- | ----- |
91
+
|[Leetcode-658. Find K Closest Elements](https://leetcode.com/problems/find-k-closest-elements/description/)|[c++](./leetcode/658.find-k-closest-elements.cpp), [python](./leetcode/658.find-k-closest-elements.py)| O\(Log\(N \- K\)\)| O\(1\)| Range | - |
92
+
94
93
## Greedy
94
+
| Problem | Solution | Time | Space | Note | Ref |
95
+
| ----- | ----- | ----- | ----- | ----- | ----- |
96
+
|[Leetcode-3048. Earliest Second To Mark Indices I](https://leetcode.com/problems/earliest-second-to-mark-indices-i/description/)|[c++](./leetcode/3048.earliest-second-to-mark-indices-i.cpp), [python](./leetcode/3048.earliest-second-to-mark-indices-i.py)| O\(M\*logM\)| O\(M\)|\-| - |
97
+
95
98
## Dynamic Programming
96
99
| Problem | Solution | Time | Space | Note | Ref |
|[Leetcode-1575. Count All Possible Routes](https://leetcode.com/problems/count-all-possible-routes/description/)|[c++](./leetcode/1575.count-all-possible-routes.cpp), [python](./leetcode/1575.count-all-possible-routes.py)|\-|\-|\-| - |
100
103
|[Leetcode-375. Guess Number Higher Or Lower II](https://leetcode.com/problems/guess-number-higher-or-lower-ii/description/)|[c++](./leetcode/375.guess-number-higher-or-lower-ii.cpp), [python](./leetcode/375.guess-number-higher-or-lower-ii.py)| O\(N^3\)| O\(N^2\)| DP\(Index\)| - |
101
104
|[Leetcode-322. Coin Change](https://leetcode.com/problems/coin-change/description/)|[c++](./leetcode/322.coin-change.cpp), [python](./leetcode/322.coin-change.py)| O\(K \* N\)| O\(N\)| Index |[Video](https://youtu.be/EjMjlFjLRiM)|
|[Leetcode-236. Lowest Common Ancestor Of A Binary Tree](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/description/)|[c++](./leetcode/236.lowest-common-ancestor-of-a-binary-tree.cpp), [python](./leetcode/236.lowest-common-ancestor-of-a-binary-tree.py)| O\(N\)| O\(Height\)| Recursion | - |
|[Lintcode-11. Search Range In Binary Search Tree](https://www.lintcode.com/problem/search-range-in-binary-search-tree)|[c++](./lintcode/11.search-range-in-binary-search-tree.cpp), [python](./lintcode/11.search-range-in-binary-search-tree.py)| O\(N\)| O\(Height\)| InOrder | - |
140
154
|[Leetcode-701. Insert Into A Binary Search Tree](https://leetcode.com/problems/insert-into-a-binary-search-tree/description/)|[c++](./leetcode/701.insert-into-a-binary-search-tree.cpp), [python](./leetcode/701.insert-into-a-binary-search-tree.py)| O\(Height\)| O\(Height\)| Insert | - |
141
155
|[Lintcode-448. Inorder Successor In Bst](https://www.lintcode.com/problem/inorder-successor-in-bst)|[c++](./lintcode/448.inorder-successor-in-bst.cpp), [python](./lintcode/448.inorder-successor-in-bst.py)| O\(Height\)| O\(1\)| Successor \| Leetcode\-285 | - |
142
156
143
157
## Union Find
144
158
## Trie
145
159
## Linked List
146
-
## String
147
160
| Problem | Solution | Time | Space | Note | Ref |
148
161
| ----- | ----- | ----- | ----- | ----- | ----- |
149
-
|[Leetcode-1249. Minimum Remove To Make Valid Parentheses](https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/description/)|[c++](./leetcode/1249.minimum-remove-to-make-valid-parentheses.cpp), [python](./leetcode/1249.minimum-remove-to-make-valid-parentheses.py)| O\(N\)| O\(N\)|\-| - |
|[Leetcode-1249. Minimum Remove To Make Valid Parentheses](https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/description/)|[c++](./leetcode/1249.minimum-remove-to-make-valid-parentheses.cpp), [python](./leetcode/1249.minimum-remove-to-make-valid-parentheses.py)| O\(N\)| O\(N\)|\-| - |
155
170
|[Leetcode-2210. Count Hills And Valleys In An Array](https://leetcode.com/problems/count-hills-and-valleys-in-an-array/description/)|[c++](./leetcode/2210.count-hills-and-valleys-in-an-array.cpp), [python](./leetcode/2210.count-hills-and-valleys-in-an-array.py)| O\(N\)| O\(1\)|\-| - |
0 commit comments