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 }}
firstmoonlight
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
for a new job, hurry up!
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
43 Commits
43 Commits
Folders and files
Name
Name
Last commit message
Last commit date
src
src
动态规划/
背包问题
动态规划/
背包问题
每日一题
每日一题
1031. 两个非重叠子数组的最大和.md
1031. 两个非重叠子数组的最大和.md
1054. 距离相等的条形码.md
1054. 距离相等的条形码.md
1339. 分裂二叉树的最大乘积.md
1339. 分裂二叉树的最大乘积.md
1438. 绝对差不超过限制的最长连续子数组.md
1438. 绝对差不超过限制的最长连续子数组.md
1443. 收集树上所有苹果的最少时间.md
1443. 收集树上所有苹果的最少时间.md
1462. 课程表 IV.md
1462. 课程表 IV.md
1774. 最接近目标价格的甜点成本.md
1774. 最接近目标价格的甜点成本.md
1865. 找出和为指定值的下标对.md
1865. 找出和为指定值的下标对.md
1942. 最小未被占据椅子的编号.md
1942. 最小未被占据椅子的编号.md
1963. 使字符串平衡的最小交换次数.md
1963. 使字符串平衡的最小交换次数.md
2074. 反转偶数长度组的节点.md
2074. 反转偶数长度组的节点.md
2182. 构造限制重复的字符串.md
2182. 构造限制重复的字符串.md
2233. K 次增加后的最大乘积.md
2233. K 次增加后的最大乘积.md
2280. 表示一个折线图的最少线段数.md
2280. 表示一个折线图的最少线段数.md
2457. 美丽整数的最小增量.md
2457. 美丽整数的最小增量.md
2497. 图中最大星和.md
2497. 图中最大星和.md
3031. 将单词恢复初始状态所需的最短时间 II.md
3031. 将单词恢复初始状态所需的最短时间 II.md
3071. 在矩阵上写出字母 Y 所需的最少操作次数.md
3071. 在矩阵上写出字母 Y 所需的最少操作次数.md
3143. 正方形中的最多点数.md
3143. 正方形中的最多点数.md
3397. 执行操作后不同元素的最大数量.md
3397. 执行操作后不同元素的最大数量.md
757_设置交集大小至少为2.md
757_设置交集大小至少为2.md
829. 连续整数求和.md
829. 连续整数求和.md
853. 车队.md
853. 车队.md
885. 螺旋矩阵 III.md
885. 螺旋矩阵 III.md
919. 完全二叉树插入器.md
919. 完全二叉树插入器.md
935. 骑士拨号器.md
935. 骑士拨号器.md
950. 按递增顺序显示卡牌.md
950. 按递增顺序显示卡牌.md
958. 二叉树的完全性检验.md
958. 二叉树的完全性检验.md
LCR 024. 反转链表.md
LCR 024. 反转链表.md
README.md
README.md
leetcode229
leetcode229
View all files
Repository files navigation
README
More
items
leetcode
for a new job, hurry up!
About
for a new job, hurry up!
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.