cswork / lists打开题库

题号对照

LeetCode 热题 100 对照

把 LeetCode 热题 100 的 100 道题按题号对照到 CSWork:93 道可在本站在线判题,其余标为站外并链接到力扣。非官方题单,仅做题号对照。

93 / 100 道可在本站判题站外 7 道
在题库里按这份题单练习 →

哈希3 题 · 本站可判 3

  1. 1Two Sum02 哈希计数本站可判简单
  2. 49Group Anagrams02 哈希计数本站可判中等
  3. 128Longest Consecutive Sequence02 哈希计数本站可判中等

双指针4 题 · 本站可判 4

  1. 283Move Zeroes01 原地数组本站可判简单
  2. 11Container With Most Water04 双指针滑窗本站可判中等
  3. 153Sum04 双指针滑窗本站可判中等
  4. 42Trapping Rain Water04 双指针滑窗本站可判困难

滑动窗口2 题 · 本站可判 2

  1. 3Longest Substring Without Repeating Characters04 双指针滑窗本站可判中等
  2. 438Find All Anagrams in a String04 双指针滑窗本站可判中等

子串3 题 · 本站可判 3

  1. 560Subarray Sum Equals K05 前缀和区间本站可判中等
  2. 239Sliding Window Maximum07 单调栈与堆本站可判困难
  3. 76Minimum Window Substring04 双指针滑窗本站可判困难

普通数组5 题 · 本站可判 4

  1. 53Maximum Subarray01 原地数组本站可判中等
  2. 56Merge Intervals05 前缀和区间本站可判中等
  3. 189LeetCode 189(在新窗口打开)站外
  4. 238Product of Array Except Self01 原地数组本站可判中等
  5. 41First Missing Positive01 原地数组本站可判困难

矩阵4 题 · 本站可判 2

  1. 73LeetCode 73(在新窗口打开)站外
  2. 54LeetCode 54(在新窗口打开)站外
  3. 48Rotate Image01 原地数组本站可判中等
  4. 240Search a 2D Matrix II06 二分查找本站可判中等

链表14 题 · 本站可判 14

  1. 160Intersection of Two Linked Lists09 链表本站可判简单
  2. 206Reverse Linked List09 链表本站可判简单
  3. 234Palindrome Linked List09 链表本站可判简单
  4. 141Linked List Cycle09 链表本站可判简单
  5. 142Linked List Cycle II09 链表本站可判中等
  6. 21Merge Two Sorted Lists09 链表本站可判简单
  7. 2Add Two Numbers09 链表本站可判中等
  8. 19Remove Nth Node From End of List09 链表本站可判中等
  9. 24Swap Nodes in Pairs09 链表本站可判中等
  10. 25Reverse Nodes in k-Group09 链表本站可判困难
  11. 138Copy List with Random Pointer09 链表本站可判中等
  12. 148Sort List09 链表本站可判中等
  13. 23Merge k Sorted Lists09 链表本站可判困难
  14. 146LRU Cache33 缓存索引本站可判中等

二叉树15 题 · 本站可判 15

  1. 94Binary Tree Inorder Traversal10 树的遍历本站可判简单
  2. 104Maximum Depth of Binary Tree10 树的遍历本站可判简单
  3. 226Invert Binary Tree10 树的遍历本站可判简单
  4. 101Symmetric Tree10 树的遍历本站可判简单
  5. 543Diameter of Binary Tree10 树的遍历本站可判简单
  6. 102Binary Tree Level Order Traversal10 树的遍历本站可判中等
  7. 108Convert Sorted Array to Binary Search Tree13 二叉搜索树本站可判简单
  8. 98Validate Binary Search Tree13 二叉搜索树本站可判中等
  9. 230Kth Smallest Element in a BST13 二叉搜索树本站可判中等
  10. 199Binary Tree Right Side View10 树的遍历本站可判中等
  11. 114Flatten Binary Tree to Linked List12 树的构造本站可判中等
  12. 105Construct Binary Tree from Preorder and Inorder Traversal12 树的构造本站可判中等
  13. 437Path Sum III11 树上路径本站可判中等
  14. 236Lowest Common Ancestor of a Binary Tree11 树上路径本站可判中等
  15. 124Binary Tree Maximum Path Sum11 树上路径本站可判困难

图论4 题 · 本站可判 3

  1. 200Number of Islands14 网格搜索本站可判中等
  2. 994Rotting Oranges14 网格搜索本站可判中等
  3. 207Course Schedule16 拓扑排序本站可判中等
  4. 208LeetCode 208(在新窗口打开)站外

回溯8 题 · 本站可判 8

  1. 46Permutations19 回溯枚举本站可判中等
  2. 78Subsets19 回溯枚举本站可判中等
  3. 17Letter Combinations of a Phone Number19 回溯枚举本站可判中等
  4. 39Combination Sum19 回溯枚举本站可判中等
  5. 22Generate Parentheses20 拆分构造本站可判中等
  6. 79Word Search21 剪枝搜索本站可判中等
  7. 131Palindrome Partitioning20 拆分构造本站可判中等
  8. 51N-Queens21 剪枝搜索本站可判困难

二分查找6 题 · 本站可判 6

  1. 35Search Insert Position06 二分查找本站可判简单
  2. 74Search a 2D Matrix06 二分查找本站可判中等
  3. 34Find First and Last Position of Element in Sorted Array06 二分查找本站可判中等
  4. 33Search in Rotated Sorted Array06 二分查找本站可判中等
  5. 153Find Minimum in Rotated Sorted Array06 二分查找本站可判中等
  6. 4Median of Two Sorted Arrays06 二分查找本站可判困难

栈5 题 · 本站可判 5

  1. 20Valid Parentheses07 单调栈与堆本站可判简单
  2. 155Min Stack32 迭代器设计本站可判中等
  3. 394Decode String07 单调栈与堆本站可判中等
  4. 739Daily Temperatures07 单调栈与堆本站可判中等
  5. 84Largest Rectangle in Histogram07 单调栈与堆本站可判困难

堆3 题 · 本站可判 2

  1. 215Kth Largest Element in an Array07 单调栈与堆本站可判中等
  2. 347LeetCode 347(在新窗口打开)站外
  3. 295Find Median from Data Stream33 缓存索引本站可判困难

贪心算法4 题 · 本站可判 4

  1. 121Best Time to Buy and Sell Stock29 股票买卖本站可判简单
  2. 55Jump Game08 贪心调度本站可判中等
  3. 45Jump Game II08 贪心调度本站可判中等
  4. 763Partition Labels08 贪心调度本站可判中等

动态规划10 题 · 本站可判 9

  1. 70Climbing Stairs22 动规入门本站可判简单
  2. 118LeetCode 118(在新窗口打开)站外
  3. 198House Robber22 动规入门本站可判中等
  4. 279Perfect Squares24 背包计数本站可判中等
  5. 322Coin Change24 背包计数本站可判中等
  6. 139Word Break26 字符串动规本站可判中等
  7. 300Longest Increasing Subsequence25 子序列本站可判中等
  8. 152Maximum Product Subarray28 状态机本站可判中等
  9. 416Partition Equal Subset Sum24 背包计数本站可判中等
  10. 32Longest Valid Parentheses本站可判困难

多维动态规划5 题 · 本站可判 5

  1. 62Unique Paths23 网格动规本站可判中等
  2. 64Minimum Path Sum23 网格动规本站可判中等
  3. 5Longest Palindromic Substring27 回文区间本站可判中等
  4. 1143Longest Common Subsequence26 字符串动规本站可判中等
  5. 72Edit Distance26 字符串动规本站可判中等

技巧5 题 · 本站可判 4

  1. 136Single Number35 位运算本站可判简单
  2. 169Majority Element01 原地数组本站可判简单
  3. 75Sort Colors01 原地数组本站可判中等
  4. 31LeetCode 31(在新窗口打开)站外
  5. 287Find the Duplicate Number01 原地数组本站可判中等

题单来源

LeetCode 热题 100 由其发布方整理,本页只按题号对照,不是官方页面。原题单:leetcode.cn