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 }}
SilvesSun
/
learn-algorithm-in-python
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
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
learn-algorithm-in-python
/
array
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
learn-algorithm-in-python
/
array
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
118_杨辉三角.py
118_杨辉三角.py
1743_从相邻元素对还原数组.py
1743_从相邻元素对还原数组.py
1996_游戏中弱角色的数量.py
1996_游戏中弱角色的数量.py
204_计数质数.py
204_计数质数.py
240_搜索二维矩阵II.py
240_搜索二维矩阵II.py
252_会议室.py
252_会议室.py
334_递增的三元子序列.py
334_递增的三元子序列.py
33_搜索旋转排序数组.py
33_搜索旋转排序数组.py
347_前k个高频元素.py
347_前k个高频元素.py
36_有效的数独.py
36_有效的数独.py
384_打乱数组.py
384_打乱数组.py
390_消除游戏.py
390_消除游戏.py
41_缺失的第一个正数.py
41_缺失的第一个正数.py
442_数组中重复的数据.py
442_数组中重复的数据.py
475_供暖器.py
475_供暖器.py
4_寻找两个正序数组的中位数.py
4_寻找两个正序数组的中位数.py
503_下一个更大元素II.py
503_下一个更大元素II.py
556_下一个更大的元素III.py
556_下一个更大的元素III.py
581_最短无序子数组.py
581_最短无序子数组.py
59_螺旋矩阵.py
59_螺旋矩阵.py
611_有效三角形的个数.py
611_有效三角形的个数.py
622_设计循环队列.py
622_设计循环队列.py
630_课程表III.py
630_课程表III.py
735_行星碰撞.py
735_行星碰撞.py
74_搜索二维矩阵.py
74_搜索二维矩阵.py
75_颜色分类.py
75_颜色分类.py
786_第k个最小的素数分数.py
786_第k个最小的素数分数.py
80_删除有序数组中的重复项II.py
80_删除有序数组中的重复项II.py
84_柱状图中最大的矩形.py
84_柱状图中最大的矩形.py
85_最大矩形.py
85_最大矩形.py
88_合并两个有序数组.py
88_合并两个有序数组.py
946_验证栈序列.py
946_验证栈序列.py
QueueReconstructionbyHeight.py
QueueReconstructionbyHeight.py
findDisappearedNumbers.py
findDisappearedNumbers.py
findDuplicate.py
findDuplicate.py
isSubSet.py
isSubSet.py
nc41_最长无重复子数组.py
nc41_最长无重复子数组.py
o51_数组中的逆序对.py
o51_数组中的逆序对.py
offer29_顺时针打印矩阵.py
offer29_顺时针打印矩阵.py
removeDuplicates.py
removeDuplicates.py
rgb_sort.py
rgb_sort.py
rotateImage.py
rotateImage.py
topKFrequent.py
topKFrequent.py
下一个排列.py
下一个排列.py
四数之和.py
四数之和.py
在排序数组中查找元素的第一个和最后一个位置.py
在排序数组中查找元素的第一个和最后一个位置.py
括号匹配.py
括号匹配.py
搜索插入位置.py
搜索插入位置.py
数组中有没有比它前面元素都大比它后面的元素都小的数.py
数组中有没有比它前面元素都大比它后面的元素都小的数.py
数组中比左边大比右边的小的元素.py
数组中比左边大比右边的小的元素.py
最大连续子序列和.py
最大连续子序列和.py
最接近的三数之和.py
最接近的三数之和.py
洗牌算法.py
洗牌算法.py
盛最多水的容器.py
盛最多水的容器.py
组合总和39.py
组合总和39.py
组合总和II40.py
组合总和II40.py
View all files
You can’t perform that action at this time.