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 }}
gssdromen
/
leetcode
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
116 Commits
116 Commits
1. 两数之和
1. 两数之和
10. 正则表达式匹配/
Rust
10. 正则表达式匹配/
Rust
100. 相同的树/
swift/
main
100. 相同的树/
swift/
main
101. 对称二叉树
101. 对称二叉树
102. 二叉树的层序遍历/
MyPlayground.playground
102. 二叉树的层序遍历/
MyPlayground.playground
104. 二叉树的最大深度
104. 二叉树的最大深度
105. 从前序与中序遍历序列构造二叉树
105. 从前序与中序遍历序列构造二叉树
1071. 字符串的最大公因子/
swift/
main
1071. 字符串的最大公因子/
swift/
main
108. 将有序数组转换为二叉搜索树
108. 将有序数组转换为二叉搜索树
11. 盛最多水的容器
11. 盛最多水的容器
113. 路径总和 II/
swift/
main
113. 路径总和 II/
swift/
main
1137. 第 N 个泰波那契数/
swift/
main
1137. 第 N 个泰波那契数/
swift/
main
1143. 最长公共子序列
1143. 最长公共子序列
120. 三角形最小路径和
120. 三角形最小路径和
121. 买卖股票的最佳时机/
swift/
main
121. 买卖股票的最佳时机/
swift/
main
124. 二叉树中的最大路径和
124. 二叉树中的最大路径和
125. 验证回文串
125. 验证回文串
128. 最长连续序列/
MyPlayground.playground
128. 最长连续序列/
MyPlayground.playground
1281. 整数的各位积和之差/
Rust
1281. 整数的各位积和之差/
Rust
1295. 统计位数为偶数的数字/
Rust
1295. 统计位数为偶数的数字/
Rust
131. 分割回文串/
swift/
main
131. 分割回文串/
swift/
main
1313. 解压缩编码列表/
Rust
1313. 解压缩编码列表/
Rust
1342. 将数字变成 0 的操作次数/
Rust
1342. 将数字变成 0 的操作次数/
Rust
136. 只出现一次的数字/
MyPlayground.playground
136. 只出现一次的数字/
MyPlayground.playground
139. 单词拆分/
Rust
139. 单词拆分/
Rust
14. 最长公共前缀/
swift/
main
14. 最长公共前缀/
swift/
main
141. 环形链表/
swift/
main
141. 环形链表/
swift/
main
1431. 拥有最多糖果的孩子
1431. 拥有最多糖果的孩子
144. 二叉树的前序遍历/
swift/
main
144. 二叉树的前序遍历/
swift/
main
145. 二叉树的后序遍历/
swift/
main
145. 二叉树的后序遍历/
swift/
main
1450. 在既定时间做作业的学生人数/
Rust
1450. 在既定时间做作业的学生人数/
Rust
1456. 定长子串中元音的最大数目/
swift/
main
1456. 定长子串中元音的最大数目/
swift/
main
1470. 重新排列数组/
Rust
1470. 重新排列数组/
Rust
1480. 一维数组的动态和/
Solution
1480. 一维数组的动态和/
Solution
1486. 数组异或操作/
Rust
1486. 数组异或操作/
Rust
15. 三数之和
15. 三数之和
151. 反转字符串中的单词/
swift/
main
151. 反转字符串中的单词/
swift/
main
152. 乘积最大子数组
152. 乘积最大子数组
155. 最小栈/
MyPlayground.playground
155. 最小栈/
MyPlayground.playground
160. 相交链表/
swift/
main
160. 相交链表/
swift/
main
167. 两数之和 II - 输入有序数组/
Rust
167. 两数之和 II - 输入有序数组/
Rust
169. 多数元素/
swift/
main
169. 多数元素/
swift/
main
17. 电话号码的字母组合
17. 电话号码的字母组合
174. 地下城游戏/
Rust
174. 地下城游戏/
Rust
1768. 交替合并字符串
1768. 交替合并字符串
189. 轮转数组/
swift/
main
189. 轮转数组/
swift/
main
19. 删除链表的倒数第N个节点/
swift/
main
19. 删除链表的倒数第N个节点/
swift/
main
198. 打家劫舍
198. 打家劫舍
2. 两数相加
2. 两数相加
20. 有效的括号/
swift/
main
20. 有效的括号/
swift/
main
200. 岛屿数量/
swift/
main
200. 岛屿数量/
swift/
main
202. 快乐数
202. 快乐数
203. 移除链表元素/
swift/
main
203. 移除链表元素/
swift/
main
206. 反转链表/
swift/
main
206. 反转链表/
swift/
main
209. 长度最小的子数组/
swift/
main
209. 长度最小的子数组/
swift/
main
2095. 删除链表的中间节点/
swift/
main
2095. 删除链表的中间节点/
swift/
main
21. 合并两个有序链表/
MyPlayground.playground
21. 合并两个有序链表/
MyPlayground.playground
215. 数组中的第K个最大元素/
Rust
215. 数组中的第K个最大元素/
Rust
216. 组合总和 III/
swift/
main
216. 组合总和 III/
swift/
main
22. 括号生成/
swift/
main
22. 括号生成/
swift/
main
221. 最大正方形/
MyPlayground.playground
221. 最大正方形/
MyPlayground.playground
2215. 找出两数组的不同/
swift/
main
2215. 找出两数组的不同/
swift/
main
226. 翻转二叉树
226. 翻转二叉树
228. 汇总区间/
swift/
main
228. 汇总区间/
swift/
main
234. 回文链表/
swift/
main
234. 回文链表/
swift/
main
236. 二叉树的最近公共祖先/
MyPlayground.playground
236. 二叉树的最近公共祖先/
MyPlayground.playground
237. 删除链表中的节点
237. 删除链表中的节点
238. 除自身以外数组的乘积/
MyPlayground.playground
238. 除自身以外数组的乘积/
MyPlayground.playground
24. 两两交换链表中的节点
24. 两两交换链表中的节点
25. K 个一组翻转链表
25. K 个一组翻转链表
26. 删除有序数组中的重复项
26. 删除有序数组中的重复项
27. 移除元素
27. 移除元素
274. H 指数/
swift/
main
274. H 指数/
swift/
main
2824. 统计和小于目标的下标对数目
2824. 统计和小于目标的下标对数目
283. 移动零/
swift/
main
283. 移动零/
swift/
main
287. 寻找重复数/
MyPlayground.playground
287. 寻找重复数/
MyPlayground.playground
3. 无重复字符的最长子串/
swift/
main
3. 无重复字符的最长子串/
swift/
main
309. 最佳买卖股票时机含冷冻期/
Rust
309. 最佳买卖股票时机含冷冻期/
Rust
32. 最长有效括号/
Rust
32. 最长有效括号/
Rust
334. 递增的三元子序列/
swift/
main
334. 递增的三元子序列/
swift/
main
34. 在排序数组中查找元素的第一个和最后一个位置/
swift/
main
34. 在排序数组中查找元素的第一个和最后一个位置/
swift/
main
345. 反转字符串中的元音字母/
swift/
main
345. 反转字符串中的元音字母/
swift/
main
35. 搜索插入位置
35. 搜索插入位置
350. 两个数组的交集 II/
Rust
350. 两个数组的交集 II/
Rust
380. O(1) 时间插入、删除和获取随机元素/
swift/
main
380. O(1) 时间插入、删除和获取随机元素/
swift/
main
386. 字典序排数/
MyPlayground.playground
386. 字典序排数/
MyPlayground.playground
39. 组合总和/
swift/
main
39. 组合总和/
swift/
main
392. 判断子序列/
swift/
main
392. 判断子序列/
swift/
main
40. 组合总和 II/
swift/
main
40. 组合总和 II/
swift/
main
42. 接雨水/
swift
42. 接雨水/
swift
45. 跳跃游戏 II
45. 跳跃游戏 II
46. 全排列
46. 全排列
47. 全排列 II/
swift/
main
47. 全排列 II/
swift/
main
49. 字母异位词分组/
swift/
main
49. 字母异位词分组/
swift/
main
491. 非递减子序列/
swift/
main
491. 非递减子序列/
swift/
main
496. 下一个更大元素 I/
swift/
main
496. 下一个更大元素 I/
swift/
main
5. 最长回文子串/
go
5. 最长回文子串/
go
50. Pow(x, n)/
MyPlayground.playground
50. Pow(x, n)/
MyPlayground.playground
509. 斐波那契数
509. 斐波那契数
525. 连续数组/
swift/
main
525. 连续数组/
swift/
main
View all files
About
No description, website, or topics provided.
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.