yuzhoujr / Leetcode
👏🏻 leetcode solutions for Humans™
Stars: ✭ 1,129
Programming Languages
python
139335 projects - #7 most used programming language
Labels
Projects that are alternatives of or similar to Leetcode
Interviews
Everything you need to know to get the job.
Stars: ✭ 54,875 (+4760.5%)
Mutual labels: algorithm, algorithms, interview, interview-questions, leetcode, interview-preparation, interview-practice, leetcode-solutions, algorithm-challenges, algorithm-competitions
Leetcode Sol Res
Clean, Understandable Solutions and Resources for LeetCode Online Judge Algorithm Problems.
Stars: ✭ 1,647 (+45.88%)
Mutual labels: algorithm, algorithms, interview, interview-questions, leetcode, interview-preparation, interview-practice
Codinginterviews
This repository contains coding interviews that I have encountered in company interviews
Stars: ✭ 2,881 (+155.18%)
Mutual labels: algorithm, algorithms, interview, interview-questions, interview-preparation, interview-practice, algorithm-challenges
Algorithmic-Problem-Solving
Solutions of algorithmic type of programming problems from sites like LeetCode.com, HackerRank.com, LeetCode.com, Codility.com, CodeForces.com, etc. using Java.
Stars: ✭ 20 (-98.23%)
Mutual labels: leetcode, interview, interview-practice, algorithm-competitions, interview-questions, algorithm-challenges, interview-preparation
Leetcode Python
LeetCode solutions in Python2. LeetCode题解 in Python2。
Stars: ✭ 182 (-83.88%)
Mutual labels: algorithms, interview-questions, leetcode, interview-preparation, interview-practice, leetcode-solutions, algorithm-challenges
Algorithms Leetcode Javascript
Algorithms resolution in Javascript. Leetcode - Geeksforgeeks - Careercup
Stars: ✭ 157 (-86.09%)
Mutual labels: algorithms, interview, interview-questions, leetcode, interview-preparation, leetcode-solutions
Interview Questions
List of all the Interview questions practiced from online resources and books
Stars: ✭ 187 (-83.44%)
Mutual labels: algorithm, interview, interview-questions, interview-preparation, interview-practice, algorithm-challenges
Algorithms And Data Structures In Java
Algorithms and Data Structures in Java
Stars: ✭ 498 (-55.89%)
Mutual labels: algorithm, algorithms, interview, leetcode, interview-preparation, interview-practice
Interview
📚 C/C++ 技术面试基础知识总结,包括语言、程序库、数据结构、算法、系统、网络、链接装载库等知识及面试经验、招聘、内推等信息。This repository is a summary of the basic knowledge of recruiting job seekers and beginners in the direction of C/C++ technology, including language, program library, data structure, algorithm, system, network, link loading library, interview experience, recruitment, recommendatio…
Stars: ✭ 21,608 (+1813.91%)
Mutual labels: algorithm, interview, interview-questions, leetcode, interview-preparation, interview-practice
Leetcode In Swift
My solutions to LeetCode problems written in Swift
Stars: ✭ 150 (-86.71%)
Mutual labels: algorithms, interview, interview-questions, leetcode, interview-preparation, leetcode-solutions
Leetcode Solutions
🏋️ Python / Modern C++ Solutions of All 2111 LeetCode Problems (Weekly Update)
Stars: ✭ 2,787 (+146.86%)
Mutual labels: algorithm, interview-questions, leetcode, interview-preparation, interview-practice, leetcode-solutions
Interviewguide
《大厂面试指北》——包括Java基础、JVM、数据库、mysql、redis、计算机网络、算法、数据结构、操作系统、设计模式、系统设计、框架原理。最佳阅读地址:http://notfound9.github.io/interviewGuide/
Stars: ✭ 3,117 (+176.09%)
Mutual labels: algorithms, interview, interview-questions, leetcode, interview-preparation, interview-practice
Leetcode Go
✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% / LeetCode 题解
Stars: ✭ 22,440 (+1887.6%)
Mutual labels: algorithm, algorithms, interview-questions, leetcode, leetcode-solutions, algorithm-competitions
Coderchef Kitchen
The official repository for our programming kitchen which consists of 50+ delicious programming recipes having all the interesting ingredients ranging from dynamic programming, graph theory, linked lists and much more. All the articles contain beautiful images and some gif/video at times to help clear important concepts.
Stars: ✭ 306 (-72.9%)
Mutual labels: algorithm, interview, interview-questions, leetcode, interview-preparation, interview-practice
Interviewroom
Contains all important data structure and algorithms problems asked in interviews
Stars: ✭ 207 (-81.67%)
Mutual labels: algorithm, interview, interview-questions, leetcode, interview-preparation
Awesome Algorithm Books
📚 awesome algorithm books I've collected 【不定期更新】 搜集整理的算法书籍(经典算法、ML/DL算法、面试算法、比赛算法等)
Stars: ✭ 245 (-78.3%)
Mutual labels: algorithm, algorithms, interview, algorithm-challenges, algorithm-competitions
Tech Interview Handbook
💯 Curated interview preparation materials for busy engineers
Stars: ✭ 64,851 (+5644.11%)
Mutual labels: algorithm, algorithms, interview-questions, interview-preparation, interview-practice
Algorithms and data structures
180+ Algorithm & Data Structure Problems using C++
Stars: ✭ 4,667 (+313.37%)
Mutual labels: algorithm, interview-questions, leetcode, interview-practice, leetcode-solutions
How To Prepare For Google Interview Swe Sre
This repository includes resources which are more than sufficient to prepare for google interview if you are applying for a software engineer position or a site reliability engineer position
Stars: ✭ 251 (-77.77%)
Mutual labels: google, algorithms, interview, interview-questions, interview-preparation
Interview Techdev Guide
This repository contains curated technical interview questions by fn+geeks community
Stars: ✭ 252 (-77.68%)
Mutual labels: google, algorithms, interview, interview-questions, interview-preparation
公瑾现在提供以下服务哟! http://yuzhoujr.com/legacy/dummynode.pdf
Mock Interview 经验 + 反馈
Journey
Array Easy
# | Title | Solution | Time | Space | Video |
---|---|---|---|---|---|
624 | Maximum Distance in Arrays | Python | O(n) | O(1) |
Array Medium
# | Title | Solution | Time | Space | Video |
---|---|---|---|---|---|
3 | Longest Substring Without Repeating Characters | Python | O(n) | O(n) | |
463 | Island Perimeter | Python | O(n^2) | O(1) |
Hash Table Easy
# | Title | Solution | Time | Space | Video |
---|---|---|---|---|---|
1 | Two Sum | Python | O(n) | O(n) | 📺 |
242 | Valid Anagram | Python | O(n) | O(n) |
Linked List Easy
# | Title | Solution | Time | Space | Video |
---|---|---|---|---|---|
21 | Merge Two Sorted Lists | Python | O(n) | O(n) | |
89 | Partition List | Python | O(n) | O(n) | |
141 | Linked List Cycle | Python | O(n) | O(1) | |
160 | Intersection of Two Linked Lists | Python | O(n) | O(1) | |
203 | Remove Linked List Elements | Python | O(n) | O(1) | |
206 | Reverse Linked List | Python | O(n) | O(1) | |
234 | Palindrome Linked List | Python | O(n) | O(1) | |
83 | Remove Duplicates from Sorted List | Python | O(n) | O(1) |
LinkedList Medium
# | Title | Solution | Time | Space | Video |
---|---|---|---|---|---|
2 | Add Two Numbers | Python | O(n) | O(n) | |
445 | Add Two Numbers II | Python | O(n) | O(n) | |
142 | Linked List Cycle II | Python | O(n) | O(1) | 📺 |
328 | Odd Even Linked List | Python | O(n) | O(1) | |
143 | Reorder List | Python | O(n) | O(1) | |
24 | Swap Nodes in Pairs | Python | O(n) | O(1) | |
148 | Sort List | Python | O(nlogn) | O(1) | |
61 | Rotate List | Python | O(n) | O(1) | |
19 | Remove Nth Node From End of List | Python | O(n) | O(1) | 📺 |
138 | Copy List with Random Pointer | Python | O(n) | O(n) |
Stacks Easy
# | Title | Solution | Time | Space | Video |
---|---|---|---|---|---|
155 | Min Stack | Python | O(1) | O(n) | |
225 | Implement Stack using Queues | Python | push/pop: O(1) top:O(n) | O(n) | |
20 | Valid Parentheses | Python | O(n) | O(n) | |
346 | Moving Average from Data Stream | Python | O(1) | O(n) |
Tree Easy
# | Title | Solution | Time | Space | Video |
---|---|---|---|---|---|
110 | Balanced Binary Tree | Python | O(N) | O(h) | |
107 | Binary Tree Level Order Traversal II | Python | O(N) | O(h) | |
112 | Path Sum | Python | O(N) | O(h) | 📺 |
100 | Same Tree | Python | O(N) | O(1) | |
101 | Symmetric Tree | Python | O(N) | O(1) | 📺 |
104 | Maximum Depth of Binary Tree | Python | O(N) | O(1) | |
108 | Convert Sorted Array to Binary Search Tree | Python | O(N) | O(N) | 📺 |
111 | Minimum Depth of Binary Tree | Python | O(N) | O(1) | |
235 | Lowest Common Ancestor of a Binary Search Tree | Python | O(N) | O(1) | |
226 | Invert Binary Tree | Python | O(N) | O(1) | 📺 |
543 | Diameter of Binary Tree | Python | O(N) | O(h) | 📺 |
501 | Find Mode in Binary Search Tree | Python | O(N) | O(N) | 📺 |
257 | Binary Tree Paths | Python | O(N) | O(N) | 📺 |
572 | Subtree of Another Tree | Python | O(S*T) | O(1) | 📺 |
437 | Path Sum III | Python | O(N^2) | O(1) | |
404 | Sum of Left Leaves | Python | O(N) | O(1) | 📺 |
270 | Closest Binary Search Tree Value | Python | O(N) | O(1) | 📺 |
563 | Binary Tree Tilt | Python | O(N) | O(1) | 📺 |
538 | Convert BST to Greater Tree | Python | O(N) | O(1) | 📺 |
637 | Average of Levels in Binary Tree | Python | O(N) | O(1) |
Tree Medium
# | Title | Solution | Time | Space | Video |
---|---|---|---|---|---|
144 | Binary Tree Preorder Traversal | Python | O(N) | O(N) | 📺 |
102 | Binary Tree Level Order Traversal | Python | O(N) | O(N) | 📺 |
107 | Binary Tree Level Order Traversal II | Python | O(N) | O(N) | |
515 | Find Largest Value in Each Tree Row | Python | O(N) | O(1) | |
236 | Lowest Common Ancestor of a Binary Tree | Python | O(N) | O(1) | 📺 |
199 | Binary Tree Right Side View | Python | O(N) | O(N) | 📺 |
114 | Flatten Binary Tree to Linked List | Python | O(N) | O(1) | 📺 |
230 | Kth Smallest Element in a BST | Python | O(N) | O(1) | 📺 |
582 | Kill Process | Python | O(N) | O(N) | 📺 |
Backtrack Medium
# | Title | Solution | Time | Space | Video |
---|---|---|---|---|---|
78 | Subsets | Python | O(N*(2^N)) | O(2^N) | 📺 |
90 | Subsets II | Python | O(N*(2^N)) | O(2^N) | 📺 |
46 | Permutations | Python | O(N*(N!)) | O(N!) | 📺 |
47 | Permutations II | Python | O(N*(N!)) | O(N!) | 📺 |
60 | Permutation Sequence | Python | O(N * (N!) | O(N) | |
77 | Combinations | Python | O(N*(N!)) | O(N!) | |
39 | Combination Sum | Python | O(K * (2^N) | O(N) | 📺 |
40 | Combination Sum II | Python | O(K * (2^N) | O(N) | 📺 |
216 | Combination Sum III | Python | O(K * (2^N) | O(N) | |
17 | Letter Combinations of a Phone Number | Python | O(N*(4^N)) | O(N) | 📺 |
131 | Palindrome Partitioning | Python | O(N*(2^N)) | O(N) | 📺 |
Greedy Medium
# | Title | Solution | Time | Space | Video |
---|---|---|---|---|---|
452 | Minimum Number of Arrows to Burst Balloons | Python | O(N) | O(1) |
Dynamic Programming Easy
# | Title | Solution | Time | Space | Video |
---|---|---|---|---|---|
70 | Climbing Stairs | Python | O(N) | O(1) | Easy |
53 | Maximum Subarray | Python | O(N) | O(N) | Easy |
198 | House Robber | Python | O(N) | O(N) | Easy |
Dynamic Programming Medium
# | Title | Solution | Time | Space | Video |
---|---|---|---|---|---|
64 | Minimum Path Sum | Python | O(N^2) | O(M*N) | 📺 |
62 | Unique Paths | Python | O(N^2) | O(M*N) | Reference #64 |
55 | Jump Game | Python | O(N^2) | O(1) | TLE with DP/Use Greedy for O(N) Solution |
45 | Jump Game II | Python | O(N^2) | O(1) | TLE with DP/Use Greedy for O(N) Solution |
300 | Longest Increasing Subsequence | Python | O(N^2) | O(1) | Use Binary-Search for NlogN Solution |
BitMap Easy
# | Title | Solution | Time | Space | Video |
---|---|---|---|---|---|
136 | Single Number | Python | O(N) | O(1) | 📺 |
Contributors
This project exists thanks to all the people who contribute. [Contribute].
Backers
Thank you to all our backers! 🙏 [Become a backer]
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
License
🌱 MIT @ Yu Zhou 🌱
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].