Official LeetCode problems with solutions
- This whole README.md file is autogenerated
- This python project fetch solved programs on leetcode website and their related data, and store them into sqlite database
- We do not need to store any program file manually or give name to it, because all those things will be done automatically
- Problem names will be grouped by related tag names and sorted by difficulty level in for each those group
- This project is not for one time run only, it will continue from where it was stopped or when all solved problems were fetched
- As you will solve new problems, it fetches those and store and update README.md file
- Just run main.py from your terminal
- You have two choice for login
a) automated login : you can give username and password to command line user prompts
b) manual login : you can directly insert username and password into website - then your work will be done
Backtracking
Binary Indexed Tree
Binary Search
Binary Search Tree
Bit Manipulation
Brainteaser
Breadth-first Search
Depth-first Search
Dequeue
Design
Divide and Conquer
Dynamic Programming
Math
Meet in the Middle
Memoization
Minimax
Random
Recursion
Rejection Sampling
Reservoir Sampling
Rolling Hash
Segment Tree
Sliding Window
Sort
Stack
String
Suffix Array
Topological Sort
Tree
Trie
Two Pointers
# | Title | Difficulty | Language | Run Time | Acceptance rate | LeetCode Link | Notes |
---|---|---|---|---|---|---|---|
17 | Letter Combinations of a Phone Number | MEDIUM | python3 | 28 ms | 50.1% | Redirect | - |
22 | Generate Parentheses | MEDIUM | python3 | 44 ms | 66.0% | Redirect | - |
10 | Regular Expression Matching | HARD | python3 | N/A | 27.5% | Redirect | - |
# | Title | Difficulty | Language | Run Time | Acceptance rate | LeetCode Link | Notes |
---|---|---|---|---|---|---|---|
292 | Nim Game | EASY | python3 | 24 ms | 55.1% | Redirect | - |
# | Title | Difficulty | Language | Run Time | Acceptance rate | LeetCode Link | Notes |
---|---|---|---|---|---|---|---|
23 | Merge k Sorted Lists | HARD | python3 | 88 ms | 43.2% | Redirect | - |
# | Title | Difficulty | Language | Run Time | Acceptance rate | LeetCode Link | Notes |
---|---|---|---|---|---|---|---|
7 | Reverse Integer | EASY | python3 | 32 ms | 26.0% | Redirect | - |
9 | Palindrome Number | EASY | python3 | 80 ms | 50.2% | Redirect | - |
13 | Roman to Integer | EASY | python3 | 52 ms | 57.1% | Redirect | - |
728 | Self Dividing Numbers | EASY | python3 | 56 ms | 75.8% | Redirect | - |
1281 | Subtract the Product and Sum of Digits of an Integer | EASY | python3 | 32 ms | 85.6% | Redirect | - |
1323 | Maximum 69 Number | EASY | python3 | 24 ms | 78.0% | Redirect | - |
1512 | Number of Good Pairs | EASY | python3 | 32 ms | 87.6% | Redirect | - |
2 | Add Two Numbers | MEDIUM | python3 | 68 ms | 35.9% | Redirect | - |
8 | String to Integer (atoi) | MEDIUM | python3 | 40 ms | 15.8% | Redirect | - |
12 | Integer to Roman | MEDIUM | python3 | 40 ms | 57.2% | Redirect | - |
# | Title | Difficulty | Language | Run Time | Acceptance rate | LeetCode Link | Notes |
---|---|---|---|---|---|---|---|
292 | Nim Game | EASY | python3 | 24 ms | 55.1% | Redirect | - |
# | Title | Difficulty | Language | Run Time | Acceptance rate | LeetCode Link | Notes |
---|---|---|---|---|---|---|---|
21 | Merge Two Sorted Lists | EASY | python3 | 40 ms | 56.6% | Redirect | - |
2 | Add Two Numbers | MEDIUM | python3 | 68 ms | 35.9% | Redirect | - |
17 | Letter Combinations of a Phone Number | MEDIUM | python3 | 28 ms | 50.1% | Redirect | - |
# | Title | Difficulty | Language | Run Time | Acceptance rate | LeetCode Link | Notes |
---|---|---|---|---|---|---|---|
75 | Sort Colors | MEDIUM | python3 | 40 ms | 50.1% | Redirect | - |
# | Title | Difficulty | Language | Run Time | Acceptance rate | LeetCode Link | Notes |
---|---|---|---|---|---|---|---|
20 | Valid Parentheses | EASY | python3 | 24 ms | 40.1% | Redirect | - |
# | Title | Difficulty | Language | Run Time | Acceptance rate | LeetCode Link | Notes |
---|---|---|---|---|---|---|---|
13 | Roman to Integer | EASY | python3 | 52 ms | 57.1% | Redirect | - |
14 | Longest Common Prefix | EASY | python3 | 28 ms | 36.3% | Redirect | - |
20 | Valid Parentheses | EASY | python3 | 24 ms | 40.1% | Redirect | - |
28 | Implement strStr() | EASY | python3 | 28 ms | 35.4% | Redirect | - |
925 | Long Pressed Name | EASY | python3 | 48 ms | 37.1% | Redirect | - |
1108 | Defanging an IP Address | EASY | python3 | 32 ms | 88.4% | Redirect | - |
3 | Longest Substring Without Repeating Characters | MEDIUM | python3 | 1888 ms | 31.6% | Redirect | - |
5 | Longest Palindromic Substring | MEDIUM | python3 | 8324 ms | 30.7% | Redirect | - |
6 | ZigZag Conversion | MEDIUM | python3 | 1128 ms | 38.4% | Redirect | - |
8 | String to Integer (atoi) | MEDIUM | python3 | 40 ms | 15.8% | Redirect | - |
12 | Integer to Roman | MEDIUM | python3 | 40 ms | 57.2% | Redirect | - |
17 | Letter Combinations of a Phone Number | MEDIUM | python3 | 28 ms | 50.1% | Redirect | - |
22 | Generate Parentheses | MEDIUM | python3 | 44 ms | 66.0% | Redirect | - |
10 | Regular Expression Matching | HARD | python3 | N/A | 27.5% | Redirect | - |