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
| Careercup |[Permutation Casewise](https://www.careercup.com/question?id=6255535581036544)|[Java](./java/PermuteCasewise.java)|_O(2^n)_|_O(1)_| Medium ||
28
+
| Leetcode |[50. Pow(x, n)](https://leetcode.com/problems/powx-n/description/)|[Java](./java/myPow.java)|_O(n)_|_O(1)_| Medium ||
29
+
| Leetcode |[137. Single Number II](https://leetcode.com/problems/single-number-ii/description/)|[Java](./java/singleNumberii.java)|_O(n)_|_O(1)_| Medium ||
| Leetcode |[191. Number of 1 Bits](https://leetcode.com/problems/number-of-1-bits/description/)|[Java](./java/hammingWeight.java)|_O(n)_|_O(1)_| Easy ||
30
32
| Leetcode |[260. Single Number III](https://leetcode.com/problems/single-number-iii/description/)|[Java](./java/singleNumber.java)|_O(n)_|_O(1)_| Medium ||
@@ -64,6 +66,7 @@ Feel free to submit pull requests, add issues and be a contributer.
64
66
## Strings
65
67
| Website | Title | Solution | Time | Space | Difficulty | Note|
| Leetcode |[139. Word Break](https://leetcode.com/problems/word-break/description/)|[Java](./java/wordBreak.java)|_O(n^2)_|_O(n)_| Medium ||
69
72
| Leetcode |[151. Reverse Words in a String](https://leetcode.com/problems/reverse-words-in-a-string/description/)|[Java](./java/reverseWords1.java)|_O(n)_|_O(1)_| Easy ||
@@ -120,6 +123,7 @@ Feel free to submit pull requests, add issues and be a contributer.
| Leetcode |[285. Inorder Successor in BST](https://leetcode.com/problems/inorder-successor-in-bst/description/)|[Java](./java/inorderSuccessor.java)| O(h) | O(1) | Medium ||
124
128
| Leetcode |[298. Binary Tree Longest Consecutive Sequence](https://leetcode.com/problems/binary-tree-longest-consecutive-sequence/description/)|[Java](./java/longestConsecutive.java)| O(n) | O(n) | Medium ||
125
129
| Leetcode |[314. Binary Tree Vertical Order Traversal](https://leetcode.com/problems/binary-tree-vertical-order-traversal/description/)|[Java](./java/verticalOrder.java)| O(n) | O(n) | Medium ||
@@ -178,6 +182,7 @@ Feel free to submit pull requests, add issues and be a contributer.
| Leetcode |[155. Min Stack](https://leetcode.com/problems/min-stack/description/)|[Java](./java/MinStack.java)|_O(n)_|_O(1)_| Easy ||
180
184
| Leetcode |[232. Implement Queue using Stacks](https://leetcode.com/problems/implement-queue-using-stacks/description/)|[Java](./java/QueueUsingStacks.java)|_O(n)_|_O(n)_| Easy ||
185
+
| Leetcode |[388. Longest Absolute File Path](https://leetcode.com/problems/longest-absolute-file-path/description/)|[Java](./java/lengthLongestPath.java)|_O(n)_|_O(n)_| Medium ||
181
186
| Leetcode |[496. Next Greater Element I](https://leetcode.com/problems/next-greater-element-i/description/)|[Java](./java/nextGreaterElement.java)|_O(mn)_|_O(m+n)_| Easy ||
182
187
| Leetcode |[503. Next Greater Element II](https://leetcode.com/problems/next-greater-element-ii/description/)|[Java](./java/nextGreaterElements.java)|_O(n)_|_O(n)_| Medium ||
183
188
@@ -208,6 +213,7 @@ Feel free to submit pull requests, add issues and be a contributer.
208
213
## TwoPointers
209
214
| Website | Title | Solution | Time | Space | Difficulty | Note|
| Leetcode |[11. Container With Most Water](https://leetcode.com/problems/container-with-most-water/description/)|[Java](./java/maxArea.java)|_O(n)_|_O(1)_| Medium ||
211
217
| Leetcode |[209. Minimum Size Subarray Sum](https://leetcode.com/problems/minimum-size-subarray-sum/description/)|[Java](./java/minSubArrayLen.java)|_O(n)_|_O(1)_| Medium ||
212
218
| Leetcode |[259. 3Sum Smaller](https://leetcode.com/problems/3sum-smaller/description/)|[Java](./java/threeSumSmaller.java)|_O(n)_|_O(1)_| Medium ||
213
219
| Leetcode |[360. Sort Transformed Array](https://leetcode.com/problems/sort-transformed-array/description/)|[Java](./java/sortTransformedArray.java)|_O(n)_|_O(1)_| Medium ||
0 commit comments