python solutions for leetcode problems.
# | Title | Solution | Difficulty |
---|---|---|---|
1 | Two sum | python | easy |
2 | Add two numbers | python | easy |
3 | Longest substring withouth repeating characters | python | medium |
4 | Median of two sorted arrays | python | hard |
5 | Longest Palindromic Substring | python | medium |
6 | ZigZag Conversion | python | medium |
7 | Reverse Integer | python | medium |
8 | String to Integer (atoi) | python | medium |
11 | Container With Most Water | python | medium |
13 | Roman to Integer | python | easy |
14 | Longest Common Prefix | python | easy |
15 | 3Sum | python | medium |
19 | Remove nth node from end of list | python | medium |
24 | Swap nodes pairs | python | medium |
34 | Find First and Last Position of Element in Sorted Array | python | medium |
46 | Permutation | python | medium |
61 | Rotate list | python | medium |
81 | Search in rotated sorted array II | python | medium |
83 | Remove duplicates from sorted list | python | easy |
88 | Merge sorted array | python | easy |
142 | Linked list cycle II | python | medium |
167 | Two sum II | python | easy |
206 | Reverse Linked list | python | easy |
237 | Delete node in a linked list | python | easy |
334 | Increasing triplet subsequence | python | medium |
417 | Pacific Atlantic Water Flow | python | medium |
547 | Number of Provinces | python | medium |
695 | Max Area of Island | python | medium |
822 | Card flipping game | python | medium |
923 | 3Sum With Multiplicity | python | medium |
1022 | Sum of Root To Leaf Binary Numbers | python | easy |