Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
DreamCats
/
java-notes
Public
Notifications
You must be signed in to change notification settings
Fork
327
Star
2.4k
Code
Issues
3
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
java-notes
/
Java
/
alg
/
lc
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
java-notes
/
Java
/
alg
/
lc
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
1.两数之和.md
1.两数之和.md
100.相同的树.md
100.相同的树.md
101.对称二叉树.md
101.对称二叉树.md
1013.将数组分成和相等的三个部分.md
1013.将数组分成和相等的三个部分.md
102.二叉树的层序遍历.md
102.二叉树的层序遍历.md
104.二叉树的最大深度.md
104.二叉树的最大深度.md
107.二叉树的层序遍历2.md
107.二叉树的层序遍历2.md
1071.字符串的最大公因子.md
1071.字符串的最大公因子.md
108.将有序数组转换为二叉搜索树.md
108.将有序数组转换为二叉搜索树.md
11.盛最多水的容器.md
11.盛最多水的容器.md
110.平衡二叉树.md
110.平衡二叉树.md
1103.分糖果2.md
1103.分糖果2.md
111.二叉树的最小深度.md
111.二叉树的最小深度.md
112.路径总和.md
112.路径总和.md
113.路径总和2.md
113.路径总和2.md
118.杨辉三角.md
118.杨辉三角.md
120.三角形最小路径和.md
120.三角形最小路径和.md
121.买卖股票的最佳时机.md
121.买卖股票的最佳时机.md
122.买卖股票的最佳时机2.md
122.买卖股票的最佳时机2.md
125.验证回文串.md
125.验证回文串.md
13.罗马数字转整数.md
13.罗马数字转整数.md
136.只出现一次的数字.md
136.只出现一次的数字.md
14.最长公共前缀.md
14.最长公共前缀.md
141.环形链表.md
141.环形链表.md
15.三数之和.md
15.三数之和.md
155.最小栈.md
155.最小栈.md
160.相交链表.md
160.相交链表.md
167.两数之和2-输入有序数组.md
167.两数之和2-输入有序数组.md
17.电话号码的字母组合.md
17.电话号码的字母组合.md
172.阶乘后的零.md
172.阶乘后的零.md
19.删除链表的倒数第N个结点.md
19.删除链表的倒数第N个结点.md
191.位1的个数.md
191.位1的个数.md
2.两数相加.md
2.两数相加.md
20.有效的括号.md
20.有效的括号.md
204.计数质数.md
204.计数质数.md
205.同构字符串.md
205.同构字符串.md
206.反转链表.md
206.反转链表.md
21.合并两个有序链表.md
21.合并两个有序链表.md
217.存在重复元素.md
217.存在重复元素.md
219.存在重复元素2.md
219.存在重复元素2.md
22.括号生成.md
22.括号生成.md
225.用队列实现栈.md
225.用队列实现栈.md
226.翻转二叉树.md
226.翻转二叉树.md
231.2的幂.md
231.2的幂.md
232.用栈实现队列.md
232.用栈实现队列.md
234.回文链表.md
234.回文链表.md
237.删除链表中的节点.md
237.删除链表中的节点.md
24.两两交换链表中的节点.md
24.两两交换链表中的节点.md
242.有效的字母异位词.md
242.有效的字母异位词.md
26.删除排序数组中的重复项.md
26.删除排序数组中的重复项.md
268.丢失的数字.md
268.丢失的数字.md
27.移除元素.md
27.移除元素.md
278.第一个错误的版本.md
278.第一个错误的版本.md
28.实现strStr.md
28.实现strStr.md
283.移动零.md
283.移动零.md
290.单词规律.md
290.单词规律.md
3.无重复字符的最长子串.md
3.无重复字符的最长子串.md
31.下一个排列.md
31.下一个排列.md
326.3的幂.md
326.3的幂.md
33.搜索旋转排序数组.md
33.搜索旋转排序数组.md
34.在排序数组中查找元素的第一个和最后一个位置.md
34.在排序数组中查找元素的第一个和最后一个位置.md
344.反转字符串.md
344.反转字符串.md
35.搜索插入位置.md
35.搜索插入位置.md
350.两个数组的交集2.md
350.两个数组的交集2.md
36.有效的数独.md
36.有效的数独.md
367.有效的完全平方数.md
367.有效的完全平方数.md
371.两整数之和.md
371.两整数之和.md
387.字符串中的第一个唯一字符.md
387.字符串中的第一个唯一字符.md
39.组合总和.md
39.组合总和.md
392.判断子序列.md
392.判断子序列.md
40.组合总和2.md
40.组合总和2.md
409.最长回文串.md
409.最长回文串.md
414.第三大的数.md
414.第三大的数.md
415.字符串相加.md
415.字符串相加.md
43.字符串相乘.md
43.字符串相乘.md
434.字符串中的单词数.md
434.字符串中的单词数.md
455.分发饼干.md
455.分发饼干.md
46.全排列.md
46.全排列.md
461.汉明距离.md
461.汉明距离.md
47.全排列2.md
47.全排列2.md
485.最大连续1的个数.md
485.最大连续1的个数.md
5.最长回文子串.md
5.最长回文子串.md
509.斐波那契数.md
509.斐波那契数.md
53.最大子序和.md
53.最大子序和.md
543.二叉树的直径.md
543.二叉树的直径.md
55.跳跃游戏.md
55.跳跃游戏.md
56.合并区间.md
56.合并区间.md
566.重塑矩阵.md
566.重塑矩阵.md
572.另一个树的子树.md
572.另一个树的子树.md
58.最后一个单词的长度.md
58.最后一个单词的长度.md
594.最长和谐子序列.md
594.最长和谐子序列.md
6.Z字形变换.md
6.Z字形变换.md
605.种花问题.md
605.种花问题.md
617.合并二叉树.md
617.合并二叉树.md
62.不同路径.md
62.不同路径.md
628.三个数的最大乘积.md
628.三个数的最大乘积.md
63.不同路径2.md
63.不同路径2.md
637.二叉树的层平均值.md
637.二叉树的层平均值.md
64.最小路径和.md
64.最小路径和.md
645.错误的集合.md
645.错误的集合.md
View all files
You can’t perform that action at this time.