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 }}
powcai001
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
4
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
Latest commit
History
34 Commits
34 Commits
Folders and files
Name
Name
Last commit message
Last commit date
Sorry, we had to truncate this directory to 1,000 files. 90 entries were omitted from the list.
.idea
.idea
01 Matrix.py
01 Matrix.py
1-bit and 2-bit Characters.py
1-bit and 2-bit Characters.py
1. 形成字符串的最短路径.py
1. 形成字符串的最短路径.py
1. 易混淆数.py
1. 易混淆数.py
1. 有序数组中的缺失元素.py
1. 有序数组中的缺失元素.py
10. Regular Expression Matching.py
10. Regular Expression Matching.py
1001. 网格照明.py
1001. 网格照明.py
1002. 查找常用字符.py
1002. 查找常用字符.py
1003. 检查替换后的词是否有效.py
1003. 检查替换后的词是否有效.py
1004. 最大连续1的个数 III.py
1004. 最大连续1的个数 III.py
1005. K 次取反后最大化的数组和.py
1005. K 次取反后最大化的数组和.py
1006. 笨阶乘.py
1006. 笨阶乘.py
1007. 行相等的最少多米诺旋转.py
1007. 行相等的最少多米诺旋转.py
1008. 先序遍历构造二叉树.py
1008. 先序遍历构造二叉树.py
1011. Capacity To Ship Packages Within D Days.py
1011. Capacity To Ship Packages Within D Days.py
1012. 十进制整数的补码.py
1012. 十进制整数的补码.py
1013. 总持续时间可被 60 整除的歌曲.py
1013. 总持续时间可被 60 整除的歌曲.py
1014. 在 D 天内送达包裹的能力.py
1014. 在 D 天内送达包裹的能力.py
1020. 将数组分成和相等的三个部分.py
1020. 将数组分成和相等的三个部分.py
1021. 最佳观光组合.py
1021. 最佳观光组合.py
1022. 可被 K 整除的最小整数.py
1022. 可被 K 整除的最小整数.py
1023. 子串能表示从 1 到 N 数字的二进制串.py
1023. 子串能表示从 1 到 N 数字的二进制串.py
1027. Longest Arithmetic Sequence.py
1027. Longest Arithmetic Sequence.py
1028. 负二进制转换.py
1028. 负二进制转换.py
1029. 两地调度.py
1029. 两地调度.py
1029. 可被 5 整除的二进制前缀.py
1029. 可被 5 整除的二进制前缀.py
1030. 距离顺序排列矩阵单元格.py
1030. 距离顺序排列矩阵单元格.py
1030. 链表中的下一个更大节点.py
1030. 链表中的下一个更大节点.py
1031. 两个非重叠子数组的最大和.py
1031. 两个非重叠子数组的最大和.py
1031. 飞地的数量.py
1031. 飞地的数量.py
1038. Binary Search Tree to Greater Sum Tree.py
1038. Binary Search Tree to Greater Sum Tree.py
1049. 最后一块石头的重量 II.py
1049. 最后一块石头的重量 II.py
105. Construct Binary Tree from Preorder and Inorder Traversal.py
105. Construct Binary Tree from Preorder and Inorder Traversal.py
1051. 高度检查器.py
1051. 高度检查器.py
1052. 爱生气的书店老板.py
1052. 爱生气的书店老板.py
1053. 前一个排列交换一次.py
1053. 前一个排列交换一次.py
1054. 远距离条形码.py
1054. 远距离条形码.py
106. Construct Binary Tree from Inorder and Postorder Traversal.py
106. Construct Binary Tree from Inorder and Postorder Traversal.py
1080. Insufficient Nodes in Root to Leaf Paths.py
1080. Insufficient Nodes in Root to Leaf Paths.py
1080. 根到叶路径上的不足节点.py
1080. 根到叶路径上的不足节点.py
1085. 最小元素各数位之和.py
1085. 最小元素各数位之和.py
1086. 前五科的均分.py
1086. 前五科的均分.py
1087. 字母切换.py
1087. 字母切换.py
1088. 易混淆数 II.py
1088. 易混淆数 II.py
1089. Duplicate Zeros.py
1089. Duplicate Zeros.py
1090. Largest Values From Labels.py
1090. Largest Values From Labels.py
1091. Shortest Path in Binary Matrix.py
1091. Shortest Path in Binary Matrix.py
1092. Shortest Common Supersequence.py
1092. Shortest Common Supersequence.py
1093. 大样本统计.py
1093. 大样本统计.py
1094. 拼车.py
1094. 拼车.py
1095. 山脉数组中查找目标值.py
1095. 山脉数组中查找目标值.py
11. Container With Most Water.py
11. Container With Most Water.py
1103. 二叉树寻路.py
1103. 二叉树寻路.py
1104. 分糖果 II.py
1104. 分糖果 II.py
1105. Filling Bookcase Shelves.py
1105. Filling Bookcase Shelves.py
1105. 填充书架.py
1105. 填充书架.py
1118. 一月有多少天.py
1118. 一月有多少天.py
1119. 删去字符串中的元音.py
1119. 删去字符串中的元音.py
1120. 子树的最大平均值.py
1120. 子树的最大平均值.py
1121. 将数组分成几个递增序列.py
1121. 将数组分成几个递增序列.py
113. Path Sum II.py
113. Path Sum II.py
1130. Minimum Cost Tree From Leaf Values.py
1130. Minimum Cost Tree From Leaf Values.py
1135. Connecting Cities With Minimum Cost.py
1135. Connecting Cities With Minimum Cost.py
1143. Longest Common Subsequence.py
1143. Longest Common Subsequence.py
115. Distinct Subsequences.py
115. Distinct Subsequences.py
1151. 最少交换次数来组合所有的 1.py
1151. 最少交换次数来组合所有的 1.py
1152. 用户网站访问行为分析.py
1152. 用户网站访问行为分析.py
1153. 字符串转化.py
1153. 字符串转化.py
1154. 一年中的第几天.py
1154. 一年中的第几天.py
1155. 掷骰子的N种方法.py
1155. 掷骰子的N种方法.py
1156. 单字符重复子串的最大长度.py
1156. 单字符重复子串的最大长度.py
1162. As Far from Land as Possible.py
1162. As Far from Land as Possible.py
1198. Find Smallest Common Element in All Rows.py
1198. Find Smallest Common Element in All Rows.py
1236. Web Crawler.py
1236. Web Crawler.py
124. Binary Tree Maximum Path Sum.py
124. Binary Tree Maximum Path Sum.py
1246. Palindrome Removal.py
1246. Palindrome Removal.py
126. Word Ladder II.py
126. Word Ladder II.py
127. Word Ladder.py
127. Word Ladder.py
132 Pattern.py
132 Pattern.py
132. Palindrome Partitioning II.py
132. Palindrome Partitioning II.py
1325. Delete Leaves With a Given Value.py
1325. Delete Leaves With a Given Value.py
1328. Break a Palindrome.py
1328. Break a Palindrome.py
1329. Sort the Matrix Diagonally.py
1329. Sort the Matrix Diagonally.py
133. Clone Graph.py
133. Clone Graph.py
1330. Reverse Subarray To Maximize Array Value.py
1330. Reverse Subarray To Maximize Array Value.py
1331. Rank Transform of an Array.py
1331. Rank Transform of an Array.py
1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance.py
1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance.py
1335. Minimum Difficulty of a Job Schedule.py
1335. Minimum Difficulty of a Job Schedule.py
135. Candy.py
135. Candy.py
138. Copy List with Random Pointer.py
138. Copy List with Random Pointer.py
139. Word Break.py
139. Word Break.py
143. Reorder List.py
143. Reorder List.py
1434. Number of Ways to Wear Different Hats to Each Other.py
1434. Number of Ways to Wear Different Hats to Each Other.py
146. LRU Cache.py
146. LRU Cache.py
147. Insertion Sort List.py
147. Insertion Sort List.py
148. Sort List.py
148. Sort List.py
149. Max Points on a Line.py
149. Max Points on a Line.py
151. Reverse Words in a String.py
151. Reverse Words in a String.py
152. Maximum Product Subarray.py
152. Maximum Product Subarray.py
View all files
Repository files navigation
README
More
items
leetcode 刷题
大家可以关注我的
知乎专栏
, 了解更多的解题技巧, 共同进步!
About
刷题
Resources
Readme
Activity
Stars
4
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.