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
Type
/
to 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 }}
windmzx
/
pyleetcode
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
master
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
87 Commits
87 Commits
.vscode/
.ropeproject
.vscode/
.ropeproject
untils
untils
.gitignore
.gitignore
100. 相同的树.py
100. 相同的树.py
101. SymmetricTree.py
101. SymmetricTree.py
102. Binary Tree Level Order Traversal.py
102. Binary Tree Level Order Traversal.py
103. 二叉树的锯齿形层次遍历.py
103. 二叉树的锯齿形层次遍历.py
104. Maximum Depth of Binary Tree.py
104. Maximum Depth of Binary Tree.py
105. Construct Binary Tree from Preorder and Inorder Traversal.py
105. Construct Binary Tree from Preorder and Inorder Traversal.py
106. 从中序与后序遍历序列构造二叉树.py
106. 从中序与后序遍历序列构造二叉树.py
107. 二叉树的层次遍历 II.py
107. 二叉树的层次遍历 II.py
108. 将有序数组转换为二叉搜索树.py
108. 将有序数组转换为二叉搜索树.py
109. 有序链表转换二叉搜索树.py
109. 有序链表转换二叉搜索树.py
11. Container With Most Water.py
11. Container With Most Water.py
110. 平衡二叉树.py
110. 平衡二叉树.py
111. 二叉树的最小深度.py
111. 二叉树的最小深度.py
112. 路径总和.py
112. 路径总和.py
113. 路径总和 II.py
113. 路径总和 II.py
114. Flatten Binary Tree to Linked List.py
114. Flatten Binary Tree to Linked List.py
115. 不同的子序列.py
115. 不同的子序列.py
116. 填充每个节点的下一个右侧节点指针.py
116. 填充每个节点的下一个右侧节点指针.py
117. 填充每个节点的下一个右侧节点指针 II.py
117. 填充每个节点的下一个右侧节点指针 II.py
118. 杨辉三角.py
118. 杨辉三角.py
119. 杨辉三角 II.py
119. 杨辉三角 II.py
120. Triangle.py
120. Triangle.py
121. Best Time to Buy and Sell Stock.py
121. Best Time to Buy and Sell Stock.py
1219. 黄金矿工.py
1219. 黄金矿工.py
122. Best Time to Buy and Sell Stock II.py
122. Best Time to Buy and Sell Stock II.py
123. 买卖股票的最佳时机 III.py
123. 买卖股票的最佳时机 III.py
124. Binary Tree Maximum Path Sum.py
124. Binary Tree Maximum Path Sum.py
1248. 统计「优美子数组.py
1248. 统计「优美子数组.py
125. 验证回文串.py
125. 验证回文串.py
126. 单词接龙 II.py
126. 单词接龙 II.py
127. 单词接龙.py
127. 单词接龙.py
128. Longest Consecutive Sequence.py
128. Longest Consecutive Sequence.py
129. 求根到叶子节点数字之和.py
129. 求根到叶子节点数字之和.py
1291. 顺次数.py
1291. 顺次数.py
130. 被围绕的区域.py
130. 被围绕的区域.py
131. 分割回文串.py
131. 分割回文串.py
132. 分割回文串 II.py
132. 分割回文串 II.py
133. 克隆图.py
133. 克隆图.py
134. 加油站.py
134. 加油站.py
135. 分发糖果.py
135. 分发糖果.py
137. 只出现一次的数字 II.py
137. 只出现一次的数字 II.py
138. 复制带随机指针的链表.py
138. 复制带随机指针的链表.py
139. Word Break.py
139. Word Break.py
140. 单词拆分 II.py
140. 单词拆分 II.py
141. Linked List Cycle.py
141. Linked List Cycle.py
142. Linked List Cycle II.py
142. Linked List Cycle II.py
143. 重排链表.py
143. 重排链表.py
144. 二叉树的前序遍历.py
144. 二叉树的前序遍历.py
145. 二叉树的后序遍历.py
145. 二叉树的后序遍历.py
146. LRU Cache.py
146. LRU Cache.py
147. 对链表进行插入排序.py
147. 对链表进行插入排序.py
148. Sort List.py
148. Sort List.py
148. 排序链表QuickSort.py
148. 排序链表QuickSort.py
150. 逆波兰表达式求值.py
150. 逆波兰表达式求值.py
151. 翻转字符串里的单词.py
151. 翻转字符串里的单词.py
153. 寻找旋转排序数组中的最小值.py
153. 寻找旋转排序数组中的最小值.py
154. 寻找旋转排序数组中的最小值 II.py
154. 寻找旋转排序数组中的最小值 II.py
155. Min Stack.py
155. Min Stack.py
156. 上下翻转二叉树.py
156. 上下翻转二叉树.py
160. Intersection of Two Linked Lists.py
160. Intersection of Two Linked Lists.py
161. 相隔为 1 的编辑距离.py
161. 相隔为 1 的编辑距离.py
162. 寻找峰值.py
162. 寻找峰值.py
164. 最大间距.py
164. 最大间距.py
165. 比较版本号.py
165. 比较版本号.py
169. Majority Element.py
169. Majority Element.py
174. Dungeon Game.py
174. Dungeon Game.py
198. House Robber.py
198. House Robber.py
199. 二叉树的右视图.py
199. 二叉树的右视图.py
20. Valid Parentheses.py
20. Valid Parentheses.py
200. Number of Islands.py
200. Number of Islands.py
201. 数字范围按位与.py
201. 数字范围按位与.py
206. Reverse Linked List.py
206. Reverse Linked List.py
207. Course Schedule.py
207. Course Schedule.py
208. Implement Trie (Prefix Tree).py
208. Implement Trie (Prefix Tree).py
209. Minimum Size Subarray Sum.py
209. Minimum Size Subarray Sum.py
211. Add and Search Word - Data structure design.py
211. Add and Search Word - Data structure design.py
212. Word Search II.py
212. Word Search II.py
213. House Robber II.py
213. House Robber II.py
215. Kth Largest Element in an Array.py
215. Kth Largest Element in an Array.py
221. Maximal Square.py
221. Maximal Square.py
222. 完全二叉树的节点个数 .py
222. 完全二叉树的节点个数 .py
226.invertTree.py
226.invertTree.py
23. 合并K个排序链表.py
23. 合并K个排序链表.py
234. Palindrome Linked List.py
234. Palindrome Linked List.py
234.回文链表.py
234.回文链表.py
235. 二叉搜索树的最近公共祖先.py
235. 二叉搜索树的最近公共祖先.py
236. Lowest Common Ancestor of a Binary Tree.py
236. Lowest Common Ancestor of a Binary Tree.py
238. Product of Array Except Self.py
238. Product of Array Except Self.py
239. Sliding Window Maximum.py
239. Sliding Window Maximum.py
279. Perfect Squares.py
279. Perfect Squares.py
283. Move Zeroes.py
283. Move Zeroes.py
287. Find the Duplicate Number.py
287. Find the Duplicate Number.py
297. Serialize and Deserialize Binary Tree.py
297. Serialize and Deserialize Binary Tree.py
30. 串联所有单词的子串.py
30. 串联所有单词的子串.py
300. Longest Increasing Subsequence.py
300. Longest Increasing Subsequence.py
301. Remove Invalid Parentheses.py
301. Remove Invalid Parentheses.py
306. Additive Number.py
306. Additive Number.py
View all files
Repository files navigation
README
More
items
python写算法更加方便一些
About
No description, website, or topics provided.
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.