Solutions of leetcode problems level vise in Python 3
# | Title | Solution | Time | Space | Difficulty | Tag | Note |
---|---|---|---|---|---|---|---|
01 | Two Sum | Python | O(n) | O(1) | Easy | ||
07 | Reverse Integer | Python | O(1) | O(1) | Easy | ||
09 | Palindrome Number | Python | O(1) | O(1) | Easy | ||
13 | Roman to Integer | Python | O(1) | O(1) | Easy | ||
14 | Longest Common Prefix | Python | O(1) | O(1) | Easy | ||
20 | Valid Parantheses | Python | O(1) | O(1) | Easy | ||
21 | Merge Two Sorted Lists | Python | O(1) | O(1) | Easy | ||
26 | Remove Duplicates Form Sorted Array | Python | O(1) | O(1) | Easy | ||
26 | Remove Element | Python | O(1) | O(1) | Easy | ||
26 | Implement strStr() | Python | O(1) | O(1) | Easy | ||
26 | Search Insert Position | Python | O(1) | O(1) | Easy | ||
26 | Maximum Subarray | Python | O(1) | O(1) | Easy | ||
26 | Length of Last Word | Python | O(1) | O(1) | Easy |
# | Title | Solution | Time | Space | Difficulty | Tag | Note |
---|---|---|---|---|---|---|---|
02 | Add Two Numbers | Python | O(n) | O(1) | Medium | ||
03 | Longest Substring Without Repeating Characters | Python | O(1) | O(1) | Medium |