In this repository provided my Python solutions of Ferbuary LeetCoding Challenge problems.
In this repository provided my Python solutions of Ferbuary 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 |
|---|---|---|---|
| 191. | Number of 1 Bits | Python | Easy |
| 669. | Trim a Binary Search Tree | Medium | |
| 141. | Linked List Cycle | Python | Easy |
| 594. | Longest Harmonious Subsequence | Python | Easy |
| 71. | Simplify Path | Python | Medium |
| 199. | Binary Tree Right Side View | Python | Medium |
| 821. | Shortest Distance to a Character | Python | Easy |
| № | Title | Solution | Difficulty |
|---|---|---|---|
| 284. | Peeking Iterator | Python | Medium |
| 538. | Convert BST to Greater Tree | Python | Easy |
| 138. | Copy List with Random Pointer | Python | Medium |
| 242. | Valid Anagram | Python | Easy |
| 1342. | Number of Steps to Reduce a Number to Zero | Python | Easy |
| 1091. | Shortest Path in Binary Matrix | Python | Medium |
| 785. | Is Graph Bipartite? | Python | Medium |
| № | Title | Solution | Difficulty |
|---|---|---|---|
| 1337. | The K Weakest Rows in a Matrix | Python | Easy |
| 784. | Letter Case Permutation | Medium | |
| 11. | Container With Most Water | Python | Medium |
| 413. | Arithmetic Slices | Medium | |
| 1249. | Minimum Remove to Make Valid Parentheses | Medium | |
| 13. | Roman to Integer | Python | Easy |
| 991. | Broken Calculator | Python | Medium |
| № | Title | Solution | Difficulty |
|---|---|---|---|
| 524. | Longest Word in Dictionary through Deleting | Python | Medium |
| 240. | Search a 2D Matrix II | Python | Medium |
| 856. | Score of Parentheses | Medium | |
| 581. | Shortest Unsorted Continuous Subarray | Python | Medium |
| 946. | Validate Stack Sequences | Python | Medium |
| 29. | Divide Two Integers | Python | Medium |
| 895. | Maximum Frequency Stack | Python | Hard |
The code is open-source and licensed under the MIT License.