GitHub - ownerdotdev/leetcode-problems: Solving LeetCode problems in the best way. Python, Java, C++, JavaScript, C#, Go, Ruby, Rust, C, Kotlin, Swift, PHP, and Dart are supported! Official website👇🏻:
Repository navigation
leetcode-problemsPublic
About
Solving LeetCode problems in the best way. Python, Java, C++, JavaScript, C#, Go, Ruby, Rust, C, Kotlin, Swift, PHP, and Dart are supported! Official website👇🏻:
owner.devTopics
leetcode leetcode-cpp leetcode-csharp leetcode-go leetcode-java leetcode-javascript leetcode-problems leetcode-python leetcode-ruby leetcode-solutionsResources
Readme Activity Custom propertiesStars
299 starsWatchers
4 watchingForks
39 forks Report repositoryBranches
Tags
Go to Branches page Go to Tags page
Latest commit
History
382 Commits
View commit history for this file.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| en | en | ||
| images | images | ||
| zh | zh | ||
| .gitignore | .gitignore | ||
| README.md | README.md | ||
Repository files navigation
leetcode-python-java
Sharing the most comprehensive LeetCode solutions, fully supporting Python, Java, C++, JavaScript, C#, Go, Ruby. Some support Rust, Kotlin, Swift. For a better web experience, please visit: https://owner.dev
Array
- 26 (zh ), 27 (zh ), 49 (zh ), 59 (zh ), 75 (zh ), 88 (zh ), 106 (zh ), 108 (zh ), 117 (zh ), 119 (zh ), 169 (zh ), 209 (zh ), 238 (zh ), 303 (zh ), 344 (zh ), 349 (zh ), 443 (zh ), 605 (zh ), 654 (zh ), 704 (zh ), 977 (zh ), 1431 (zh ), 1732 (zh ), 1833 (zh ), 1840 (zh ), 2751 (zh ), 3478 (zh ), 3689 (zh ), 3691 (zh ), 3838 (zh )
Heap Sort (Priority Queue)
Matrix/Grid
Brute Force Algorithm
LeetCode 75
SQL 50
Pre-Computation Techniques
Prefix Sum
Backtracking
Binary Lifting
Binary Search
Binary Search Tree
Bit Manipulation
Cartesian Tree
Counting
Design
Divide and Conquer
Dynamic Programming
- 5 (zh ), 53 (zh ), 72 (zh ), 119 (zh ), 392 (zh ), 416 (zh ), 474 (zh ), 494 (zh ), 509 (zh ), 583 (zh ), 1049 (zh ), 3494 (zh ), 3753 (zh )
House Robber
Knapsack Problem
0/1 Knapsack Problem
Stock Maximum Profit
Unbounded Knapsack
Palindrome
Subsequence Problems
Graph Theory
A* Algorithm
Breadth-First Search
- 101 (zh ), 102 (zh ), 112 (zh ), 116 (zh ), 117 (zh ), 226 (zh ), 404 (zh ), 513 (zh ), 617 (zh ), 3558 (zh )
Depth-First Search
- 94 (zh ), 98 (zh ), 101 (zh ), 110 (zh ), 112 (zh ), 116 (zh ), 145 (zh ), 226 (zh ), 235 (zh ), 236 (zh ), 257 (zh ), 404 (zh ), 513 (zh ), 538 (zh ), 617 (zh ), 669 (zh ), 797 (zh ), 3558 (zh )
UnionFind
Greedy
Hash Table
- 1 (zh ), 15 (zh ), 49 (zh ), 106 (zh ), 169 (zh ), 202 (zh ), 242 (zh ), 349 (zh ), 383 (zh ), 454 (zh ), 1189 (zh ), 3838 (zh )
LeetCode Top 100 Liked
LeetCode Top Interview 150
- 1 (zh ), 15 (zh ), 19 (zh ), 20 (zh ), 27 (zh ), 28 (zh ), 49 (zh ), 88 (zh ), 202 (zh ), 209 (zh ), 242 (zh ), 383 (zh ), 392 (zh )
Linked List
Lowest Common Ancestor
Math
Other Algorithm
Recursion
Prim's algorithm
Queue
Shortest Path
Bellman-Ford Algorithm
Dijkstra's Algorithm
Floyd-Warshall Algorithm
Simulation
Sorting
Counting Sort
Stack
Monotonic Stack
String
- 14 (zh ), 28 (zh ), 58 (zh ), 125 (zh ), 151 (zh ), 257 (zh ), 345 (zh ), 459 (zh ), 541 (zh ), 833 (zh ), 1071 (zh ), 1189 (zh ), 1768 (zh ), 3614 (zh ), 3838 (zh )
Tree
- 94 (zh ), 98 (zh ), 101 (zh ), 102 (zh ), 106 (zh ), 108 (zh ), 110 (zh ), 112 (zh ), 116 (zh ), 117 (zh ), 145 (zh ), 222 (zh ), 226 (zh ), 235 (zh ), 236 (zh ), 257 (zh ), 404 (zh ), 450 (zh ), 513 (zh ), 538 (zh ), 617 (zh ), 654 (zh ), 669 (zh ), 700 (zh ), 701 (zh ), 3558 (zh )
Binary Tree
- 94 (zh ), 98 (zh ), 101 (zh ), 102 (zh ), 106 (zh ), 108 (zh ), 110 (zh ), 112 (zh ), 116 (zh ), 117 (zh ), 145 (zh ), 222 (zh ), 226 (zh ), 235 (zh ), 236 (zh ), 257 (zh ), 404 (zh ), 450 (zh ), 513 (zh ), 538 (zh ), 617 (zh ), 654 (zh ), 669 (zh ), 700 (zh ), 701 (zh )
Minimum Spanning Tree
Kruskal's Algorithm
Segment Tree
Two Pointers
Fast & Slow Pointers Technique
Sliding Window
left & right pointers
About
Solving LeetCode problems in the best way. Python, Java, C++, JavaScript, C#, Go, Ruby, Rust, C, Kotlin, Swift, PHP, and Dart are supported! Official website👇🏻:
owner.dev