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
Events
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 }}
PythonYXY
leetcode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
leetcode
/
剑指offer
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
leetcode
/
剑指offer
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
.md
.md
14. 剪梯子.md
14. 剪梯子.md
15. 二进制中1的个数.md
15. 二进制中1的个数.md
19. 正则表达式匹配.md
19. 正则表达式匹配.md
20.表示数值的字符串.md
20.表示数值的字符串.md
22. 链表中倒数第k个节点.md
22. 链表中倒数第k个节点.md
24.反转链表.md
24.反转链表.md
26. 树的子结构.md
26. 树的子结构.md
28. 对称的二叉树.md
28. 对称的二叉树.md
29. 顺时针打印矩阵.md
29. 顺时针打印矩阵.md
3. 数组中的重复数字.md
3. 数组中的重复数字.md
30. 包含min函数的栈.md
30. 包含min函数的栈.md
31. 栈的压入、弹出序列.md
31. 栈的压入、弹出序列.md
32 - II. 从上到下打印二叉树 II.md
32 - II. 从上到下打印二叉树 II.md
32 - III. 从上到下打印二叉树 III.md
32 - III. 从上到下打印二叉树 III.md
33. 二叉搜索树的后序遍历序列.md
33. 二叉搜索树的后序遍历序列.md
35. 复杂链表的复制.md
35. 复杂链表的复制.md
36. 二叉搜索树与双向链表.md
36. 二叉搜索树与双向链表.md
39. 数组中出现次数超过一半的数字.md
39. 数组中出现次数超过一半的数字.md
4.二维数组中的查找.md
4.二维数组中的查找.md
40. 最小的k个数.md
40. 最小的k个数.md
41. 数据流中的中位数.md
41. 数据流中的中位数.md
43. 1~n整数中1出现的次数.md
43. 1~n整数中1出现的次数.md
44. 数字序列中某一位的数字.md
44. 数字序列中某一位的数字.md
45. 把数组排成最小的数.md
45. 把数组排成最小的数.md
46. 把数字翻译成字符串.md
46. 把数字翻译成字符串.md
48. 最长不含重复字符的子字符串.md
48. 最长不含重复字符的子字符串.md
49. 丑数.md
49. 丑数.md
8.二叉树的下一个节点.md
8.二叉树的下一个节点.md
9. 用两个栈实现队列.md
9. 用两个栈实现队列.md
L153. 寻找旋转排序数组中的最小值.md
L153. 寻找旋转排序数组中的最小值.md
L154. 寻找旋转排序数组中的最小值 II.md
L154. 寻找旋转排序数组中的最小值 II.md
L191. 位1的个数.md
L191. 位1的个数.md
L287. 寻找重复数.md
L287. 寻找重复数.md
View all files
You can’t perform that action at this time.