Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
lch000
leetcode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
0
(
0
)
You must be signed in to star a repository
About
力扣
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
8 Commits
8 Commits
Folders and files
Name
Name
Last commit message
Last commit date
八股
八股
工程化
工程化
1.两数之和.ts
1.两数之和.ts
1002.查找共用字符.ts
1002.查找共用字符.ts
1005.k-次取反后最大化的数组和.ts
1005.k-次取反后最大化的数组和.ts
101.对称二叉树.ts
101.对称二叉树.ts
102.二叉树的层序遍历.ts
102.二叉树的层序遍历.ts
1035.不相交的线.ts
1035.不相交的线.ts
104.二叉树的最大深度.ts
104.二叉树的最大深度.ts
1047.删除字符串中的所有相邻重复项.ts
1047.删除字符串中的所有相邻重复项.ts
1049.最后一块石头的重量-ii.ts
1049.最后一块石头的重量-ii.ts
106.从中序与后序遍历序列构造二叉树.ts
106.从中序与后序遍历序列构造二叉树.ts
108.将有序数组转换为二叉搜索树.ts
108.将有序数组转换为二叉搜索树.ts
110.平衡二叉树.ts
110.平衡二叉树.ts
111.二叉树的最小深度.ts
111.二叉树的最小深度.ts
112.路径总和.ts
112.路径总和.ts
1143.最长公共子序列.ts
1143.最长公共子序列.ts
121.买卖股票的最佳时机.ts
121.买卖股票的最佳时机.ts
122.买卖股票的最佳时机-ii.ts
122.买卖股票的最佳时机-ii.ts
123.买卖股票的最佳时机-iii.ts
123.买卖股票的最佳时机-iii.ts
131.分割回文串.ts
131.分割回文串.ts
134.加油站.ts
134.加油站.ts
135.分发糖果.ts
135.分发糖果.ts
142.环形链表-ii.ts
142.环形链表-ii.ts
144.二叉树的前序遍历.ts
144.二叉树的前序遍历.ts
145.二叉树的后序遍历.ts
145.二叉树的后序遍历.ts
15.三数之和.ts
15.三数之和.ts
150.逆波兰表达式求值.ts
150.逆波兰表达式求值.ts
151.反转字符串中的单词.ts
151.反转字符串中的单词.ts
17.电话号码的字母组合.ts
17.电话号码的字母组合.ts
18.四数之和.ts
18.四数之和.ts
188.买卖股票的最佳时机-iv.ts
188.买卖股票的最佳时机-iv.ts
19.删除链表的倒数第-n-个结点.ts
19.删除链表的倒数第-n-个结点.ts
198.打家劫舍.ts
198.打家劫舍.ts
2.两数相加.ts
2.两数相加.ts
20.有效的括号.ts
20.有效的括号.ts
202.快乐数.ts
202.快乐数.ts
203.移除链表元素.ts
203.移除链表元素.ts
206.反转链表.ts
206.反转链表.ts
209.长度最小的子数组.ts
209.长度最小的子数组.ts
213.打家劫舍-ii.ts
213.打家劫舍-ii.ts
216.组合总和-iii.ts
216.组合总和-iii.ts
222.完全二叉树的节点个数.ts
222.完全二叉树的节点个数.ts
226.翻转二叉树.ts
226.翻转二叉树.ts
235.二叉搜索树的最近公共祖先.ts
235.二叉搜索树的最近公共祖先.ts
236.二叉树的最近公共祖先.ts
236.二叉树的最近公共祖先.ts
239.滑动窗口最大值.ts
239.滑动窗口最大值.ts
24.两两交换链表中的节点.ts
24.两两交换链表中的节点.ts
242.有效的字母异位词.ts
242.有效的字母异位词.ts
257.二叉树的所有路径.ts
257.二叉树的所有路径.ts
27.移除元素.ts
27.移除元素.ts
28.找出字符串中第一个匹配项的下标.ts
28.找出字符串中第一个匹配项的下标.ts
3.无重复字符的最长子串.ts
3.无重复字符的最长子串.ts
300.最长递增子序列.ts
300.最长递增子序列.ts
309.买卖股票的最佳时机含冷冻期.ts
309.买卖股票的最佳时机含冷冻期.ts
332.重新安排行程.ts
332.重新安排行程.ts
337.打家劫舍-iii.ts
337.打家劫舍-iii.ts
343.整数拆分.ts
343.整数拆分.ts
344.反转字符串.ts
344.反转字符串.ts
347.前-k-个高频元素.ts
347.前-k-个高频元素.ts
349.两个数组的交集.ts
349.两个数组的交集.ts
37.解数独.ts
37.解数独.ts
376.摆动序列.ts
376.摆动序列.ts
383.赎金信.ts
383.赎金信.ts
39.组合总和.ts
39.组合总和.ts
392.判断子序列.ts
392.判断子序列.ts
40.组合总和-ii.ts
40.组合总和-ii.ts
404.左叶子之和.ts
404.左叶子之和.ts
416.分割等和子集.ts
416.分割等和子集.ts
45.跳跃游戏-ii.ts
45.跳跃游戏-ii.ts
450.删除二叉搜索树中的节点.ts
450.删除二叉搜索树中的节点.ts
454.四数相加-ii.ts
454.四数相加-ii.ts
455.分发饼干.ts
455.分发饼干.ts
459.重复的子字符串.ts
459.重复的子字符串.ts
46.全排列.ts
46.全排列.ts
47.全排列-ii.ts
47.全排列-ii.ts
474.一和零.ts
474.一和零.ts
491.非递减子序列.ts
491.非递减子序列.ts
494.目标和.ts
494.目标和.ts
5.最长回文子串.ts
5.最长回文子串.ts
501.二叉搜索树中的众数.ts
501.二叉搜索树中的众数.ts
509.斐波那契数.ts
509.斐波那契数.ts
51.n-皇后.ts
51.n-皇后.ts
513.找树左下角的值.ts
513.找树左下角的值.ts
53.最大子数组和.ts
53.最大子数组和.ts
530.二叉搜索树的最小绝对差.ts
530.二叉搜索树的最小绝对差.ts
538.把二叉搜索树转换为累加树.ts
538.把二叉搜索树转换为累加树.ts
541.反转字符串-ii.ts
541.反转字符串-ii.ts
55.跳跃游戏.ts
55.跳跃游戏.ts
617.合并二叉树.ts
617.合并二叉树.ts
62.不同路径.ts
62.不同路径.ts
63.不同路径-ii.ts
63.不同路径-ii.ts
654.最大二叉树.ts
654.最大二叉树.ts
669.修剪二叉搜索树.ts
669.修剪二叉搜索树.ts
674.最长连续递增序列.ts
674.最长连续递增序列.ts
70.爬楼梯.ts
70.爬楼梯.ts
700.二叉搜索树中的搜索.ts
700.二叉搜索树中的搜索.ts
701.二叉搜索树中的插入操作.ts
701.二叉搜索树中的插入操作.ts
704.二分查找.ts
704.二分查找.ts
707.设计链表.ts
707.设计链表.ts
View all files
About
力扣
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.