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 }}
TRY888
/
LintCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
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
133 Commits
133 Commits
CLib
CLib
linkedList
linkedList
queue
queue
stack
stack
004. 丑数 II.cpp
004. 丑数 II.cpp
005. 第k大元素.cpp
005. 第k大元素.cpp
012. 带最小值操作的栈.cpp
012. 带最小值操作的栈.cpp
031. 数组划分.cpp
031. 数组划分.cpp
035. 翻转链表.cpp
035. 翻转链表.cpp
036. 翻转链表 II.cpp
036. 翻转链表 II.cpp
040. 用栈实现队列.cpp
040. 用栈实现队列.cpp
048. 主元素 III.cpp
048. 主元素 III.cpp
049. 字符大小写排序.cpp
049. 字符大小写排序.cpp
056. 两数之和.cpp
056. 两数之和.cpp
057. 三数之和.cpp
057. 三数之和.cpp
058. 四数之和.cpp
058. 四数之和.cpp
059. 最接近的三数之和.cpp
059. 最接近的三数之和.cpp
080. 中位数.cpp
080. 中位数.cpp
081. 数据流中位数.cpp
081. 数据流中位数.cpp
093. 平衡二叉树.cpp
093. 平衡二叉树.cpp
096. 链表划分.cpp
096. 链表划分.cpp
097. 二叉树的最大深度.cpp
097. 二叉树的最大深度.cpp
098. 链表排序.cpp
098. 链表排序.cpp
099. 重排链表.cpp
099. 重排链表.cpp
102. 带环链表.cpp
102. 带环链表.cpp
103. 带环链表 II.cpp
103. 带环链表 II.cpp
104. 合并k个排序链表.cpp
104. 合并k个排序链表.cpp
105. 复制带随机指针的链表.cpp
105. 复制带随机指针的链表.cpp
106. 排序列表转换为二分查找树.cpp
106. 排序列表转换为二分查找树.cpp
112. 删除排序链表中的重复元素.cpp
112. 删除排序链表中的重复元素.cpp
113. 删除排序链表中的重复数字 II .cpp
113. 删除排序链表中的重复数字 II .cpp
122. 直方图最大矩形覆盖.cpp
122. 直方图最大矩形覆盖.cpp
130. 堆化.cpp
130. 堆化.cpp
132. 单词搜索II.cpp
132. 单词搜索II.cpp
133. 最长单词.cpp
133. 最长单词.cpp
139. 最接近零的子数组和.cpp
139. 最接近零的子数组和.cpp
143. 排颜色 II.cpp
143. 排颜色 II.cpp
148. 颜色分类.cpp
148. 颜色分类.cpp
155. 二叉树的最小深度.cpp
155. 二叉树的最小深度.cpp
156. 合并区间.cpp
156. 合并区间.cpp
165. 合并两个排序链表.cpp
165. 合并两个排序链表.cpp
166. 链表倒数第n个节点.cpp
166. 链表倒数第n个节点.cpp
167. 链表求和.cpp
167. 链表求和.cpp
170. 旋转链表.cpp
170. 旋转链表.cpp
173. 链表插入排序.cpp
173. 链表插入排序.cpp
174. 删除链表中倒数第n个节点.cpp
174. 删除链表中倒数第n个节点.cpp
175. 翻转二叉树.cpp
175. 翻转二叉树.cpp
177. 把排序数组转换为高度最小的二叉搜索树.cpp
177. 把排序数组转换为高度最小的二叉搜索树.cpp
184. 最大数.cpp
184. 最大数.cpp
221. 链表求和 II.cpp
221. 链表求和 II.cpp
223. 回文链表.cpp
223. 回文链表.cpp
227. 用栈模拟汉诺塔问题.cpp
227. 用栈模拟汉诺塔问题.cpp
366. 斐波纳契数列.cpp
366. 斐波纳契数列.cpp
368. 表达式求值.cpp
368. 表达式求值.cpp
370. 将表达式转换为逆波兰表达式.cpp
370. 将表达式转换为逆波兰表达式.cpp
372. 在O(1)时间复杂度删除链表节点.cpp
372. 在O(1)时间复杂度删除链表节点.cpp
375. 克隆二叉树.cpp
375. 克隆二叉树.cpp
378. 将二叉查找树转换成双链表.cpp
378. 将二叉查找树转换成双链表.cpp
380. 两个链表的交叉.cpp
380. 两个链表的交叉.cpp
387. 最小差.cpp
387. 最小差.cpp
399. Nuts 和 Bolts 的问题.cpp
399. Nuts 和 Bolts 的问题.cpp
400. 最大间距.cpp
400. 最大间距.cpp
401. 排序矩阵中的从小到大第k个数.cpp
401. 排序矩阵中的从小到大第k个数.cpp
421. 简化路径.cpp
421. 简化路径.cpp
423. 有效的括号序列.cpp
423. 有效的括号序列.cpp
424. 逆波兰表达式求值.cpp
424. 逆波兰表达式求值.cpp
442. 实现 Trie.cpp
442. 实现 Trie.cpp
450. K组翻转链表.cpp
450. K组翻转链表.cpp
451. 两两交换链表中的节点.cpp
451. 两两交换链表中的节点.cpp
452. 删除链表中的元素.cpp
452. 删除链表中的元素.cpp
463. 整数排序.cpp
463. 整数排序.cpp
464. 整数排序 II.cpp
464. 整数排序 II.cpp
466. 链表节点计数.cpp
466. 链表节点计数.cpp
473. 单词的添加与查找.cpp
473. 单词的添加与查找.cpp
480. 二叉树的所有路径.cpp
480. 二叉树的所有路径.cpp
508. 摆动排序.cpp
508. 摆动排序.cpp
510. 最大矩形.cpp
510. 最大矩形.cpp
511. 交换链表当中两个节点.cpp
511. 交换链表当中两个节点.cpp
518. 超级丑数.cpp
518. 超级丑数.cpp
528. 摊平嵌套的列表.cpp
528. 摊平嵌套的列表.cpp
532. 逆序对.cpp
532. 逆序对.cpp
547. 两数组的交.cpp
547. 两数组的交.cpp
548. 两数组的交 II.cpp
548. 两数组的交 II.cpp
575. 表达式展开.cpp
575. 表达式展开.cpp
612. K个最近的点.cpp
612. K个最近的点.cpp
632. 二叉树的最大节点.cpp
632. 二叉树的最大节点.cpp
636. 132 模式.cpp
636. 132 模式.cpp
722. 最大子数组VI.cpp
722. 最大子数组VI.cpp
726. 验证满二叉树.cpp
726. 验证满二叉树.cpp
822. Reverse Order Storage.cpp
822. Reverse Order Storage.cpp
README.md
README.md
View all files
Repository files navigation
README
More
items
LintCode
used for LintCode
About
LintCode题解,实现语言为C++,更新中
Topics
cpp
lintcode-solutions
Resources
Readme
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.