![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode刷题记录
文章平均质量分 95
ExampleBreaker
这个作者很懒,什么都没留下…
展开
-
LeetCode HOT100题解记录-中等
题目目录二、中等No.1(#2)Add Two NumbersNo.2(#3)Longest Substring Without Repeating CharactersDP No.3(#5) Longest Palindromic SubstringNo.4(#11)Container With Most WaterNo.5(#15)3SumNo.6(#17)Letter Combinations of a Phone NumberNo.7(#19)Remove Nth Node From End of原创 2021-10-16 15:12:53 · 227 阅读 · 0 评论 -
LeetCode HOT100题解记录-简单
题目目录No.1(#1) Two SumNo.2(#20)Valid ParenthesesNo.3(#21)Merge Two Sorted ListsNo.4(#53)Maximum SubarrayNo.5(#70)Climbing StairsNo.6(#101)Symmetric TreeNo.1(#1) Two Sum思路:先将数组排序至递增,利用类似快排的双指针思想:和大于target就左移right指针一位,和小于target就右移左指针一位,最终找到和等于target的值,原创 2021-04-14 19:25:10 · 280 阅读 · 0 评论