# LeetCode 热题 HOT 100 题集链接: ``` https://leetcode.cn/problem-list/2cktkvj/?difficulty=EASY&page=1 ``` # 简单 ~~(简单题我重拳出击)~~ - [x] [1. 两数之和](./two-sum) - [x] [20. 有效的括号](./valid-parentheses) - [x] [21. 合并两个有序链表](./merge-two-sorted-lists) - [x] [70. 爬楼梯](./climbing-stairs) - [x] [94. 二叉树的中序遍历](./binary-tree-inorder-traversal) - [x] [101. 对称二叉树](./symmetric-tree) - [x] [104. 二叉树的最大深度](./maximum-depth-of-binary-tree) - [x] [121. 买卖股票的最佳时机]() - [x] [136. 只出现一次的数字](./single-number) - [x] [141. 环形链表]() - [x] [160. 相交链表]() - [x] [169. 多数元素]() - [x] [206. 反转链表]() - [x] [226. 翻转二叉树](./invert-binary-tree) - [x] [234. 回文链表](./palindrome-linked-list) - [x] [283. 移动零]() - [x] [338. 比特位计数](./counting-bits) - [x] [448. 找到所有数组中消失的数字](./find-all-numbers-disappeared-in-an-array) - [x] [461. 汉明距离](./hamming-distance) - [x] [543. 二叉树的直径]() - [x] [617. 合并二叉树](./merge-two-binary-trees) # 中等 - [x] [2. 两数相加](./add-two-numbers) - [x] [3. 无重复字符的最长子串](./longest-substring-without-repeating-characters) - [x] [5. 最长回文子串](./longest-palindromic-substring) - [x] [11. 盛最多水的容器](https://leetcode.cn/problems/container-with-most-water/?favorite=2cktkvj) - [x] [15. 三数之和](https://leetcode.cn/problems/3sum/?favorite=2cktkvj) - [x] [17. 电话号码的字母组合](https://leetcode.cn/problems/letter-combinations-of-a-phone-number/?favorite=2cktkvj) - [x] [19. 删除链表的倒数第 N 个结点](https://leetcode.cn/problems/remove-nth-node-from-end-of-list/?favorite=2cktkvj) - [x] [22. 括号生成](https://leetcode.cn/problems/generate-parentheses/?favorite=2cktkvj) - [x] [31. 下一个排列](https://leetcode.cn/problems/next-permutation/?favorite=2cktkvj) - [x] [33. 搜索旋转排序数组](https://leetcode.cn/problems/search-in-rotated-sorted-array/?favorite=2cktkvj) - [x] [34. 在排序数组中查找元素的第一个和最后一个位置](https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/?favorite=2cktkvj) - [x] [39. 组合总和](https://leetcode.cn/problems/combination-sum/?favorite=2cktkvj) - [x] [46. 全排列](https://leetcode.cn/problems/permutations/?favorite=2cktkvj) - [x] [48. 旋转图像](https://leetcode.cn/problems/rotate-image/?favorite=2cktkvj) - [x] [49. 字母异位词分组](https://leetcode.cn/problems/group-anagrams/?favorite=2cktkvj) - [x] [53. 最大子数组和](https://leetcode.cn/problems/maximum-subarray/?favorite=2cktkvj) - [x] [55. 跳跃游戏](./jump-game) - [x] [56. 合并区间](https://leetcode.cn/problems/merge-intervals/?favorite=2cktkvj) - [x] [62. 不同路径](https://leetcode.cn/problems/unique-paths/?favorite=2cktkvj) - [x] [64. 最小路径和](https://leetcode.cn/problems/minimum-path-sum/?favorite=2cktkvj) - [x] [75. 颜色分类](https://leetcode.cn/problems/sort-colors/?favorite=2cktkvj) - [x] [78. 子集](https://leetcode.cn/problems/subsets/?favorite=2cktkvj) - [x] [79. 单词搜索](https://leetcode.cn/problems/word-search/?favorite=2cktkvj) - [x] [96. 不同的二叉搜索树](https://leetcode.cn/problems/unique-binary-search-trees/?favorite=2cktkvj) - [x] [98. 验证二叉搜索树](https://leetcode.cn/problems/validate-binary-search-tree/?favorite=2cktkvj) - [x] [102. 二叉树的层序遍历](./binary-tree-level-order-traversal) - [x] [105. 从前序与中序遍历序列构造二叉树](https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal/?favorite=2cktkvj) - [x] [114. 二叉树展开为链表](https://leetcode.cn/problems/flatten-binary-tree-to-linked-list/?favorite=2cktkvj) - [x] [128. 最长连续序列](https://leetcode.cn/problems/longest-consecutive-sequence/?favorite=2cktkvj) - [x] [139. 单词拆分](https://leetcode.cn/problems/word-break/?favorite=2cktkvj) - [x] [142. 环形链表 II](https://leetcode.cn/problems/linked-list-cycle-ii/?favorite=2cktkvj) - [x] [146. LRU 缓存](https://leetcode.cn/problems/lru-cache/?favorite=2cktkvj) - [x] [148. 排序链表](https://leetcode.cn/problems/sort-list/?favorite=2cktkvj) - [ ] [152. 乘积最大子数组](https://leetcode.cn/problems/maximum-product-subarray/?favorite=2cktkvj) - [x] [155. 最小栈](./min-stack) - [x] [198. 打家劫舍](https://leetcode.cn/problems/house-robber/?favorite=2cktkvj) - [x] [200. 岛屿数量](./number-of-islands) - [x] [207. 课程表](https://leetcode.cn/problems/course-schedule/?favorite=2cktkvj) - [x] [208. 实现 Trie (前缀树)](https://leetcode.cn/problems/implement-trie-prefix-tree/?favorite=2cktkvj) - [x] [215. 数组中的第K个最大元素](https://leetcode.cn/problems/kth-largest-element-in-an-array/?favorite=2cktkvj) - [x] [221. 最大正方形](https://leetcode.cn/problems/maximal-square/?favorite=2cktkvj) - [x] [236. 二叉树的最近公共祖先](https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree/?favorite=2cktkvj) - [x] [238. 除自身以外数组的乘积](https://leetcode.cn/problems/product-of-array-except-self/?favorite=2cktkvj) - [ ] [240. 搜索二维矩阵 II](https://leetcode.cn/problems/search-a-2d-matrix-ii/?favorite=2cktkvj) - [ ] [253. 会议室 II](https://leetcode.cn/problems/meeting-rooms-ii/?favorite=2cktkvj) - [x] [279. 完全平方数](https://leetcode.cn/problems/perfect-squares/?favorite=2cktkvj) - [x] [287. 寻找重复数](https://leetcode.cn/problems/find-the-duplicate-number/?favorite=2cktkvj) - [ ] [300. 最长递增子序列](https://leetcode.cn/problems/longest-increasing-subsequence/?favorite=2cktkvj) - [ ] [309. 最佳买卖股票时机含冷冻期](https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-with-cooldown/?favorite=2cktkvj) - [ ] [322. 零钱兑换](https://leetcode.cn/problems/coin-change/?favorite=2cktkvj) - [ ] [337. 打家劫舍 III](https://leetcode.cn/problems/house-robber-iii/?favorite=2cktkvj) - [ ] [347. 前 K 个高频元素](https://leetcode.cn/problems/top-k-frequent-elements/?favorite=2cktkvj) - [ ] [394. 字符串解码](https://leetcode.cn/problems/decode-string/?favorite=2cktkvj) - [ ] [399. 除法求值](https://leetcode.cn/problems/evaluate-division/?favorite=2cktkvj) - [x] [406. 根据身高重建队列](https://leetcode.cn/problems/queue-reconstruction-by-height/?favorite=2cktkvj) - [ ] [416. 分割等和子集](https://leetcode.cn/problems/partition-equal-subset-sum/?favorite=2cktkvj) - [ ] [437. 路径总和 III](https://leetcode.cn/problems/path-sum-iii/?favorite=2cktkvj) - [ ] [438. 找到字符串中所有字母异位词](https://leetcode.cn/problems/find-all-anagrams-in-a-string/?favorite=2cktkvj) - [ ] [494. 目标和](https://leetcode.cn/problems/target-sum/?favorite=2cktkvj) - [x] [538. 把二叉搜索树转换为累加树](https://leetcode.cn/problems/convert-bst-to-greater-tree/?favorite=2cktkvj) - [ ] [560. 和为 K 的子数组](https://leetcode.cn/problems/subarray-sum-equals-k/?favorite=2cktkvj) - [x] [581. 最短无序连续子数组](https://leetcode.cn/problems/shortest-unsorted-continuous-subarray/?favorite=2cktkvj) - [x] [621. 任务调度器](https://leetcode.cn/problems/task-scheduler/?favorite=2cktkvj) - [x] [647. 回文子串](https://leetcode.cn/problems/palindromic-substrings/?favorite=2cktkvj) - [x] [739. 每日温度](./daily-temperatures) # 困难 - [ ] [10. 正则表达式匹配](https://leetcode.cn/problems/regular-expression-matching/?favorite=2cktkvj) - [x] [23. 合并K个升序链表](./merge-k-sorted-lists) - [ ] [32. 最长有效括号](https://leetcode.cn/problems/longest-valid-parentheses/?favorite=2cktkvj) - [x] [42. 接雨水](https://leetcode.cn/problems/trapping-rain-water/?favorite=2cktkvj) - [ ] [72. 编辑距离](https://leetcode.cn/problems/edit-distance/?favorite=2cktkvj) - [ ] [76. 最小覆盖子串](https://leetcode.cn/problems/minimum-window-substring/?favorite=2cktkvj) - [ ] [84. 柱状图中最大的矩形](https://leetcode.cn/problems/largest-rectangle-in-histogram/?favorite=2cktkvj) - [x] [85. 最大矩形](https://leetcode.cn/problems/maximal-rectangle/?favorite=2cktkvj) - [x] [124. 二叉树中的最大路径和](https://leetcode.cn/problems/binary-tree-maximum-path-sum/?favorite=2cktkvj) - [ ] [239. 滑动窗口最大值](https://leetcode.cn/problems/sliding-window-maximum/?favorite=2cktkvj) - [x] [297. 二叉树的序列化与反序列化](https://leetcode.cn/problems/serialize-and-deserialize-binary-tree/?favorite=2cktkvj) - [ ] [301. 删除无效的括号](https://leetcode.cn/problems/remove-invalid-parentheses/?favorite=2cktkvj) - [x] [312. 戳气球](https://leetcode.cn/problems/burst-balloons/?favorite=2cktkvj)