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 }}
lualgorithm
AlgorithmAndDataStructure
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
AlgorithmAndDataStructure
/
SwordToOffer
/
Doc
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
AlgorithmAndDataStructure
/
SwordToOffer
/
Doc
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
doc-sample.md
doc-sample.md
不用加减乘除做加法.md
不用加减乘除做加法.md
不能用循环的1到n之和.md
不能用循环的1到n之和.md
丑数.md
丑数.md
两个链表的第一个公共节点.md
两个链表的第一个公共节点.md
二叉搜索树与双向链表.md
二叉搜索树与双向链表.md
二叉搜索树的后序遍历.md
二叉搜索树的后序遍历.md
二叉搜索树的第k个节点.md
二叉搜索树的第k个节点.md
二叉树中和为某一数的路径.md
二叉树中和为某一数的路径.md
二叉树的下一个节点.md
二叉树的下一个节点.md
二叉树的深度.md
二叉树的深度.md
二维数组中的查找.md
二维数组中的查找.md
二进制中1的个数.md
二进制中1的个数.md
从n个数中找出m个数和为sum.md
从n个数中找出m个数和为sum.md
从上往下打印二叉树.md
从上往下打印二叉树.md
从尾到头打印链表.md
从尾到头打印链表.md
删除链表中重复的结点.md
删除链表中重复的结点.md
包含min函数的栈.md
包含min函数的栈.md
反转链表.md
反转链表.md
变态跳台阶.md
变态跳台阶.md
合并两个排序的链表.md
合并两个排序的链表.md
和为s的两个数字.md
和为s的两个数字.md
和为s的连续正数序列.md
和为s的连续正数序列.md
圆圈中的最后数字.md
圆圈中的最后数字.md
复杂链表的复制.md
复杂链表的复制.md
字符串的排列.md
字符串的排列.md
字符流中第一个不重复的字符.md
字符流中第一个不重复的字符.md
对称的二叉树.md
对称的二叉树.md
寻找数组中任意一个重复的数字.md
寻找数组中任意一个重复的数字.md
将字符串转为整数.md
将字符串转为整数.md
左旋字符串.md
左旋字符串.md
平衡二叉树.md
平衡二叉树.md
序列化二叉树.md
序列化二叉树.md
扑克牌顺子.md
扑克牌顺子.md
把二叉树打印成多行.md
把二叉树打印成多行.md
把数组排成最小的数.md
把数组排成最小的数.md
按之字形打印二叉树.md
按之字形打印二叉树.md
数值的整数次方.md
数值的整数次方.md
数字在排序数组中出现的次数.md
数字在排序数组中出现的次数.md
数据流的中位数.md
数据流的中位数.md
数组中出现次数超过一半的数字.md
数组中出现次数超过一半的数字.md
数组中只出现一次的数字.md
数组中只出现一次的数字.md
数组中的逆序对.md
数组中的逆序对.md
数组中重复的数字.md
数组中重复的数字.md
整数中1出现的次数.md
整数中1出现的次数.md
旋转数组的最小数字.md
旋转数组的最小数字.md
替换空格.md
替换空格.md
最大陆地问题.md
最大陆地问题.md
最小的K个数.md
最小的K个数.md
机器人的运动范围.md
机器人的运动范围.md
构建乘积数组.md
构建乘积数组.md
栈的压入&弹出顺序.md
栈的压入&弹出顺序.md
树的子结构.md
树的子结构.md
树的镜像.md
树的镜像.md
正则表达式匹配.md
正则表达式匹配.md
滑动窗口的最大值.md
滑动窗口的最大值.md
用两个栈实现队列.md
用两个栈实现队列.md
矩形覆盖.md
矩形覆盖.md
矩阵中的路径.md
矩阵中的路径.md
第一次只出现一次的字符.md
第一次只出现一次的字符.md
翻转单词序列.md
翻转单词序列.md
表示数值的字符串.md
表示数值的字符串.md
调整数组顺序使奇数位于偶数前面.md
调整数组顺序使奇数位于偶数前面.md
跳台阶.md
跳台阶.md
连续子数组的最大和.md
连续子数组的最大和.md
重建二叉树.md
重建二叉树.md
链表中倒数第k个节点.md
链表中倒数第k个节点.md
链表中环的入口节点.md
链表中环的入口节点.md
顺时针打印矩阵.md
顺时针打印矩阵.md
View all files
You can’t perform that action at this time.