# | Title | Solution | Difficulty | Tags |
---|---|---|---|---|
1 | Two Sum | Python | Easy | Array, Hash Map |
2 | Add Two Numbers | Python | Medium | Linked List |
3 | Longest Unique Substring | Python | Medium | String, Sliding Window, HashSet |
4 | Median Of two Sorted Array | Python | Hard | Binary Search, Divide and Conquer, Array |
5 | Longest Palindromic Substring | Python | Medium | Dynamic Programming, String |
6 | Zigzag Conversion | Python | Medium | String, Simulation |
7 | Reverse Integer | Python | Medium | Math, Integer Manipulation |
8 | String to Integer | Python | Medium | String, Parsing |
9 | Palindrome Number | Python | Easy | Math |
10 | Regular Expression Matching | Python | Hard | Dynamic Programming, Recursion |
11 | Container with Most Water | Python | Medium | Two Pointers, Greedy |
12 | Integer to Roman | Python | Medium | Math, String |
13 | Roman to Integer | Python | Easy | Hash Table, Math |
14 | Longest Common Prefix | Python | Easy | String, Trie |
15 | 3 Sum | Python | Medium | Array, Two Pointers |
16 | 3 Sum Closet | Python | Medium | Array, Two Pointers |
17 | Letter Combination of Phone Number | Python | Medium | Hash Table, Backtrack |
18 | 4 Sum | Python | Medium | Array, Two Pointer |
19 | Remove Nth Node from List | Python | Medium | Linked List, Two Pointer |
20 | Valid Parentheses | Python | Easy | String, Stack |
21 | Merge Two Sorted Lists | Python | Easy | Linked List, Recursion |
22 | Generate Parentheses | Python | Medium | String, Dynamic Programming |
23 | Merge K Sorted Lists | Python | Hard | Linked List, Divide and Conquer |
24 | Swap Nodes in Pairs | Python | Medium | Linked List, Recursion |
25 | Reverse Nodes in K Group | Python | Hard | Linked List, Recursion |
26 | Remove Duplicates from Sorted Array | Python | Easy | Array, Two Pointer |
27 | Remove Element | Python | Easy | Array, Two Pointer |
28 | Find Index of First Occurrence in String | Python | Easy | Two Pointer , String |
29 | Divide Two Integers | Python | Medium | Math , Bit Manipulation |
30 | Substring With concatenation of All Words | Python | Hard | Hash Table, String |
31 | Next Permutation | Python | Medium | Array, Two Pointer |
32 | Longest Valid Parentheses | Python | Hard | String, Dynamic Programming |
33 | Search in Rotated Sorted Array | Python | Medium | Array, Binary Search |
34 | Find First and Last Position of Element in Sorted Array | Python | Medium | Array, Binary Search |
35 | Search Insert Position | Python | Easy | Array, Binary Search |
36 | Valid Sudoku | Python | Medium | Array, Hash Table |
37 | Sudoku Solver | Python | Hard | Array, Hash Table |
38 | Count and Say | Python | Medium | String |
39 | Combination Sum | Python | Medium | Array, Backtracking |
40 | Combination Sum 2 | Python | Medium | Array, Backtracking |
41 | First Missing Positive | Python | Hard | Array, Hash Table |
42 | Trapping Rain Water | Python | Hard | Array, Two Pointer |
43 | Multiply String | Python | Medium | Math, String |
44 | Wildcard Matching | Python | Hard | String, Dynamic Programming |
45 | Jump Game 2 | Python | Medium | Array, Dynamic Programming |
46 | Permutations | Python | Medium | Array, Backtracking |
47 | Permutations 2 | Python | Medium | Array, Backtracking |
48 | Rotate Image | Python | Medium | Array, Math |
49 | Group Anagrams | Python | Medium | Array, String |
50 | Pow(x,n) | Python | Medium | Recurrsion, Math |
51 | N Queens | Python | Hard | Array, Backtracking |
52 | N Queens 2 | Python | Hard | Array, Backtracking |
53 | Maximum Subarray | Python | Medium | Array, Divide and Conquer |
54 | Spiral Matrix | Python | Medium | Array, Matrix |
55 | Jump Game | Python | Medium | Array, Dynamic Programming |
56 | Merge Intervals | Python | Medium | Array, Sorting |
57 | Insert Interval | Python | Medium | Array, Sorting |
58 | Length of Last Word | Python | Easy | String |
59 | Spiral Matrix 2 | Python | Medium | Array, Matrix |
60 | Permutation Sequence | Python | Hard | Math, Recursion |
61 | Rotate List | Python | Medium | Linked List, Two Pointer |
62 | Unique Paths | Python | Medium | Math, Dynamic Programming |
63 | Unique Paths 2 | Python | Medium | Math, Dynamic Programming |
64 | Minimum Path Sum | Python | Medium | Array, Dynamic Programming |
65 | Valid Number | Python | Hard | String |
66 | Plus One | Python | Easy | Array, Math |
67 | Add Binary | Python | Easy | String, Math |
68 | Text Justification | Python | Hard | String, Array |
69 | Sqrt(x) | Python | Easy | Math, Binary Search |
70 | Climbing Stairs | Python | Easy | Math, Dynamic Programming |
71 | Simplify Path | Python | Medium | String, Stack |
72 | Edit Distance | Python | Medium | String, Dynamic Programming |
73 | Set Zeroes | Python | Medium | Array, Matrix |
74 | Search 2D Matrix | Python | Medium | Array, Matrix |
75 | Sort Colors | Python | Medium | Array, Sorting |
76 | Minimum Window Substring | Python | Hard | String, Sliding Window |
77 | Combinations | Python | Medium | Backtracking |
78 | Subsets | Python | Medium | Array, Backtracking |
79 | Word Search | Python | Medium | Array, String |
80 | Remove Duplicates from Sorted Array 2 | Python | Medium | Array, Two Pointer |
81 | Search in Rotate Sorted Array 2 | Python | Medium | Array, Binary Search |
82 | Remove Duplicates from Sorted List 2 | Python | Medium | Linked List, Two Pointer |
83 | Remove Duplicates from Sorted List | Python | Easy | Linked List |
84 | Largest Rectangle in Histogram | Python | Hard | Array, Stack |
85 | Maximal Rectangle | Python | Hard | Dynamic Programming, Stack |
86 | Partition List | Python | Medium | Linked List, Two Pointer |
87 | Scramble String | Python | Hard | String, Dynamic Programming |
88 | Merge Sorted Array | Python | Easy | Array, Sorting |
89 | Gray Code | Python | Medium | Math, Backtracking |
90 | Subsets 2 | Python | Medium | Array, Backtracking |
91 | Decode Ways | Python | Medium | String, Dynamic Programming |
92 | Reverse Linked List 2 | Python | Medium | Linked List, Dynamic Programming |
93 | Restore IP Addresses | Python | Medium | String, Backtracking |
94 | Binary Tree Inorder Traversal | Python | Easy | Stack, Tree |
95 | Unique Binary Search Trees II | Python | Easy | Dynamic Programming, Backtracking |
96 | Unique Binary Search Trees | Python | Medium | Dynamic Programming, Math |
97 | Interleaving String | Python | Medium | Dynamic Programming, String |
98 | Validate Binary Search Tree | Python | Medium | Tree, DFS |
99 | Recover Binary Search Tree | Python | Medium | Tree, DFS |
100 | Same Tree | Python | Easy | Tree, DFS |
101 | Symmetric Tree | Python | Easy | Tree, DFS |
102 | Binary Tree Level Order Traversal | Python | Medium | Tree, BFS |
-
Notifications
You must be signed in to change notification settings - Fork 0
rehman724/leetcode-solutions
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published