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 }}
liugingko
/
LeetCode-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
LeetCode-Python
/
leetcode_cn
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
LeetCode-Python
/
leetcode_cn
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
01.子回文成串数.py
01.子回文成串数.py
1. 两数之和.py
1. 两数之和.py
10. 正则表达式匹配.py
10. 正则表达式匹配.py
11. 盛最多水的容器.py
11. 盛最多水的容器.py
1137. 第 N 个泰波那契数.py
1137. 第 N 个泰波那契数.py
118. 杨辉三角.py
118. 杨辉三角.py
119. 杨辉三角 II.py
119. 杨辉三角 II.py
12. 整数转罗马数字.py
12. 整数转罗马数字.py
121. 买卖股票的最佳时机.py
121. 买卖股票的最佳时机.py
122. 买卖股票的最佳时机 II.py
122. 买卖股票的最佳时机 II.py
13. 罗马数字转整数.py
13. 罗马数字转整数.py
14. 最长公共前缀.py
14. 最长公共前缀.py
15. 三数之和.py
15. 三数之和.py
16. 最接近的三数之和.py
16. 最接近的三数之和.py
17. 电话号码的字母组合.py
17. 电话号码的字母组合.py
18. 四数之和.py
18. 四数之和.py
19. 删除链表的倒数第 N 个结点.py
19. 删除链表的倒数第 N 个结点.py
198. 打家劫舍.py
198. 打家劫舍.py
2. 两数相加.py
2. 两数相加.py
2. 两数相加_2.py
2. 两数相加_2.py
20. 有效的括号.py
20. 有效的括号.py
21. 合并两个有序链表.py
21. 合并两个有序链表.py
213. 打家劫舍 II.py
213. 打家劫舍 II.py
23. 合并 K 个升序链表.py
23. 合并 K 个升序链表.py
24. 两两交换链表中的节点.py
24. 两两交换链表中的节点.py
25. K 个一组翻转链表.py
25. K 个一组翻转链表.py
26. 删除有序数组中的重复项.py
26. 删除有序数组中的重复项.py
264. 丑数 II.py
264. 丑数 II.py
27. 移除元素.py
27. 移除元素.py
279. 完全平方数.py
279. 完全平方数.py
28. 找出字符串中第一个匹配项的下标.py
28. 找出字符串中第一个匹配项的下标.py
29. 两数相除.py
29. 两数相除.py
3. 无重复字符的最长子串.py
3. 无重复字符的最长子串.py
30. 串联所有单词的子串.py
30. 串联所有单词的子串.py
300. 最长递增子序列.py
300. 最长递增子序列.py
31. 下一个排列.py
31. 下一个排列.py
312. 戳气球.py
312. 戳气球.py
329. 矩阵中的最长递增路径.py
329. 矩阵中的最长递增路径.py
34. 在排序数组中查找元素的第一个和最后一个位置.py
34. 在排序数组中查找元素的第一个和最后一个位置.py
35. 搜索插入位置.py
35. 搜索插入位置.py
37. 解数独.py
37. 解数独.py
375. 猜数字大小 II.py
375. 猜数字大小 II.py
38. 外观数列.py
38. 外观数列.py
39. 组合总和.py
39. 组合总和.py
40. 组合总和 II.py
40. 组合总和 II.py
41. 缺失的第一个正数.py
41. 缺失的第一个正数.py
43. 字符串相乘.py
43. 字符串相乘.py
44. 通配符匹配.py
44. 通配符匹配.py
5. 最长回文子串.py
5. 最长回文子串.py
576. 出界的路径数.py
576. 出界的路径数.py
6. N 字形变换.py
6. N 字形变换.py
62. 不同路径.py
62. 不同路径.py
63. 不同路径 II.py
63. 不同路径 II.py
64. 最小路径和.py
64. 最小路径和.py
7. 整数反转.py
7. 整数反转.py
78. 子集.py
78. 子集.py
81. 搜索旋转排序数组 II.py
81. 搜索旋转排序数组 II.py
9. 回文数.py
9. 回文数.py
90. 子集 II.py
90. 子集 II.py
__init__.py
__init__.py
tmp.py
tmp.py
员工数.py
员工数.py
View all files
You can’t perform that action at this time.