In this repository provided my Python solutions of December LeetCoding Challenge problems.
In this repository provided my Python solutions of December LeetCoding Challenge problems.
- I highly recommend you to try and solve problems yourself before look at the solutions here.
- Solutions and approaches may be not optimal.
- All Solutions here are in Python 3.
None
№ | Title | Solution | Difficulty |
---|---|---|---|
104. | Maximum Depth of Binary Tree | Python | Easy |
382. | Linked List Random Node | Python | Medium |
897. | Increasing Order Search Tree | Python | Easy |
1492. | The kth Factor of n | Python | Medium |
605. | Can Place Flowers | Python | Easy |
117. | Populating Next Right Pointers in Each Node II | Python | Medium |
59. | Spiral Matrix II | Python | Medium |
№ | Title | Solution | Difficulty |
---|---|---|---|
1010. | Pairs of Songs With Total Durations Divisible by 60 | Python | Medium |
173. | Binary Search Tree Iterator | Python | Medium |
941. | Valid Mountain Array | Python | Easy |
80. | Remove Duplicates from Sorted Array II | Python | Medium |
865. | Smallest Subtree with all the Deepest Nodes | Python | Medium |
312. | Burst Balloons | Hard | |
131. | Palindrome Partitioning | Medium |
№ | Title | Solution | Difficulty |
---|---|---|---|
977. | Squares of a Sorted Array | Python | Easy |
98. | Validate Binary Search Tree | Python | Medium |
454. | 4Sum II | Python | Medium |
334. | Increasing Triplet Subsequence | Python | Medium |
1463. | Cherry Pickup II | Python | Hard |
880. | Decoded String at Index | Python | Medium |
910. | Smallest Range II | Python | Medium |
№ | Title | Solution | Difficulty |
---|---|---|---|
110. | Balanced Binary Tree | Python | Easy |
556. | Next Greater Element III | Python | Medium |
24. | Swap Nodes in Pairs | Python | Medium |
498. | Diagonal Traverse | Python | Medium |
91. | Decode Ways | Medium | |
1345. | Jump Game IV | Python | Hard |
754. | Reach a Number | Python | Medium |
№ | Title | Solution | Difficulty |
---|---|---|---|
1457. | Pseudo-Palindromic Paths in a Binary Tree | Python | Medium |
289. | Game of Life | Python | Medium |
84. | Largest Rectangle in Histogram | Medium |
The code is open-source and licensed under the MIT License.