My LeetCode solutions.
# | Problem | Difficulty | Solution |
---|---|---|---|
1 | Two Sum | Easy | Python |
7 | Reverse Integer | Easy | Python |
26 | Remove Duplicates from Sorted Array | Easy | Python |
36 | Valid Sudoku | Medium | Python |
48 | Rotate Image | Medium | Python |
53 | Maximum Subarray | Easy | Python | JavaScript |
66 | Plus One | Easy | Python |
122 | Best Time to Buy and Sell Stock II | Easy | Python | JavaScript |
125 | Valid Palindrome | Easy | Python |
136 | Single Number | Easy | Python | JavaScript |
189 | Rotate Array | Easy | Python |
202 | Happy Number | Easy | Python | JavaScript |
217 | Contains Duplicate | Easy | Python |
242 | Valid Anagram | Easy | Python |
283 | Move Zeroes | Easy | Python | JavaScript |
344 | Reverse String | Easy | Python |
350 | Intersection of Two Arrays II | Easy | Python |
387 | First Unique Character in a String | Easy | Python |
442 | Find All Duplicates in an Array | Medium | Python |
1380 | Lucky Numbers in a Matrix | Easy | Python |
1381 | Design a Stack With Increment Operation | Medium | Python |
1382 | Balance a Binary Search Tree | Medium | Python |