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
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 }}
gZeyu
coding-interviews
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
coding-interviews
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
solution
Resources
Readme
MIT license
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
25 Commits
25 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.vscode
.vscode
03.数组中重复的数字
03.数组中重复的数字
04.二维数组中的查找
04.二维数组中的查找
05.替换空格
05.替换空格
06.从尾到头打印链表
06.从尾到头打印链表
07.重建二叉树
07.重建二叉树
08.二叉树的下一个结点
08.二叉树的下一个结点
09.用两个栈实现队列
09.用两个栈实现队列
10.斐波那契数列
10.斐波那契数列
11.旋转数组的最小数字
11.旋转数组的最小数字
12.矩阵中的路径
12.矩阵中的路径
13.机器人的运动范围
13.机器人的运动范围
14.剪绳子
14.剪绳子
16.数值的整数次方
16.数值的整数次方
17.打印从1到最大的n位数
17.打印从1到最大的n位数
18.删除链表中重复的节点
18.删除链表中重复的节点
19.正则表达式匹配
19.正则表达式匹配
20.表示数值的字符串
20.表示数值的字符串
21.调整数组顺序使奇数位于偶数前面
21.调整数组顺序使奇数位于偶数前面
22.链表中倒数第k个结点
22.链表中倒数第k个结点
23.链表中环的入口结点
23.链表中环的入口结点
24.反转链表
24.反转链表
25.合并两个排序的链表
25.合并两个排序的链表
26.树的子结构
26.树的子结构
27.二叉树的镜像
27.二叉树的镜像
28.对称的二叉树
28.对称的二叉树
29.顺时针打印矩阵
29.顺时针打印矩阵
30.包含min函数的栈
30.包含min函数的栈
31.栈的压入、弹出序列
31.栈的压入、弹出序列
32.1.从上往下打印二叉树
32.1.从上往下打印二叉树
32.2.分行从上到下打印二叉树
32.2.分行从上到下打印二叉树
32.3.之字形打印二叉树
32.3.之字形打印二叉树
33.二叉搜索树的后序遍历序列
33.二叉搜索树的后序遍历序列
34.二叉树中和为某一值的路径
34.二叉树中和为某一值的路径
35.复杂链表的复制
35.复杂链表的复制
36.二叉搜索树与双向链表
36.二叉搜索树与双向链表
37.序列化二叉树
37.序列化二叉树
38.字符串的排列
38.字符串的排列
39.数组中出现次数超过一半的数字
39.数组中出现次数超过一半的数字
40.最小的K个数
40.最小的K个数
41.数据流中的中位数
41.数据流中的中位数
42.连续子数组的最大和
42.连续子数组的最大和
43.1~n整数中1出现的次数
43.1~n整数中1出现的次数
44.数字序列中某一位的数字
44.数字序列中某一位的数字
45.把数组排成最小的数
45.把数组排成最小的数
46.把数字翻译成字符串
46.把数字翻译成字符串
47.礼物的最大价值
47.礼物的最大价值
48.最长不含重复字符的子字符串
48.最长不含重复字符的子字符串
49.丑数
49.丑数
50.1.第一个只出现一次的字符
50.1.第一个只出现一次的字符
50.2.字符流中第一个只出现一次的字符
50.2.字符流中第一个只出现一次的字符
51.数组中的逆序对
51.数组中的逆序对
52.两个链表的第一个公共结点
52.两个链表的第一个公共结点
53.1.数字在排序数组中出现的次数
53.1.数字在排序数组中出现的次数
53.2.0~n-1中缺失的数字
53.2.0~n-1中缺失的数字
53.3.数字在排序数组中出现的次数
53.3.数字在排序数组中出现的次数
54.二叉搜索树的第k个结点
54.二叉搜索树的第k个结点
55.1.二叉树的深度
55.1.二叉树的深度
55.2.平衡二叉树
55.2.平衡二叉树
56.1.数组中只出现一次的两个数字
56.1.数组中只出现一次的两个数字
56.2.数组中唯一只出现一次的数字
56.2.数组中唯一只出现一次的数字
57.1.和为S的两个数字
57.1.和为S的两个数字
57.2.和为S的连续正数序列
57.2.和为S的连续正数序列
58.1.翻转单词顺序
58.1.翻转单词顺序
58.2.左旋转字符串
58.2.左旋转字符串
59.1.滑动窗口的最大值
59.1.滑动窗口的最大值
59.2.队列的最大值
59.2.队列的最大值
60.n个骰子的点数
60.n个骰子的点数
61.扑克牌中的顺子
61.扑克牌中的顺子
62.圆圈中最后剩下的数字
62.圆圈中最后剩下的数字
63.股票的最大利润
63.股票的最大利润
64.1+2+...+n
64.1+2+...+n
65.不用加减乘除做加法
65.不用加减乘除做加法
66.构建乘积数组
66.构建乘积数组
.gitignore
.gitignore
LICENSE
LICENSE
README.md
README.md
test.py
test.py
View all files
Repository files navigation
README
MIT license
More
items
coding-interviews
solution
About
solution
Resources
Readme
MIT license
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.