← 返回首页Leetcode Hot100(Chython)Leetcode Hot100(Chython)概览刷题记录序号题号 · 名称类型已理解已掌握011 · 两数之和Two Sum哈希0249 · 字母异位词分组Group Anagrams哈希03128 · 最长连续序列Longest Consecutive Sequence哈希04169 · 多数元素Majority Element数组05121 · 买卖股票的最佳时机Best Time to Buy and Sell Stock数组0653 · 最大子数组和Maximum Subarray数组✓0756 · 合并区间Merge Intervals数组✓08189 · 轮转数组Rotate Array数组✓09238 · 除自身以外数组的乘积Product of Array Except Self数组✓10283 · 移动零Move Zeroes双指针✓1111 · 盛最多水的容器Container With Most Water双指针1215 · 三数之和3Sum双指针1375 · 颜色分类Sort Colors双指针1431 · 下一个排列Next Permutation数组15287 · 寻找重复数Find the Duplicate Number双指针 / Floyd163 · 无重复字符的最长子串Longest Substring Without Repeating Characters滑动窗口17438 · 找到字符串中所有字母异位词Find All Anagrams in a String滑动窗口18560 · 和为 K 的子数组Subarray Sum Equals K前缀和1942 · 接雨水Trapping Rain Water双指针20239 · 滑动窗口最大值Sliding Window Maximum单调队列2176 · 最小覆盖子串Minimum Window Substring滑动窗口22160 · 相交链表Intersection of Two Linked Lists链表23206 · 反转链表Reverse Linked List链表24234 · 回文链表Palindrome Linked List链表25141 · 环形链表Linked List Cycle链表26142 · 环形链表 IILinked List Cycle II链表2721 · 合并两个有序链表Merge Two Sorted Lists链表282 · 两数相加Add Two Numbers链表2919 · 删除链表的倒数第 N 个结点Remove Nth Node From End of List链表3024 · 两两交换链表中的节点Swap Nodes in Pairs链表3125 · K 个一组翻转链表Reverse Nodes in k-Group链表32138 · 随机链表的复制Copy List with Random Pointer链表33148 · 排序链表Sort List链表3423 · 合并 K 个升序链表Merge k Sorted Lists堆 / 链表35146 · LRU 缓存LRU Cache链表 + 哈希3694 · 二叉树的中序遍历Binary Tree Inorder Traversal二叉树37104 · 二叉树的最大深度Maximum Depth of Binary Tree二叉树38226 · 翻转二叉树Invert Binary Tree二叉树39101 · 对称二叉树Symmetric Tree二叉树40543 · 二叉树的直径Diameter of Binary Tree二叉树41102 · 二叉树的层序遍历Binary Tree Level Order TraversalBFS42108 · 将有序数组转换为二叉搜索树Convert Sorted Array to Binary Search TreeBST4398 · 验证二叉搜索树Validate Binary Search TreeBST44230 · 二叉搜索树中第 K 小的元素Kth Smallest Element in a BSTBST45199 · 二叉树的右视图Binary Tree Right Side ViewBFS46114 · 二叉树展开为链表Flatten Binary Tree to Linked List二叉树47105 · 从前序与中序遍历序列构造二叉树Construct Binary Tree from Preorder and Inorder Traversal二叉树48437 · 路径总和 IIIPath Sum III前缀和 + 树49236 · 二叉树的最近公共祖先Lowest Common Ancestor of a Binary Tree二叉树50124 · 二叉树中的最大路径和Binary Tree Maximum Path Sum树形 DP51200 · 岛屿数量Number of IslandsDFS / BFS52994 · 腐烂的橘子Rotting OrangesBFS53207 · 课程表Course Schedule拓扑排序54208 · 实现 TrieImplement TrieTrie5546 · 全排列Permutations回溯5678 · 子集Subsets回溯5717 · 电话号码的字母组合Letter Combinations of a Phone Number回溯5839 · 组合总和Combination Sum回溯5922 · 括号生成Generate Parentheses回溯6079 · 单词搜索Word Search回溯61131 · 分割回文串Palindrome Partitioning回溯6251 · N 皇后N-Queens回溯6335 · 搜索插入位置Search Insert Position二分6474 · 搜索二维矩阵Search a 2D Matrix二分6534 · 在排序数组中查找元素的第一个和最后一个位置Find First and Last Position of Element in Sorted Array二分6633 · 搜索旋转排序数组Search in Rotated Sorted Array二分67153 · 寻找旋转排序数组中的最小值Find Minimum in Rotated Sorted Array二分684 · 寻找两个正序数组的中位数Median of Two Sorted Arrays二分6920 · 有效的括号Valid Parentheses栈70155 · 最小栈Min Stack栈71394 · 字符串解码Decode String栈72739 · 每日温度Daily Temperatures单调栈7384 · 柱状图中最大的矩形Largest Rectangle in Histogram单调栈74215 · 数组中的第 K 个最大元素Kth Largest Element in an Array堆75347 · 前 K 个高频元素Top K Frequent Elements堆76295 · 数据流的中位数Find Median from Data Stream双堆7770 · 爬楼梯Climbing StairsDP78118 · 杨辉三角Pascal's TriangleDP79198 · 打家劫舍House RobberDP80279 · 完全平方数Perfect SquaresDP81322 · 零钱兑换Coin ChangeDP82139 · 单词拆分Word BreakDP83300 · 最长递增子序列Longest Increasing SubsequenceDP84152 · 乘积最大子数组Maximum Product SubarrayDP85416 · 分割等和子集Partition Equal Subset Sum0/1 背包8662 · 不同路径Unique Paths二维 DP8764 · 最小路径和Minimum Path Sum二维 DP885 · 最长回文子串Longest Palindromic SubstringDP891143 · 最长公共子序列Longest Common Subsequence二维 DP9072 · 编辑距离Edit Distance二维 DP91136 · 只出现一次的数字Single Number位运算92191 · 位 1 的个数Number of 1 Bits位运算93338 · 比特位计数Counting Bits位运算 / DP94461 · 汉明距离Hamming Distance位运算9548 · 旋转图像Rotate Image矩阵9654 · 螺旋矩阵Spiral Matrix矩阵9773 · 矩阵置零Set Matrix Zeroes矩阵98240 · 搜索二维矩阵 IISearch a 2D Matrix II矩阵99169 / 综合复习 · 多数元素模式复习Majority Element Pattern Review模式复习100综合复习 · Hot100 模式总复盘Hot100 Pattern Review总结