同步操作将从 doocs/leetcode 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Complete solutions to LeetCode, LCOF and LCCI problems, updated daily. Please give me a star 🌟 if you like it.
Binary search
Binary search
Binary search
Binary search
Quick Sort
, Merge Sort
Addition of large numbers
Multiply large numbers
Prefix sum
Prefix sum
Prefix sum
, Difference array
Prefix sum
, Difference array
Two pointers
, Hash table
Two pointers
Bit manipulation
, Lowbit
Merge intervals
Linked List
, Pointer
, Array
Monotonic Stack
Monotonic Stack
Monotonic Stack
Monotonic Stack
Monotonic Stack
Monotonic Stack
Monotonic Stack
Monotonic Queue
Monotonic Queue
Monotonic Queue
Dynamic Programming
, Monotonic Queue
Hash Table
、Backtracking
Rabin-Karp
Rabin-Karp
Rabin-Karp
, Binary search
Rabin-Karp
BFS
, DFS
, Flood fill
BFS
, Flood fill
BFS with multiple sources
BFS with multiple sources
BFS
, Shortest paths model
BFS
, Shortest paths model
BFS
, Shortest paths model
BFS
, Shortest paths model
Minimum steps model
, Two-end BFS
, A* search
Minimum steps model
, Two-end BFS
Minimum steps model
, Two-end BFS
Minimum steps model
, A* search
BFS
, Minimum steps model
, A* search
BFS
, A* search
BFS using deque
BFS using deque
DFS, Flood fill
DFS
, Backtracking
DFS
, Backtracking
DFS
, Backtracking
DFS
, Backtracking
DFS
, Backtracking
DFS
, Backtracking
DFS
、Memoization
DFS
、Memoization
DFS
、Bitmask
、Memoization
DFS
、Memoization
DFS
、Memoization
Linear problem
Linear problem
Linear problem
Linear problem
Linear problem
, LIS
Linear problem
, LIS
, Greedy
Linear problem
, LIS
Linear problem
, LIS
Sort
, Linear problem
, LIS
Sort
, Linear problem
, LIS
Linear problem
, LCS
Linear problem
, LCS
Linear problem
, LCS
0-1 Knapsack problem
0-1 Knapsack problem
0-1 Knapsack problem
Unbounded Knapsack problem
Unbounded Knapsack problem
Group Knapsack problem
Digit DP problem
, Memoization
Digit DP problem
, Memoization
Digit DP problem
, Memoization
Digit DP problem
, Memoization
Digit DP problem
, Memoization
Digit DP problem
, Memoization
Union find
, Detect cycles
Union find
Union find
Union find
Union find
Union find
, Reversed thinking
Union find
, Reversed thinking
Union find
, Offline algorithm
Two Union find
Binary Indexed Tree
, Segment Tree
Binary Indexed Tree
, Segment Tree
Binary Indexed Tree
, Segment Tree
Binary Indexed Tree
Binary Indexed Tree 2D
, Segment Tree
Binary Indexed Tree
, Discretization
, Segment Tree
Binary Indexed Tree
, Discretization
, Segment Tree
Binary Indexed Tree
, Discretization
, Divide and Conquer
, Segment Tree
Binary Indexed Tree
, Discretization
, Interval maximum
Dynamic Segment Tree
, Lazy Propogation
Dynamic Segment Tree
, Lazy Propogation
Dynamic Segment Tree
, Lazy Propogation
Dynamic Segment Tree
, Lazy Propogation
Segment Tree
Segment Tree
, Discretization
, Line Sweep
Shortest Path
, Dijkstra's algorithm
, Bellman Ford's algorithm
, SPFA
Shortest Path
, Dijkstra's algorithm
Minimum Spanning Tree
, Prim's algorithm
, Kruskal's algorithm
, Union find
Minimum Spanning Tree
, Kruskal's algorithm
Minimum Spanning Tree
, Kruskal's algorithm
, Union find
Minimum Spanning Tree
, Kruskal's algorithm
, Union find
Graph coloring
, Union find
I'm looking for long-term contributors/partners to this repo! Send me PRs if you're interested! See the following:
You can also contribute to doocs/leetcode using Gitpod.io, a free online dev environment with a single click.
This project exists thanks to all the people who contribute.
Thank you to all our backers and sponsors!
"You help the developer community practice for interviews, and there is nothing better we could ask for." -- Alan Yessenbayev
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。