编程语言
首页 > 编程语言> > 后端开发——算法题

后端开发——算法题

作者:互联网

文章目录

字节

题目出现次数链接
25. K 个一组翻转链表60https://leetcode-cn.com/problems/reverse-nodes-in-k-group
3. 无重复字符的最长子串57https://leetcode-cn.com/problems/longest-substring-without-repeating-characters
146. LRU缓存机制53https://leetcode-cn.com/problems/lru-cache
215. 数组中的第K个最大元素52https://leetcode-cn.com/problems/kth-largest-element-in-an-array
206. 反转链表51https://leetcode-cn.com/problems/reverse-linked-list
103. 二叉树的锯齿形层次遍历47https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal
15. 三数之和42https://leetcode-cn.com/problems/3sum
121. 买卖股票的最佳时机41https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock
160. 相交链表32https://leetcode-cn.com/problems/intersection-of-two-linked-lists
236. 二叉树的最近公共祖先32https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree
42. 接雨水31https://leetcode-cn.com/problems/trapping-rain-water
33. 搜索旋转排序数组27https://leetcode-cn.com/problems/search-in-rotated-sorted-array
31. 下一个排列27https://leetcode-cn.com/problems/next-permutation
199. 二叉树的右视图24https://leetcode-cn.com/problems/binary-tree-right-side-view
54. 螺旋矩阵24https://leetcode-cn.com/problems/spiral-matrix
143. 重排链表24https://leetcode-cn.com/problems/reorder-list
23. 合并K个排序链表23https://leetcode-cn.com/problems/merge-k-sorted-lists
21. 合并两个有序链表22https://leetcode-cn.com/problems/merge-two-sorted-lists
300. 最长上升子序列21https://leetcode-cn.com/problems/longest-increasing-subsequence
69. x 的平方根20https://leetcode-cn.com/problems/sqrtx
92. 反转链表 II20https://leetcode-cn.com/problems/reverse-linked-list-ii
105. 从前序与中序遍历序列构造二叉树19https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
1. 两数之和19https://leetcode-cn.com/problems/two-sum
124. 二叉树中的最大路径和18https://leetcode-cn.com/problems/binary-tree-maximum-path-sum
200. 岛屿数量18https://leetcode-cn.com/problems/number-of-islands
41. 缺失的第一个正数17https://leetcode-cn.com/problems/first-missing-positive
101. 对称二叉树16https://leetcode-cn.com/problems/symmetric-tree
56. 合并区间16https://leetcode-cn.com/problems/merge-intervals
415. 字符串相加16https://leetcode-cn.com/problems/add-strings
155. 最小栈16https://leetcode-cn.com/problems/min-stack
46. 全排列16https://leetcode-cn.com/problems/permutations
76. 最小覆盖子串16https://leetcode-cn.com/problems/minimum-window-substring
补充题1. 排序奇升偶降链表16https://mp.weixin.qq.com/s/0WVa2wIAeG0nYnVndZiEXQ
141. 环形链表14https://leetcode-cn.com/problems/linked-list-cycle
221. 最大正方形14https://leetcode-cn.com/problems/maximal-square
20. 有效的括号14https://leetcode-cn.com/problems/valid-parentheses
98. 验证二叉搜索树14https://leetcode-cn.com/problems/validate-binary-search-tree
39. 组合总和14https://leetcode-cn.com/problems/combination-sum
102. 二叉树的层序遍历13https://leetcode-cn.com/problems/binary-tree-level-order-traversal
53. 最大子序和13https://leetcode-cn.com/problems/maximum-subarray
322. 零钱兑换13https://leetcode-cn.com/problems/coin-change
162. 寻找峰值13https://leetcode-cn.com/problems/find-peak-element
122. 买卖股票的最佳时机 II13https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii
142. 环形链表 II13https://leetcode-cn.com/problems/linked-list-cycle-ii
48. 旋转图像13https://leetcode-cn.com/problems/rotate-image
470. 用 Rand7() 实现 Rand10()13https://leetcode-cn.com/problems/implement-rand10-using-rand7
补充题2. 圆环回原点问题13https://mp.weixin.qq.com/s/NZPaFsFrTybO3K3s7p7EVg
234. 回文链表12https://leetcode-cn.com/problems/palindrome-linked-list
518. 零钱兑换 II12https://leetcode-cn.com/problems/coin-change-2
88. 合并两个有序数组12https://leetcode-cn.com/problems/merge-sorted-array
2. 两数相加12https://leetcode-cn.com/problems/add-two-numbers
32. 最长有效括号12https://leetcode-cn.com/problems/longest-valid-parentheses
958. 二叉树的完全性检验12https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree
148. 排序链表12https://leetcode-cn.com/problems/sort-list
198. 打家劫舍12https://leetcode-cn.com/problems/house-robber
232. 用栈实现队列12https://leetcode-cn.com/problems/implement-queue-using-stacks
补充题4. 手撕快速排序12https://leetcode-cn.com/problems/sort-an-array
113. 路径总和 II11https://leetcode-cn.com/problems/path-sum-ii
5. 最长回文子串11https://leetcode-cn.com/problems/longest-palindromic-substring
543. 二叉树的直径10https://leetcode-cn.com/problems/diameter-of-binary-tree
79. 单词搜索10https://leetcode-cn.com/problems/word-search
82. 删除排序链表中的重复元素 II10https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii
83. 删除排序链表中的重复元素9https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list
128. 最长连续序列9https://leetcode-cn.com/problems/longest-consecutive-sequence
22. 括号生成9https://leetcode-cn.com/problems/generate-parentheses
94. 二叉树的中序遍历9https://leetcode-cn.com/problems/binary-tree-inorder-traversal
739. 每日温度9https://leetcode-cn.com/problems/daily-temperatures
78. 子集9https://leetcode-cn.com/problems/subsets
补充题9. 36进制加法9https://mp.weixin.qq.com/s/XcKQwnwCh5nZsz-DLHJwzQ
剑指 Offer 54. 二叉搜索树的第k大节点8https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof
8. 字符串转换整数 (atoi)8https://leetcode-cn.com/problems/string-to-integer-atoi
24. 两两交换链表中的节点8https://leetcode-cn.com/problems/swap-nodes-in-pairs
114. 二叉树展开为链表8https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list
剑指 Offer 22. 链表中倒数第k个节点8https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof
93. 复原IP地址8https://leetcode-cn.com/problems/restore-ip-addresses
440. 字典序的第K小数字8https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order
70. 爬楼梯7https://leetcode-cn.com/problems/climbing-stairs
112. 路径总和7https://leetcode-cn.com/problems/path-sum
695. 岛屿的最大面积7https://leetcode-cn.com/problems/max-area-of-island
138. 复制带随机指针的链表7https://leetcode-cn.com/problems/copy-list-with-random-pointer
19. 删除链表的倒数第N个节点7https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list
129. 求根到叶子节点数字之和7https://leetcode-cn.com/problems/sum-root-to-leaf-numbers
662. 二叉树最大宽度7https://leetcode-cn.com/problems/maximum-width-of-binary-tree
240. 搜索二维矩阵 II7https://leetcode-cn.com/problems/search-a-2d-matrix-ii
556. 下一个更大元素 III7https://leetcode-cn.com/problems/next-greater-element-iii
230. 二叉搜索树中第K小的元素6https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst
110. 平衡二叉树6https://leetcode-cn.com/problems/balanced-binary-tree
328. 奇偶链表6https://leetcode-cn.com/problems/odd-even-linked-list
460. LFU缓存6https://leetcode-cn.com/problems/lfu-cache
64. 最小路径和6https://leetcode-cn.com/problems/minimum-path-sum
61. 旋转链表6https://leetcode-cn.com/problems/rotate-list
188. 买卖股票的最佳时机 IV6https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iv
224. 基本计算器6https://leetcode-cn.com/problems/basic-calculator
剑指 Offer 36. 二叉搜索树与双向链表6https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof
226. 翻转二叉树6https://leetcode-cn.com/problems/invert-binary-tree
209. 长度最小的子数组6https://leetcode-cn.com/problems/minimum-size-subarray-sum
862. 和至少为 K 的最短子数组6https://leetcode-cn.com/problems/shortest-subarray-with-sum-at-least-k
11. 盛最多水的容器6https://leetcode-cn.com/problems/container-with-most-water
补充题7. 木头切割问题6https://mp.weixin.qq.com/s/FQma0bdAWbzLMmCKhZRk7w
补充题23. 检测循环依赖6https://mp.weixin.qq.com/s/pCRscwKqQdYYN7M1Sia7xA
108. 将有序数组转换为二叉搜索树5https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree
1143. 最长公共子序列5https://leetcode-cn.com/problems/longest-common-subsequence
297. 二叉树的序列化与反序列化5https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree
560. 和为K的子数组5https://leetcode-cn.com/problems/subarray-sum-equals-k
704. 二分查找5https://leetcode-cn.com/problems/binary-search
670. 最大交换5https://leetcode-cn.com/problems/maximum-swap
421. 数组中两个数的最大异或值5https://leetcode-cn.com/problems/maximum-xor-of-two-numbers-in-an-array
104. 二叉树的最大深度5https://leetcode-cn.com/problems/maximum-depth-of-binary-tree
135. 分发糖果5https://leetcode-cn.com/problems/candy
151. 翻转字符串里的单词5https://leetcode-cn.com/problems/reverse-words-in-a-string
287. 寻找重复数5https://leetcode-cn.com/problems/find-the-duplicate-number
528. 按权重随机选择5https://leetcode-cn.com/problems/random-pick-with-weight
91. 解码方法5https://leetcode-cn.com/problems/decode-ways
59. 螺旋矩阵 II5https://leetcode-cn.com/problems/spiral-matrix-ii
718. 最长重复子数组5https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray
139. 单词拆分4https://leetcode-cn.com/problems/word-break
剑指 Offer 11. 旋转数组的最小数字4https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof
62. 不同路径4https://leetcode-cn.com/problems/unique-paths
剑指 Offer 51. 数组中的逆序对4https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof
40. 组合总和 II4https://leetcode-cn.com/problems/combination-sum-ii
1047. 删除字符串中的所有相邻重复项4https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string
402. 移掉K位数字4https://leetcode-cn.com/problems/remove-k-digits
169. 多数元素4https://leetcode-cn.com/problems/majority-element
152. 乘积最大子数组4https://leetcode-cn.com/problems/maximum-product-subarray
50. Pow(x, n)4https://leetcode-cn.com/problems/powx-n
4. 寻找两个正序数组的中位数4https://leetcode-cn.com/problems/median-of-two-sorted-arrays
456. 132模式4https://leetcode-cn.com/problems/132-pattern
239. 滑动窗口最大值4https://leetcode-cn.com/problems/sliding-window-maximum
722. 删除注释4https://leetcode-cn.com/problems/remove-comments
1095. 山脉数组中查找目标值4https://leetcode-cn.com/problems/find-in-mountain-array
72. 编辑距离4https://leetcode-cn.com/problems/edit-distance
153. 寻找旋转排序数组中的最小值4https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array
补充题3. 求区间最小数乘区间和的最大值4https://mp.weixin.qq.com/s/UFv7pt_djjZoK_gzUBrRXA
补充题6. 手撕堆排序4https://leetcode-cn.com/problems/sort-an-array
227. 基本计算器 II4https://leetcode-cn.com/problems/basic-calculator-ii
763. 划分字母区间4https://leetcode-cn.com/problems/partition-labels
剑指 Offer 53 - I. 在排序数组中查找数字 I4https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof
剑指 Offer 61. 扑克牌中的顺子3https://leetcode-cn.com/problems/bu-ke-pai-zhong-de-shun-zi-lcof
977. 有序数组的平方3https://leetcode-cn.com/problems/squares-of-a-sorted-array
剑指 Offer 09. 用两个栈实现队列3https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof
503. 下一个更大元素 II3https://leetcode-cn.com/problems/next-greater-element-ii
283. 移动零3https://leetcode-cn.com/problems/move-zeroes
166. 分数到小数3https://leetcode-cn.com/problems/fraction-to-recurring-decimal
264. 丑数 II3https://leetcode-cn.com/problems/ugly-number-ii
210. 课程表 II3https://leetcode-cn.com/problems/course-schedule-ii
394. 字符串解码3https://leetcode-cn.com/problems/decode-string
145. 二叉树的后序遍历3https://leetcode-cn.com/problems/binary-tree-postorder-traversal
71. 简化路径3https://leetcode-cn.com/problems/simplify-path
134. 加油站3https://leetcode-cn.com/problems/gas-station
340. 至多包含 K 个不同字符的最长子串3https://leetcode-cn.com/problems/longest-substring-with-at-most-k-distinct-characters
86. 分隔链表3https://leetcode-cn.com/problems/partition-list
329. 矩阵中的最长递增路径3https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix
144. 二叉树的前序遍历3https://leetcode-cn.com/problems/binary-tree-preorder-traversal
10. 正则表达式匹配3https://leetcode-cn.com/problems/regular-expression-matching
剑指 Offer 46. 把数字翻译成字符串3https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof
136. 只出现一次的数字3https://leetcode-cn.com/problems/single-number
18. 四数之和3https://leetcode-cn.com/problems/4sum
剑指 Offer 27. 二叉树的镜像3https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof
225. 用队列实现栈3https://leetcode-cn.com/problems/implement-stack-using-queues
647. 回文子串3https://leetcode-cn.com/problems/palindromic-substrings
34. 在排序数组中查找元素的第一个和最后一个位置3https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array
165. 比较版本号3https://leetcode-cn.com/problems/compare-version-numbers
887. 鸡蛋掉落3https://leetcode-cn.com/problems/super-egg-drop
106. 从中序与后序遍历序列构造二叉树3https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
498. 对角线遍历3https://leetcode-cn.com/problems/diagonal-traverse
354. 俄罗斯套娃信封问题3https://leetcode-cn.com/problems/russian-doll-envelopes
767. 重构字符串3https://leetcode-cn.com/problems/reorganize-string
1254. 统计封闭岛屿的数目2https://leetcode-cn.com/problems/number-of-closed-islands
347. 前 K 个高频元素2https://leetcode-cn.com/problems/top-k-frequent-elements
剑指 Offer 10- II. 青蛙跳台阶问题2https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof
剑指 Offer 45. 把数组排成最小的数2https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof
99. 恢复二叉搜索树2https://leetcode-cn.com/problems/recover-binary-search-tree
125. 验证回文串2https://leetcode-cn.com/problems/valid-palindrome
剑指 Offer 21. 调整数组顺序使奇数位于偶数前面2https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof
523. 连续的子数组和2https://leetcode-cn.com/problems/continuous-subarray-sum
剑指 Offer 48. 最长不含重复字符的子字符串2https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof
剑指 Offer 04. 二维数组中的查找2https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof
补充题24. 双栈排序2https://mp.weixin.qq.com/s/g_AqwsSEUwlRSevnStPkEA
208. 实现 Trie (前缀树)2https://leetcode-cn.com/problems/implement-trie-prefix-tree
剑指 Offer 19. 正则表达式匹配2https://leetcode-cn.com/problems/zheng-ze-biao-da-shi-pi-pei-lcof
895. 最大频率栈2https://leetcode-cn.com/problems/maximum-frequency-stack
398. 随机数索引2https://leetcode-cn.com/problems/random-pick-index
45. 跳跃游戏 II2https://leetcode-cn.com/problems/jump-game-ii
416. 分割等和子集2https://leetcode-cn.com/problems/partition-equal-subset-sum
668. 乘法表中第k小的数2https://leetcode-cn.com/problems/kth-smallest-number-in-multiplication-table
120. 三角形最小路径和2https://leetcode-cn.com/problems/triangle
123. 买卖股票的最佳时机 III2https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii
154. 寻找旋转排序数组中的最小值 II2https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii
147. 对链表进行插入排序2https://leetcode-cn.com/problems/insertion-sort-list
785. 判断二分图2https://leetcode-cn.com/problems/is-graph-bipartite
468. 验证IP地址2https://leetcode-cn.com/problems/validate-ip-address
295. 数据流的中位数2https://leetcode-cn.com/problems/find-median-from-data-stream
404. 左叶子之和2https://leetcode-cn.com/problems/sum-of-left-leaves
84. 柱状图中最大的矩形2https://leetcode-cn.com/problems/largest-rectangle-in-histogram
43. 字符串相乘2https://leetcode-cn.com/problems/multiply-strings
14. 最长公共前缀2https://leetcode-cn.com/problems/longest-common-prefix
974. 和可被 K 整除的子数组2https://leetcode-cn.com/problems/subarray-sums-divisible-by-k
922. 按奇偶排序数组 II2https://leetcode-cn.com/problems/sort-array-by-parity-ii
75. 颜色分类2https://leetcode-cn.com/problems/sort-colors
191. 位1的个数2https://leetcode-cn.com/problems/number-of-1-bits
60. 第k个排列2https://leetcode-cn.com/problems/permutation-sequence
补充题10. 36进制减法2https://mp.weixin.qq.com/s/ub9GpTBjDF55hZld3V2rEA
补充题5. 手撕归并排序2https://leetcode-cn.com/problems/sort-an-array
189. 旋转数组2https://leetcode-cn.com/problems/rotate-array
74. 搜索二维矩阵2https://leetcode-cn.com/problems/search-a-2d-matrix
补充题14. 阿拉伯数字转中文数字2
剑指 Offer 03. 数组中重复的数字2https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof
253. 会议室 II2https://leetcode-cn.com/problems/meeting-rooms-ii
7. 整数反转2https://leetcode-cn.com/problems/reverse-integer
47. 全排列 II2https://leetcode-cn.com/problems/permutations-ii
85. 最大矩形2https://leetcode-cn.com/problems/maximal-rectangle
81. 搜索旋转排序数组 II2https://leetcode-cn.com/problems/search-in-rotated-sorted-array-ii
44. 通配符匹配2https://leetcode-cn.com/problems/wildcard-matching
703. 数据流中的第K大元素2https://leetcode-cn.com/problems/kth-largest-element-in-a-stream
443. 压缩字符串2https://leetcode-cn.com/problems/string-compression
381. O(1) 时间插入、删除和获取随机元素 - 允许重复2https://leetcode-cn.com/problems/insert-delete-getrandom-o1-duplicates-allowed
补充题20. 立方根2
395. 至少有K个重复字符的最长子串2https://leetcode-cn.com/problems/longest-substring-with-at-least-k-repeating-characters
剑指 Offer 52. 两个链表的第一个公共节点1https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof
111. 二叉树的最小深度1https://leetcode-cn.com/problems/minimum-depth-of-binary-tree
994. 腐烂的橘子1https://leetcode-cn.com/problems/rotting-oranges
344. 反转字符串1https://leetcode-cn.com/problems/reverse-string
1299. 将每个元素替换为右侧最大元素1https://leetcode-cn.com/problems/replace-elements-with-greatest-element-on-right-side
67. 二进制求和1https://leetcode-cn.com/problems/add-binary
515. 在每个树行中找最大值1https://leetcode-cn.com/problems/find-largest-value-in-each-tree-row
1147. 段式回文1https://leetcode-cn.com/problems/longest-chunked-palindrome-decomposition
876. 链表的中间结点1https://leetcode-cn.com/problems/middle-of-the-linked-list
100. 相同的树1https://leetcode-cn.com/problems/same-tree
842. 将数组拆分成斐波那契序列1https://leetcode-cn.com/problems/split-array-into-fibonacci-sequence
剑指 Offer 33. 二叉搜索树的后序遍历序列1https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof
剑指 Offer 38. 字符串的排列1https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof
剑指 Offer 24. 反转链表1https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof
剑指 Offer 53 - II. 0~n-1中缺失的数字1https://leetcode-cn.com/problems/que-shi-de-shu-zi-lcof
701. 二叉搜索树中的插入操作1https://leetcode-cn.com/problems/insert-into-a-binary-search-tree
349. 两个数组的交集1https://leetcode-cn.com/problems/intersection-of-two-arrays
1156. 单字符重复子串的最大长度1https://leetcode-cn.com/problems/swap-for-longest-repeated-character-substring
449. 序列化和反序列化二叉搜索树1https://leetcode-cn.com/problems/serialize-and-deserialize-bst
面试题 08.12. 八皇后1https://leetcode-cn.com/problems/eight-queens-lcci
37. 解数独1https://leetcode-cn.com/problems/sudoku-solver
410. 分割数组的最大值1https://leetcode-cn.com/problems/split-array-largest-sum
694. 不同岛屿的数量1https://leetcode-cn.com/problems/number-of-distinct-islands
剑指 Offer 18. 删除链表的节点1https://leetcode-cn.com/problems/shan-chu-lian-biao-de-jie-dian-lcof
912. 排序数组1https://leetcode-cn.com/problems/sort-an-array
173. 二叉搜索树迭代器1https://leetcode-cn.com/problems/binary-search-tree-iterator
1139. 最大的以 1 为边界的正方形1https://leetcode-cn.com/problems/largest-1-bordered-square
剑指 Offer 25. 合并两个排序的链表1https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof
325. 和等于 k 的最长子数组长度1https://leetcode-cn.com/problems/maximum-size-subarray-sum-equals-k
1363. 形成三的最大倍数1https://leetcode-cn.com/problems/largest-multiple-of-three
951. 翻转等价二叉树1https://leetcode-cn.com/problems/flip-equivalent-binary-trees
107. 二叉树的层次遍历 II1https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii
637. 二叉树的层平均值1https://leetcode-cn.com/problems/average-of-levels-in-binary-tree
277. 搜寻名人1https://leetcode-cn.com/problems/find-the-celebrity
321. 拼接最大数1https://leetcode-cn.com/problems/create-maximum-number
525. 连续数组1https://leetcode-cn.com/problems/contiguous-array
剑指 Offer 58 - II. 左旋转字符串1https://leetcode-cn.com/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof
97. 交错字符串1https://leetcode-cn.com/problems/interleaving-string
204. 计数质数1https://leetcode-cn.com/problems/count-primes
202. 快乐数1https://leetcode-cn.com/problems/happy-number
1669. 合并两个链表1https://leetcode-cn.com/problems/merge-in-between-linked-lists
807. 保持城市天际线1https://leetcode-cn.com/problems/max-increase-to-keep-city-skyline
889. 根据前序和后序遍历构造二叉树1https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
剑指 Offer 05. 替换空格1https://leetcode-cn.com/problems/ti-huan-kong-ge-lcof
279. 完全平方数1https://leetcode-cn.com/problems/perfect-squares
17. 电话号码的字母组合1https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number
459. 重复的子字符串1https://leetcode-cn.com/problems/repeated-substring-pattern
剑指 Offer 59 - II. 队列的最大值1https://leetcode-cn.com/problems/dui-lie-de-zui-da-zhi-lcof
260. 只出现一次的数字 III1https://leetcode-cn.com/problems/single-number-iii
1438. 绝对差不超过限制的最长连续子数组1https://leetcode-cn.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
剑指 Offer 62. 圆圈中最后剩下的数字1https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof
836. 矩形重叠1https://leetcode-cn.com/problems/rectangle-overlap
1172. 餐盘栈1https://leetcode-cn.com/problems/dinner-plate-stacks
547. 省份数量(原朋友圈)1https://leetcode-cn.com/problems/number-of-provinces
面试题 17.24. 最大子矩阵1https://leetcode-cn.com/problems/max-submatrix-lcci
1302. 层数最深叶子节点的和1https://leetcode-cn.com/problems/deepest-leaves-sum
448. 找到所有数组中消失的数字1https://leetcode-cn.com/problems/find-all-numbers-disappeared-in-an-array
127. 单词接龙1https://leetcode-cn.com/problems/word-ladder
剑指 Offer 55 - II. 平衡二叉树1https://leetcode-cn.com/problems/ping-heng-er-cha-shu-lcof
剑指 Offer 55 - I. 二叉树的深度1https://leetcode-cn.com/problems/er-cha-shu-de-shen-du-lcof
面试题 08.05. 递归乘法1https://leetcode-cn.com/problems/recursive-mulitply-lcci
179. 最大数1https://leetcode-cn.com/problems/largest-number
1107. 每日新用户统计1https://leetcode-cn.com/problems/new-users-daily-count
剑指 Offer 10- I. 斐波那契数列1https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof
63. 不同路径 II1https://leetcode-cn.com/problems/unique-paths-ii
397. 整数替换1https://leetcode-cn.com/problems/integer-replacement
564. 寻找最近的回文数1https://leetcode-cn.com/problems/find-the-closest-palindrome
765. 情侣牵手1https://leetcode-cn.com/problems/couples-holding-hands
80. 删除排序数组中的重复项 II1https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii
77. 组合1https://leetcode-cn.com/problems/combinations
378. 有序矩阵中第K小的元素1https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix
384. 打乱数组1https://leetcode-cn.com/problems/shuffle-an-array
剑指 Offer 56 - I. 数组中数字出现的次数1https://leetcode-cn.com/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof
28. 实现 strStr()1https://leetcode-cn.com/problems/implement-strstr
剑指 Offer 32 - III. 从上到下打印二叉树 III1https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof
207. 课程表1https://leetcode-cn.com/problems/course-schedule
386. 字典序排数1https://leetcode-cn.com/problems/lexicographical-numbers
面试题 03.03. 堆盘子1https://leetcode-cn.com/problems/stack-of-plates-lcci
331. 验证二叉树的前序序列化1https://leetcode-cn.com/problems/verify-preorder-serialization-of-a-binary-tree
剑指 Offer 28. 对称的二叉树1https://leetcode-cn.com/problems/dui-cheng-de-er-cha-shu-lcof
剑指 Offer 68 - II. 二叉树的最近公共祖先1https://leetcode-cn.com/problems/er-cha-shu-de-zui-jin-gong-gong-zu-xian-lcof
848. 字母移位1https://leetcode-cn.com/problems/shifting-letters
6. Z 字形变换1https://leetcode-cn.com/problems/zigzag-conversion
990. 等式方程的可满足性1https://leetcode-cn.com/problems/satisfiability-of-equality-equations
567. 字符串的排列1https://leetcode-cn.com/problems/permutation-in-string
496. 下一个更大元素 I1https://leetcode-cn.com/problems/next-greater-element-i
967. 连续差相同的数字1https://leetcode-cn.com/problems/numbers-with-same-consecutive-differences
1405. 最长快乐字符串1https://leetcode-cn.com/problems/longest-happy-string
1353. 最多可以参加的会议数目1https://leetcode-cn.com/problems/maximum-number-of-events-that-can-be-attended
1574. 删除最短的子数组使剩余数组有序1https://leetcode-cn.com/problems/shortest-subarray-to-be-removed-to-make-array-sorted
949. 给定数字能组成的最大时间1https://leetcode-cn.com/problems/largest-time-for-given-digits
剑指 Offer 31. 栈的压入、弹出序列1https://leetcode-cn.com/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof
213. 打家劫舍 II1https://leetcode-cn.com/problems/house-robber-ii
剑指 Offer 40. 最小的k个数1https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof
1475. 商品折扣后的最终价格1https://leetcode-cn.com/problems/final-prices-with-a-special-discount-in-a-shop
剑指 Offer 43. 1~n整数中1出现的次数1https://leetcode-cn.com/problems/1nzheng-shu-zhong-1chu-xian-de-ci-shu-lcof
706. 设计哈希映射1https://leetcode-cn.com/problems/design-hashmap
252. 会议室1https://leetcode-cn.com/problems/meeting-rooms
剑指 Offer 63. 股票的最大利润1https://leetcode-cn.com/problems/gu-piao-de-zui-da-li-run-lcof
680. 验证回文字符串 Ⅱ1https://leetcode-cn.com/problems/valid-palindrome-ii
341. 扁平化嵌套列表迭代器1https://leetcode-cn.com/problems/flatten-nested-list-iterator
140. 单词拆分 II1https://leetcode-cn.com/problems/word-break-ii
716. 最大栈1https://leetcode-cn.com/problems/max-stack
214. 最短回文串1https://leetcode-cn.com/problems/shortest-palindrome
633. 平方数之和1https://leetcode-cn.com/problems/sum-of-square-numbers
补充题17. 两个有序数组第k小的数1
589. N叉树的前序遍历1https://leetcode-cn.com/problems/n-ary-tree-preorder-traversal
1675. 数组的最小偏移量1https://leetcode-cn.com/problems/minimize-deviation-in-array
485. 最大连续1的个数1https://leetcode-cn.com/problems/max-consecutive-ones
补充题8. 计算数组的小和1https://mp.weixin.qq.com/s/rMsbcUf9ZPhvfRoyZGW6HA
剑指 Offer 34. 二叉树中和为某一值的路径1https://leetcode-cn.com/problems/er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof
剑指 Offer 17. 打印从1到最大的n位数1https://leetcode-cn.com/problems/da-yin-cong-1dao-zui-da-de-nwei-shu-lcof
861. 翻转矩阵后的得分1https://leetcode-cn.com/problems/score-after-flipping-matrix
168. Excel表列名称1https://leetcode-cn.com/problems/excel-sheet-column-title
剑指 Offer 14- I. 剪绳子1https://leetcode-cn.com/problems/jian-sheng-zi-lcof
96. 不同的二叉搜索树1https://leetcode-cn.com/problems/unique-binary-search-trees
13. 罗马数字转整数1https://leetcode-cn.com/problems/roman-to-integer
1190. 反转每对括号间的子串1https://leetcode-cn.com/problems/reverse-substrings-between-each-pair-of-parentheses
16. 最接近的三数之和1https://leetcode-cn.com/problems/3sum-closest
216. 组合总和 III1https://leetcode-cn.com/problems/combination-sum-iii
剑指 Offer 32 - II. 从上到下打印二叉树 II1https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-ii-lcof
736. Lisp 语法解析1https://leetcode-cn.com/problems/parse-lisp-expression
137. 只出现一次的数字 II1https://leetcode-cn.com/problems/single-number-ii

腾讯

题目出现次数链接
146. LRU缓存机制32https://leetcode-cn.com/problems/lru-cache
206. 反转链表30https://leetcode-cn.com/problems/reverse-linked-list
补充题4. 手撕快速排序24https://leetcode-cn.com/problems/sort-an-array
21. 合并两个有序链表18https://leetcode-cn.com/problems/merge-two-sorted-lists
470. 用 Rand7() 实现 Rand10()15https://leetcode-cn.com/problems/implement-rand10-using-rand7
234. 回文链表14https://leetcode-cn.com/problems/palindrome-linked-list
8. 字符串转换整数 (atoi)13https://leetcode-cn.com/problems/string-to-integer-atoi
53. 最大子序和12https://leetcode-cn.com/problems/maximum-subarray
460. LFU缓存12https://leetcode-cn.com/problems/lfu-cache
215. 数组中的第K个最大元素10https://leetcode-cn.com/problems/kth-largest-element-in-an-array
153. 寻找旋转排序数组中的最小值10https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array
3. 无重复字符的最长子串10https://leetcode-cn.com/problems/longest-substring-without-repeating-characters
704. 二分查找10https://leetcode-cn.com/problems/binary-search
415. 字符串相加10https://leetcode-cn.com/problems/add-strings
补充题6. 手撕堆排序9https://leetcode-cn.com/problems/sort-an-array
剑指 Offer 54. 二叉搜索树的第k大节点9https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof
160. 相交链表8https://leetcode-cn.com/problems/intersection-of-two-linked-lists
141. 环形链表8https://leetcode-cn.com/problems/linked-list-cycle
151. 翻转字符串里的单词8https://leetcode-cn.com/problems/reverse-words-in-a-string
4. 寻找两个正序数组的中位数7https://leetcode-cn.com/problems/median-of-two-sorted-arrays
42. 接雨水7https://leetcode-cn.com/problems/trapping-rain-water
102. 二叉树的层序遍历7https://leetcode-cn.com/problems/binary-tree-level-order-traversal
144. 二叉树的前序遍历7https://leetcode-cn.com/problems/binary-tree-preorder-traversal
300. 最长上升子序列6https://leetcode-cn.com/problems/longest-increasing-subsequence
110. 平衡二叉树6https://leetcode-cn.com/problems/balanced-binary-tree
2. 两数相加6https://leetcode-cn.com/problems/add-two-numbers
70. 爬楼梯6https://leetcode-cn.com/problems/climbing-stairs
213. 打家劫舍 II6https://leetcode-cn.com/problems/house-robber-ii
5. 最长回文子串6https://leetcode-cn.com/problems/longest-palindromic-substring
494. 目标和6https://leetcode-cn.com/problems/target-sum
15. 三数之和6https://leetcode-cn.com/problems/3sum
1. 两数之和5https://leetcode-cn.com/problems/two-sum
239. 滑动窗口最大值5https://leetcode-cn.com/problems/sliding-window-maximum
136. 只出现一次的数字5https://leetcode-cn.com/problems/single-number
25. K 个一组翻转链表5https://leetcode-cn.com/problems/reverse-nodes-in-k-group
232. 用栈实现队列5https://leetcode-cn.com/problems/implement-queue-using-stacks
155. 最小栈5https://leetcode-cn.com/problems/min-stack
104. 二叉树的最大深度5https://leetcode-cn.com/problems/maximum-depth-of-binary-tree
剑指 Offer 22. 链表中倒数第k个节点5https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof
322. 零钱兑换5https://leetcode-cn.com/problems/coin-change
525. 连续数组5https://leetcode-cn.com/problems/contiguous-array
169. 多数元素4https://leetcode-cn.com/problems/majority-element
236. 二叉树的最近公共祖先4https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree
328. 奇偶链表4https://leetcode-cn.com/problems/odd-even-linked-list
9. 回文数4https://leetcode-cn.com/problems/palindrome-number
112. 路径总和4https://leetcode-cn.com/problems/path-sum
142. 环形链表 II4https://leetcode-cn.com/problems/linked-list-cycle-ii
54. 螺旋矩阵4https://leetcode-cn.com/problems/spiral-matrix
240. 搜索二维矩阵 II4https://leetcode-cn.com/problems/search-a-2d-matrix-ii
20. 有效的括号4https://leetcode-cn.com/problems/valid-parentheses
706. 设计哈希映射4https://leetcode-cn.com/problems/design-hashmap
678. 有效的括号字符串4https://leetcode-cn.com/problems/valid-parenthesis-string
补充题5. 手撕归并排序4https://leetcode-cn.com/problems/sort-an-array
31. 下一个排列4https://leetcode-cn.com/problems/next-permutation
33. 搜索旋转排序数组4https://leetcode-cn.com/problems/search-in-rotated-sorted-array
199. 二叉树的右视图4https://leetcode-cn.com/problems/binary-tree-right-side-view
887. 鸡蛋掉落4https://leetcode-cn.com/problems/super-egg-drop
46. 全排列4https://leetcode-cn.com/problems/permutations
88. 合并两个有序数组4https://leetcode-cn.com/problems/merge-sorted-array
23. 合并K个排序链表3https://leetcode-cn.com/problems/merge-k-sorted-lists
189. 旋转数组3https://leetcode-cn.com/problems/rotate-array
59. 螺旋矩阵 II3https://leetcode-cn.com/problems/spiral-matrix-ii
43. 字符串相乘3https://leetcode-cn.com/problems/multiply-strings
384. 打乱数组3https://leetcode-cn.com/problems/shuffle-an-array
172. 阶乘后的零3https://leetcode-cn.com/problems/factorial-trailing-zeroes
227. 基本计算器 II3https://leetcode-cn.com/problems/basic-calculator-ii
718. 最长重复子数组3https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray
394. 字符串解码3https://leetcode-cn.com/problems/decode-string
69. x 的平方根3https://leetcode-cn.com/problems/sqrtx
148. 排序链表3https://leetcode-cn.com/problems/sort-list
143. 重排链表3https://leetcode-cn.com/problems/reorder-list
121. 买卖股票的最佳时机2https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock
37. 解数独2https://leetcode-cn.com/problems/sudoku-solver
剑指 Offer 42. 连续子数组的最大和2https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof
287. 寻找重复数2https://leetcode-cn.com/problems/find-the-duplicate-number
129. 求根到叶子节点数字之和2https://leetcode-cn.com/problems/sum-root-to-leaf-numbers
78. 子集2https://leetcode-cn.com/problems/subsets
剑指 Offer 03. 数组中重复的数字2https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof
93. 复原IP地址2https://leetcode-cn.com/problems/restore-ip-addresses
82. 删除排序链表中的重复元素 II2https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii
138. 复制带随机指针的链表2https://leetcode-cn.com/problems/copy-list-with-random-pointer
113. 路径总和 II2https://leetcode-cn.com/problems/path-sum-ii
剑指 Offer 65. 不用加减乘除做加法2https://leetcode-cn.com/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof
459. 重复的子字符串2https://leetcode-cn.com/problems/repeated-substring-pattern
19. 删除链表的倒数第N个节点2https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list
11. 盛最多水的容器2https://leetcode-cn.com/problems/container-with-most-water
26. 删除排序数组中的重复项2https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array
103. 二叉树的锯齿形层次遍历2https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal
补充题21. 字符串相减2https://mp.weixin.qq.com/s/kCue4c0gnLSw0HosFl_t7w
907. 子数组的最小值之和2https://leetcode-cn.com/problems/sum-of-subarray-minimums
补充题22. IP地址与整数的转换2https://mp.weixin.qq.com/s/u-RahFTB3JIqND41HqtotQ
692. 前K个高频单词2https://leetcode-cn.com/problems/top-k-frequent-words
200. 岛屿数量2https://leetcode-cn.com/problems/number-of-islands
14. 最长公共前缀2https://leetcode-cn.com/problems/longest-common-prefix
118. 杨辉三角2https://leetcode-cn.com/problems/pascals-triangle
剑指 Offer 57 - II. 和为s的连续正数序列2https://leetcode-cn.com/problems/he-wei-sde-lian-xu-zheng-shu-xu-lie-lcof
剑指 Offer 40. 最小的k个数2https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof
378. 有序矩阵中第K小的元素2https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix
48. 旋转图像2https://leetcode-cn.com/problems/rotate-image
480. 滑动窗口中位数2https://leetcode-cn.com/problems/sliding-window-median
1095. 山脉数组中查找目标值2https://leetcode-cn.com/problems/find-in-mountain-array
405. 数字转换为十六进制数2https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal
92. 反转链表 II2https://leetcode-cn.com/problems/reverse-linked-list-ii
876. 链表的中间结点2https://leetcode-cn.com/problems/middle-of-the-linked-list
剑指 Offer 24. 反转链表1https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof
409. 最长回文串1https://leetcode-cn.com/problems/longest-palindrome
224. 基本计算器1https://leetcode-cn.com/problems/basic-calculator
94. 二叉树的中序遍历1https://leetcode-cn.com/problems/binary-tree-inorder-traversal
530. 二叉搜索树的最小绝对差1https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst
315. 计算右侧小于当前元素的个数1https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self
260. 只出现一次的数字 III1https://leetcode-cn.com/problems/single-number-iii
679. 24 点游戏1https://leetcode-cn.com/problems/24-game
994. 腐烂的橘子1https://leetcode-cn.com/problems/rotting-oranges
588. 设计内存文件系统1https://leetcode-cn.com/problems/design-in-memory-file-system
125. 验证回文串1https://leetcode-cn.com/problems/valid-palindrome
41. 缺失的第一个正数1https://leetcode-cn.com/problems/first-missing-positive
337. 打家劫舍 III1https://leetcode-cn.com/problems/house-robber-iii
226. 翻转二叉树1https://leetcode-cn.com/problems/invert-binary-tree
剑指 Offer 51. 数组中的逆序对1https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof
补充题17. 两个有序数组第k小的数1
217. 存在重复元素1https://leetcode-cn.com/problems/contains-duplicate
242. 有效的字母异位词1https://leetcode-cn.com/problems/valid-anagram
63. 不同路径 II1https://leetcode-cn.com/problems/unique-paths-ii
74. 搜索二维矩阵1https://leetcode-cn.com/problems/search-a-2d-matrix
701. 二叉搜索树中的插入操作1https://leetcode-cn.com/problems/insert-into-a-binary-search-tree
1047. 删除字符串中的所有相邻重复项1https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string
75. 颜色分类1https://leetcode-cn.com/problems/sort-colors
补充题14. 阿拉伯数字转中文数字1
134. 加油站1https://leetcode-cn.com/problems/gas-station
231. 2的幂1https://leetcode-cn.com/problems/power-of-two
451. 根据字符出现频率排序1https://leetcode-cn.com/problems/sort-characters-by-frequency
24. 两两交换链表中的节点1https://leetcode-cn.com/problems/swap-nodes-in-pairs
剑指 Offer 10- I. 斐波那契数列1https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof
7. 整数反转1https://leetcode-cn.com/problems/reverse-integer
316. 去除重复字母1https://leetcode-cn.com/problems/remove-duplicate-letters
117. 填充每个节点的下一个右侧节点指针 II1https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii
61. 旋转链表1https://leetcode-cn.com/problems/rotate-list
283. 移动零1https://leetcode-cn.com/problems/move-zeroes
剑指 Offer 36. 二叉搜索树与双向链表1https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof
128. 最长连续序列1https://leetcode-cn.com/problems/longest-consecutive-sequence
1044. 最长重复子串1https://leetcode-cn.com/problems/longest-duplicate-substring
76. 最小覆盖子串1https://leetcode-cn.com/problems/minimum-window-substring
50. Pow(x, n)1https://leetcode-cn.com/problems/powx-n
162. 寻找峰值1https://leetcode-cn.com/problems/find-peak-element
208. 实现 Trie (前缀树)1https://leetcode-cn.com/problems/implement-trie-prefix-tree
179. 最大数1https://leetcode-cn.com/problems/largest-number
728. 自除数1https://leetcode-cn.com/problems/self-dividing-numbers
391. 完美矩形1https://leetcode-cn.com/problems/perfect-rectangle
523. 连续的子数组和1https://leetcode-cn.com/problems/continuous-subarray-sum
137. 只出现一次的数字 II1https://leetcode-cn.com/problems/single-number-ii
598. 范围求和 II1https://leetcode-cn.com/problems/range-addition-ii
258. 各位相加1https://leetcode-cn.com/problems/add-digits
443. 压缩字符串1https://leetcode-cn.com/problems/string-compression
72. 编辑距离1https://leetcode-cn.com/problems/edit-distance
292. Nim 游戏1https://leetcode-cn.com/problems/nim-game
297. 二叉树的序列化与反序列化1https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree
518. 零钱兑换 II1https://leetcode-cn.com/problems/coin-change-2
剑指 Offer 11. 旋转数组的最小数字1https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof
剑指 Offer 32 - III. 从上到下打印二叉树 III1https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof
622. 设计循环队列1https://leetcode-cn.com/problems/design-circular-queue
1299. 将每个元素替换为右侧最大元素1https://leetcode-cn.com/problems/replace-elements-with-greatest-element-on-right-side
67. 二进制求和1https://leetcode-cn.com/problems/add-binary
64. 最小路径和1https://leetcode-cn.com/problems/minimum-path-sum
剑指 Offer 52. 两个链表的第一个公共节点1https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof
560. 和为K的子数组1https://leetcode-cn.com/problems/subarray-sum-equals-k
28. 实现 strStr()1https://leetcode-cn.com/problems/implement-strstr
84. 柱状图中最大的矩形1https://leetcode-cn.com/problems/largest-rectangle-in-histogram
295. 数据流的中位数1https://leetcode-cn.com/problems/find-median-from-data-stream
225. 用队列实现栈1https://leetcode-cn.com/problems/implement-stack-using-queues
剑指 Offer 09. 用两个栈实现队列1https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof
442. 数组中重复的数据1https://leetcode-cn.com/problems/find-all-duplicates-in-an-array
381. O(1) 时间插入、删除和获取随机元素 - 允许重复1https://leetcode-cn.com/problems/insert-delete-getrandom-o1-duplicates-allowed
695. 岛屿的最大面积1https://leetcode-cn.com/problems/max-area-of-island
111. 二叉树的最小深度1https://leetcode-cn.com/problems/minimum-depth-of-binary-tree
567. 字符串的排列1https://leetcode-cn.com/problems/permutation-in-string
107. 二叉树的层次遍历 II1https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii
1219. 黄金矿工1https://leetcode-cn.com/problems/path-with-maximum-gold
剑指 Offer 16. 数值的整数次方1https://leetcode-cn.com/problems/shu-zhi-de-zheng-shu-ci-fang-lcof

百度

公司岗位题目链接频度
百度后端102. 二叉树的层序遍历https://leetcode-cn.com/problems/binary-tree-level-order-traversal/5
百度后端206. 反转链表https://leetcode-cn.com/problems/reverse-linked-list/4
百度后端剑指 Offer 39. 数组中出现次数超过一半的数字https://leetcode-cn.com/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof/3
百度后端94. 二叉树的中序遍历https://leetcode-cn.com/problems/binary-tree-inorder-traversal/3
百度后端199. 二叉树的右视图https://leetcode-cn.com/problems/binary-tree-right-side-view/3
百度后端4. 寻找两个正序数组的中位数https://leetcode-cn.com/problems/median-of-two-sorted-arrays/3
百度后端146. LRU缓存机制https://leetcode-cn.com/problems/lru-cache/3
百度后端142. 环形链表 IIhttps://leetcode-cn.com/problems/linked-list-cycle-ii/solution/3
百度后端268. 缺失数字https://leetcode-cn.com/problems/missing-number/2
百度后端160. 相交链表https://leetcode-cn.com/problems/intersection-of-two-linked-lists/2
百度后端62. 不同路径https://leetcode-cn.com/problems/unique-paths/2
百度后端349. 两个数组的交集https://leetcode-cn.com/problems/intersection-of-two-arrays/2
百度后端19. 删除链表的倒数第N个节点https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/2
百度后端面试题 01.06. 字符串压缩https://leetcode-cn.com/problems/compress-string-lcci/2
百度后端104. 二叉树的最大深度https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/2
百度后端20. 有效的括号https://leetcode-cn.com/problems/valid-parentheses/2
百度后端69. x 的平方根https://leetcode-cn.com/problems/sqrtx/2
百度后端449. 序列化和反序列化二叉搜索树https://leetcode-cn.com/problems/serialize-and-deserialize-bst/1
百度后端105. 从前序与中序遍历序列构造二叉树https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/1
百度后端215. 数组中的第K个最大元素https://leetcode-cn.com/problems/kth-largest-element-in-an-array/1
百度后端191. 位1的个数https://leetcode-cn.com/problems/number-of-1-bits/1
百度后端43. 字符串相乘https://leetcode-cn.com/problems/multiply-strings/1
百度后端88. 合并两个有序数组https://leetcode-cn.com/problems/merge-sorted-array/1
百度后端3. 无重复字符的最长子串https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/1
百度后端121. 买卖股票的最佳时机https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock/1
百度后端123. 买卖股票的最佳时机 IIIhttps://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii/1
百度后端93. 复原IP地址https://leetcode-cn.com/problems/restore-ip-addresses/1
百度后端236. 二叉树的最近公共祖先https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/1
百度后端110. 平衡二叉树https://leetcode-cn.com/problems/balanced-binary-tree/1
百度后端剑指 Offer 10- II. 青蛙跳台阶问题https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof/1
百度后端55. 跳跃游戏https://leetcode-cn.com/problems/jump-game/1
百度后端剑指 Offer 48. 最长不含重复字符的子字符串https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof/1
百度后端15. 三数之和https://leetcode-cn.com/problems/3sum/1
百度后端剑指 Offer 42. 连续子数组的最大和https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof/1
百度后端217. 存在重复元素https://leetcode-cn.com/problems/contains-duplicate/1
百度后端5. 最长回文子串https://leetcode-cn.com/problems/longest-palindromic-substring/1
百度后端468. 验证IP地址https://leetcode-cn.com/problems/validate-ip-address/1
百度后端46. 全排列https://leetcode-cn.com/problems/permutations/1
百度后端222. 完全二叉树的节点个数https://leetcode-cn.com/problems/count-complete-tree-nodes/1
百度后端1143. 最长公共子序列https://leetcode-cn.com/problems/longest-common-subsequence/1
百度后端72. 编辑距离https://leetcode-cn.com/problems/edit-distance/1
百度后端剑指 Offer 52. 两个链表的第一个公共节点https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof/1
百度后端209. 长度最小的子数组https://leetcode-cn.com/problems/minimum-size-subarray-sum/1
百度后端151. 翻转字符串里的单词https://leetcode-cn.com/problems/reverse-words-in-a-string/1
百度后端9. 回文数https://leetcode.com/problems/palindrome-number/1
百度后端25. K 个一组翻转链表https://leetcode-cn.com/problems/reverse-nodes-in-k-group/1
百度后端面试题 16.01. 交换数字https://leetcode-cn.com/problems/swap-numbers-lcci/1
百度后端剑指 Offer 04. 二维数组中的查找https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof/1
百度后端剑指 Offer 36. 二叉搜索树与双向链表https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof/1
百度后端剑指 Offer 21. 调整数组顺序使奇数位于偶数前面https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof/1
百度后端141. 环形链表https://leetcode-cn.com/problems/linked-list-cycle/1
百度后端168. Excel表列名称https://leetcode-cn.com/problems/excel-sheet-column-title/1
百度后端148. 排序链表https://leetcode-cn.com/problems/sort-list/1
百度后端287. 寻找重复数https://leetcode-cn.com/problems/find-the-duplicate-number/1
百度后端1095. 山脉数组中查找目标值https://leetcode-cn.com/problems/find-in-mountain-array/1

阿里

算法题次数
215. 数组中的第K个最大元素3
145. 二叉树的后序遍历2
1. 两数之和2
232. 用栈实现队列2
88. 合并两个有序数组2
15. 三数之和2
349. 两个数组的交集1
5. 最长回文子串1
557. 反转字符串中的单词 III1
72. 编辑距离1
543. 二叉树的直径1
144. 二叉树的前序遍历1
94. 二叉树的中序遍历1
剑指 Offer 22. 链表中倒数第k个节点1
2. 两数相加1
70. 爬楼梯1
509. 斐波那契数1
21. 合并两个有序链表1
46. 全排列1
82. 删除排序链表中的重复元素 II1
剑指 Offer 52. 两个链表的第一个公共节点1
225. 用队列实现栈1
350. 两个数组的交集 II1
415. 字符串相加1
268. 缺失数字1
53. 最大子序和1
344. 反转字符串1
136. 只出现一次的数字1
剑指 Offer 24. 反转链表1

美团

题目出现次数链接
206. 反转链表27https://leetcode-cn.com/problems/reverse-linked-list
88. 合并两个有序数组11https://leetcode-cn.com/problems/merge-sorted-array
补充题4. 手撕快速排序11https://leetcode-cn.com/problems/sort-an-array
141. 环形链表11https://leetcode-cn.com/problems/linked-list-cycle
718. 最长重复子数组10https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray
102. 二叉树的层序遍历9https://leetcode-cn.com/problems/binary-tree-level-order-traversal
剑指 Offer 22. 链表中倒数第k个节点9https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof
8. 字符串转换整数 (atoi)8https://leetcode-cn.com/problems/string-to-integer-atoi
92. 反转链表 II8https://leetcode-cn.com/problems/reverse-linked-list-ii
232. 用栈实现队列7https://leetcode-cn.com/problems/implement-queue-using-stacks
215. 数组中的第K个最大元素7https://leetcode-cn.com/problems/kth-largest-element-in-an-array
124. 二叉树中的最大路径和6https://leetcode-cn.com/problems/binary-tree-maximum-path-sum
144. 二叉树的前序遍历6https://leetcode-cn.com/problems/binary-tree-preorder-traversal
146. LRU缓存机制6https://leetcode-cn.com/problems/lru-cache
543. 二叉树的直径6https://leetcode-cn.com/problems/diameter-of-binary-tree
142. 环形链表 II6https://leetcode-cn.com/problems/linked-list-cycle-ii
160. 相交链表6https://leetcode-cn.com/problems/intersection-of-two-linked-lists
54. 螺旋矩阵6https://leetcode-cn.com/problems/spiral-matrix
5. 最长回文子串6https://leetcode-cn.com/problems/longest-palindromic-substring
19. 删除链表的倒数第N个节点6https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list
21. 合并两个有序链表6https://leetcode-cn.com/problems/merge-two-sorted-lists
25. K 个一组翻转链表5https://leetcode-cn.com/problems/reverse-nodes-in-k-group
236. 二叉树的最近公共祖先5https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree
15. 三数之和5https://leetcode-cn.com/problems/3sum
94. 二叉树的中序遍历5https://leetcode-cn.com/problems/binary-tree-inorder-traversal
82. 删除排序链表中的重复元素 II5https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii
143. 重排链表5https://leetcode-cn.com/problems/reorder-list
3. 无重复字符的最长子串5https://leetcode-cn.com/problems/longest-substring-without-repeating-characters
56. 合并区间5https://leetcode-cn.com/problems/merge-intervals
剑指 Offer 36. 二叉搜索树与双向链表4https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof
415. 字符串相加4https://leetcode-cn.com/problems/add-strings
704. 二分查找4https://leetcode-cn.com/problems/binary-search
191. 位1的个数4https://leetcode-cn.com/problems/number-of-1-bits
20. 有效的括号4https://leetcode-cn.com/problems/valid-parentheses
113. 路径总和 II4https://leetcode-cn.com/problems/path-sum-ii
7. 整数反转4https://leetcode-cn.com/problems/reverse-integer
2. 两数相加4https://leetcode-cn.com/problems/add-two-numbers
53. 最大子序和4https://leetcode-cn.com/problems/maximum-subarray
剑指 Offer 40. 最小的k个数4https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof
103. 二叉树的锯齿形层次遍历4https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal
151. 翻转字符串里的单词4https://leetcode-cn.com/problems/reverse-words-in-a-string
1143. 最长公共子序列3https://leetcode-cn.com/problems/longest-common-subsequence
110. 平衡二叉树3https://leetcode-cn.com/problems/balanced-binary-tree
1. 两数之和3https://leetcode-cn.com/problems/two-sum
199. 二叉树的右视图3https://leetcode-cn.com/problems/binary-tree-right-side-view
234. 回文链表3https://leetcode-cn.com/problems/palindrome-linked-list
93. 复原IP地址3https://leetcode-cn.com/problems/restore-ip-addresses
498. 对角线遍历3https://leetcode-cn.com/problems/diagonal-traverse
33. 搜索旋转排序数组3https://leetcode-cn.com/problems/search-in-rotated-sorted-array
62. 不同路径3https://leetcode-cn.com/problems/unique-paths
169. 多数元素3https://leetcode-cn.com/problems/majority-element
剑指 Offer 62. 圆圈中最后剩下的数字3https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof
70. 爬楼梯3https://leetcode-cn.com/problems/climbing-stairs
补充题5. 手撕归并排序3https://leetcode-cn.com/problems/sort-an-array
468. 验证IP地址3https://leetcode-cn.com/problems/validate-ip-address
补充题8. 计算数组的小和3https://mp.weixin.qq.com/s/0ih4W6nawzFUPSj3GOnYTQ
83. 删除排序链表中的重复元素3https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list
78. 子集3https://leetcode-cn.com/problems/subsets
46. 全排列3https://leetcode-cn.com/problems/permutations
34. 在排序数组中查找元素的第一个和最后一个位置2https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array
384. 打乱数组2https://leetcode-cn.com/problems/shuffle-an-array
226. 翻转二叉树2https://leetcode-cn.com/problems/invert-binary-tree
69. x 的平方根2https://leetcode-cn.com/problems/sqrtx
41. 缺失的第一个正数2https://leetcode-cn.com/problems/first-missing-positive
300. 最长上升子序列2https://leetcode-cn.com/problems/longest-increasing-subsequence
9. 回文数2https://leetcode-cn.com/problems/palindrome-number
剑指 Offer 10- II. 青蛙跳台阶问题2https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof
64. 最小路径和2https://leetcode-cn.com/problems/minimum-path-sum
687. 最长同值路径2https://leetcode-cn.com/problems/longest-univalue-path
剑指 Offer 10- I. 斐波那契数列2https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof
179. 最大数2https://leetcode-cn.com/problems/largest-number
162. 寻找峰值2https://leetcode-cn.com/problems/find-peak-element
剑指 Offer 21. 调整数组顺序使奇数位于偶数前面2https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof
121. 买卖股票的最佳时机2https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock
125. 验证回文串2https://leetcode-cn.com/problems/valid-palindrome
6. Z 字形变换2https://leetcode-cn.com/problems/zigzag-conversion
101. 对称二叉树2https://leetcode-cn.com/problems/symmetric-tree
242. 有效的字母异位词2https://leetcode-cn.com/problems/valid-anagram
剑指 Offer 15. 二进制中1的个数2https://leetcode-cn.com/problems/er-jin-zhi-zhong-1de-ge-shu-lcof
120. 三角形最小路径和2https://leetcode-cn.com/problems/triangle
283. 移动零2https://leetcode-cn.com/problems/move-zeroes
118. 杨辉三角2https://leetcode-cn.com/problems/pascals-triangle
剑指 Offer 58 - I. 翻转单词顺序1https://leetcode-cn.com/problems/fan-zhuan-dan-ci-shun-xu-lcof
剑指 Offer 09. 用两个栈实现队列1https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof
387. 字符串中的第一个唯一字符1https://leetcode-cn.com/problems/first-unique-character-in-a-string
153. 寻找旋转排序数组中的最小值1https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array
55. 跳跃游戏1https://leetcode-cn.com/problems/jump-game
1245. 树的直径1https://leetcode-cn.com/problems/tree-diameter
1044. 最长重复子串1https://leetcode-cn.com/problems/longest-duplicate-substring
679. 24 点游戏1https://leetcode-cn.com/problems/24-game
60. 第k个排列1https://leetcode-cn.com/problems/permutation-sequence
132. 分割回文串 II1https://leetcode-cn.com/problems/palindrome-partitioning-ii
43. 字符串相乘1https://leetcode-cn.com/problems/multiply-strings
105. 从前序与中序遍历序列构造二叉树1https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
117. 填充每个节点的下一个右侧节点指针 II1https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii
补充题6. 手撕堆排序1https://leetcode-cn.com/problems/sort-an-array
509. 斐波那契数1https://leetcode-cn.com/problems/fibonacci-number
268. 缺失数字1https://leetcode-cn.com/problems/missing-number
26. 删除排序数组中的重复项1https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array
剑指 Offer 45. 把数组排成最小的数1https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof
958. 二叉树的完全性检验1https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree
42. 接雨水1https://leetcode-cn.com/problems/trapping-rain-water
面试题 16.03. 交点1https://leetcode-cn.com/problems/intersection-lcci
108. 将有序数组转换为二叉搜索树1https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree
240. 搜索二维矩阵 II1https://leetcode-cn.com/problems/search-a-2d-matrix-ii
450. 删除二叉搜索树中的节点1https://leetcode-cn.com/problems/delete-node-in-a-bst
剑指 Offer 14- I. 剪绳子1https://leetcode-cn.com/problems/jian-sheng-zi-lcof
203. 移除链表元素1https://leetcode-cn.com/problems/remove-linked-list-elements
227. 基本计算器 II1https://leetcode-cn.com/problems/basic-calculator-ii
31. 下一个排列1https://leetcode-cn.com/problems/next-permutation
剑指 Offer 58 - II. 左旋转字符串1https://leetcode-cn.com/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof
617. 合并二叉树1https://leetcode-cn.com/problems/merge-two-binary-trees
1095. 山脉数组中查找目标值1https://leetcode-cn.com/problems/find-in-mountain-array
354. 俄罗斯套娃信封问题1https://leetcode-cn.com/problems/russian-doll-envelopes
104. 二叉树的最大深度1https://leetcode-cn.com/problems/maximum-depth-of-binary-tree
198. 打家劫舍1https://leetcode-cn.com/problems/house-robber
155. 最小栈1https://leetcode-cn.com/problems/min-stack
剑指 Offer 53 - I. 在排序数组中查找数字 I1https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof
138. 复制带随机指针的链表1https://leetcode-cn.com/problems/copy-list-with-random-pointer
剑指 Offer 11. 旋转数组的最小数字1https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof
137. 只出现一次的数字 II1https://leetcode-cn.com/problems/single-number-ii
518. 零钱兑换 II1https://leetcode-cn.com/problems/coin-change-2
59. 螺旋矩阵 II1https://leetcode-cn.com/problems/spiral-matrix-ii
4. 寻找两个正序数组的中位数1https://leetcode-cn.com/problems/median-of-two-sorted-arrays
补充题20. 立方根1
剑指 Offer 65. 不用加减乘除做加法1https://leetcode-cn.com/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof
165. 比较版本号1https://leetcode-cn.com/problems/compare-version-numbers
123. 买卖股票的最佳时机 III1https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii
136. 只出现一次的数字1https://leetcode-cn.com/problems/single-number
129. 求根到叶子节点数字之和1https://leetcode-cn.com/problems/sum-root-to-leaf-numbers
剑指 Offer 43. 1~n整数中1出现的次数1https://leetcode-cn.com/problems/1nzheng-shu-zhong-1chu-xian-de-ci-shu-lcof
面试题 02.08. 环路检测1https://leetcode-cn.com/problems/linked-list-cycle-lcci
128. 最长连续序列1https://leetcode-cn.com/problems/longest-consecutive-sequence
47. 全排列 II1https://leetcode-cn.com/problems/permutations-ii
61. 旋转链表1https://leetcode-cn.com/problems/rotate-list
剑指 Offer 03. 数组中重复的数字1https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof
剑指 Offer 29. 顺时针打印矩阵1https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof
面试题 02.01. 移除重复节点1https://leetcode-cn.com/problems/remove-duplicate-node-lcci
面试题 02.02. 返回倒数第 k 个节点1https://leetcode-cn.com/problems/kth-node-from-end-of-list-lcci
11. 盛最多水的容器1https://leetcode-cn.com/problems/container-with-most-water
172. 阶乘后的零1https://leetcode-cn.com/problems/factorial-trailing-zeroes
14. 最长公共前缀1https://leetcode-cn.com/problems/longest-common-prefix
补充题21. 字符串相减1https://mp.weixin.qq.com/s/kCue4c0gnLSw0HosFl_t7w
516. 最长回文子序列1https://leetcode-cn.com/problems/longest-palindromic-subsequence
692. 前K个高频单词1https://leetcode-cn.com/problems/top-k-frequent-words
91. 解码方法1https://leetcode-cn.com/problems/decode-ways
面试题 02.05. 链表求和1https://leetcode-cn.com/problems/sum-lists-lcci
面试题 03.05. 栈排序1https://leetcode-cn.com/problems/sort-of-stacks-lcci
23. 合并K个排序链表1https://leetcode-cn.com/problems/merge-k-sorted-lists
876. 链表的中间结点1https://leetcode-cn.com/problems/middle-of-the-linked-list
145. 二叉树的后序遍历1https://leetcode-cn.com/problems/binary-tree-postorder-traversal
622. 设计循环队列1https://leetcode-cn.com/problems/design-circular-queue
343. 整数拆分1https://leetcode-cn.com/problems/integer-break
112. 路径总和1https://leetcode-cn.com/problems/path-sum

快手

题目出现次数链接
206. 反转链表15https://leetcode-cn.com/problems/reverse-linked-list
160. 相交链表8https://leetcode-cn.com/problems/intersection-of-two-linked-lists
补充题4. 手撕快速排序7
146. LRU缓存机制7https://leetcode-cn.com/problems/lru-cache
21. 合并两个有序链表7https://leetcode-cn.com/problems/merge-two-sorted-lists
215. 数组中的第K个最大元素7https://leetcode-cn.com/problems/kth-largest-element-in-an-array
88. 合并两个有序数组6https://leetcode-cn.com/problems/merge-sorted-array
141. 环形链表5https://leetcode-cn.com/problems/linked-list-cycle
92. 反转链表 II5https://leetcode-cn.com/problems/reverse-linked-list-ii
151. 翻转字符串里的单词5https://leetcode-cn.com/problems/reverse-words-in-a-string
2. 两数相加5https://leetcode-cn.com/problems/add-two-numbers
3. 无重复字符的最长子串5https://leetcode-cn.com/problems/longest-substring-without-repeating-characters
155. 最小栈4https://leetcode-cn.com/problems/min-stack
144. 二叉树的前序遍历4https://leetcode-cn.com/problems/binary-tree-preorder-traversal
136. 只出现一次的数字4https://leetcode-cn.com/problems/single-number
34. 在排序数组中查找元素的第一个和最后一个位置4https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array
20. 有效的括号4https://leetcode-cn.com/problems/valid-parentheses
148. 排序链表4https://leetcode-cn.com/problems/sort-list
24. 两两交换链表中的节点4https://leetcode-cn.com/problems/swap-nodes-in-pairs
415. 字符串相加4https://leetcode-cn.com/problems/add-strings
142. 环形链表 II3https://leetcode-cn.com/problems/linked-list-cycle-ii
46. 全排列3https://leetcode-cn.com/problems/permutations
剑指 Offer 10- II. 青蛙跳台阶问题3https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof
剑指 Offer 22. 链表中倒数第k个节点3https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof
150. 逆波兰表达式求值3https://leetcode-cn.com/problems/evaluate-reverse-polish-notation
94. 二叉树的中序遍历3https://leetcode-cn.com/problems/binary-tree-inorder-traversal
128. 最长连续序列3https://leetcode-cn.com/problems/longest-consecutive-sequence
补充题8. 计算数组的小和3https://mp.weixin.qq.com/s/0ih4W6nawzFUPSj3GOnYTQ
121. 买卖股票的最佳时机3https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock
补充题5. 手撕归并排序3
69. x 的平方根3https://leetcode-cn.com/problems/sqrtx
103. 二叉树的锯齿形层次遍历3https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal
102. 二叉树的层序遍历3https://leetcode-cn.com/problems/binary-tree-level-order-traversal
剑指 Offer 51. 数组中的逆序对3https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof
剑指 Offer 21. 调整数组顺序使奇数位于偶数前面3https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof
76. 最小覆盖子串3https://leetcode-cn.com/problems/minimum-window-substring
15. 三数之和2https://leetcode-cn.com/problems/3sum
145. 二叉树的后序遍历2https://leetcode-cn.com/problems/binary-tree-postorder-traversal
543. 二叉树的直径2https://leetcode-cn.com/problems/diameter-of-binary-tree
845. 数组中的最长山脉2https://leetcode-cn.com/problems/longest-mountain-in-array
剑指 Offer 18. 删除链表的节点2https://leetcode-cn.com/problems/shan-chu-lian-biao-de-jie-dian-lcof
1143. 最长公共子序列2https://leetcode-cn.com/problems/longest-common-subsequence
剑指 Offer 19. 正则表达式匹配2https://leetcode-cn.com/problems/zheng-ze-biao-da-shi-pi-pei-lcof
509. 斐波那契数2https://leetcode-cn.com/problems/fibonacci-number
226. 翻转二叉树2https://leetcode-cn.com/problems/invert-binary-tree
93. 复原IP地址2https://leetcode-cn.com/problems/restore-ip-addresses
1047. 删除字符串中的所有相邻重复项2https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string
43. 字符串相乘2https://leetcode-cn.com/problems/multiply-strings
113. 路径总和 II2https://leetcode-cn.com/problems/path-sum-ii
718. 最长重复子数组2https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray
剑指 Offer 55 - I. 二叉树的深度2https://leetcode-cn.com/problems/er-cha-shu-de-shen-du-lcof
78. 子集2https://leetcode-cn.com/problems/subsets
498. 对角线遍历2https://leetcode-cn.com/problems/diagonal-traverse
122. 买卖股票的最佳时机 II2https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii
剑指 Offer 36. 二叉搜索树与双向链表2https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof
200. 岛屿数量2https://leetcode-cn.com/problems/number-of-islands
33. 搜索旋转排序数组2https://leetcode-cn.com/problems/search-in-rotated-sorted-array
54. 螺旋矩阵2https://leetcode-cn.com/problems/spiral-matrix
225. 用队列实现栈2https://leetcode-cn.com/problems/implement-stack-using-queues
23. 合并K个排序链表2https://leetcode-cn.com/problems/merge-k-sorted-lists
104. 二叉树的最大深度2https://leetcode-cn.com/problems/maximum-depth-of-binary-tree
318. 最大单词长度乘积1https://leetcode-cn.com/problems/maximum-product-of-word-lengths
321. 拼接最大数1https://leetcode-cn.com/problems/create-maximum-number
面试题 17.01. 不用加号的加法1https://leetcode-cn.com/problems/add-without-plus-lcci
468. 验证IP地址1https://leetcode-cn.com/problems/validate-ip-address
16. 最接近的三数之和1https://leetcode-cn.com/problems/3sum-closest
239. 滑动窗口最大值1https://leetcode-cn.com/problems/sliding-window-maximum
470. 用 Rand7() 实现 Rand10()1https://leetcode-cn.com/problems/implement-rand10-using-rand7
8. 字符串转换整数 (atoi)1https://leetcode-cn.com/problems/string-to-integer-atoi
剑指 Offer 24. 反转链表1https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof
67. 二进制求和1https://leetcode-cn.com/problems/add-binary
450. 删除二叉搜索树中的节点1https://leetcode-cn.com/problems/delete-node-in-a-bst
322. 零钱兑换1https://leetcode-cn.com/problems/coin-change
220. 存在重复元素 III1https://leetcode-cn.com/problems/contains-duplicate-iii
剑指 Offer 04. 二维数组中的查找1https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof
48. 旋转图像1https://leetcode-cn.com/problems/rotate-image
337. 打家劫舍 III1https://leetcode-cn.com/problems/house-robber-iii
191. 位1的个数1https://leetcode-cn.com/problems/number-of-1-bits
22. 括号生成1https://leetcode-cn.com/problems/generate-parentheses
5. 最长回文子串1https://leetcode-cn.com/problems/longest-palindromic-substring
224. 基本计算器1https://leetcode-cn.com/problems/basic-calculator
701. 二叉搜索树中的插入操作1https://leetcode-cn.com/problems/insert-into-a-binary-search-tree
111. 二叉树的最小深度1https://leetcode-cn.com/problems/minimum-depth-of-binary-tree
110. 平衡二叉树1https://leetcode-cn.com/problems/balanced-binary-tree
210. 课程表 II1https://leetcode-cn.com/problems/course-schedule-ii
480. 滑动窗口中位数1https://leetcode-cn.com/problems/sliding-window-median
137. 只出现一次的数字 II1https://leetcode-cn.com/problems/single-number-ii
剑指 Offer 41. 数据流中的中位数1https://leetcode-cn.com/problems/shu-ju-liu-zhong-de-zhong-wei-shu-lcof
42. 接雨水1https://leetcode-cn.com/problems/trapping-rain-water
82. 删除排序链表中的重复元素 II1https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii
230. 二叉搜索树中第K小的元素1https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst
剑指 Offer 10- I. 斐波那契数列1https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof
169. 多数元素1https://leetcode-cn.com/problems/majority-element
59. 螺旋矩阵 II1https://leetcode-cn.com/problems/spiral-matrix-ii
74. 搜索二维矩阵1https://leetcode-cn.com/problems/search-a-2d-matrix
236. 二叉树的最近公共祖先1https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree
1. 两数之和1https://leetcode-cn.com/problems/two-sum
75. 颜色分类1https://leetcode-cn.com/problems/sort-colors
207. 课程表1https://leetcode-cn.com/problems/course-schedule
64. 最小路径和1https://leetcode-cn.com/problems/minimum-path-sum
1156. 单字符重复子串的最大长度1https://leetcode-cn.com/problems/swap-for-longest-repeated-character-substring
剑指 Offer 43. 1~n整数中1出现的次数1https://leetcode-cn.com/problems/1nzheng-shu-zhong-1chu-xian-de-ci-shu-lcof
14. 最长公共前缀1https://leetcode-cn.com/problems/longest-common-prefix
面试题 16.06. 最小差1https://leetcode-cn.com/problems/smallest-difference-lcci
1493. 删掉一个元素以后全为 1 的最长子数组1https://leetcode-cn.com/problems/longest-subarray-of-1s-after-deleting-one-element
剑指 Offer 09. 用两个栈实现队列1https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof
1027. 最长等差数列1https://leetcode-cn.com/problems/longest-arithmetic-subsequence
1464. 数组中两元素的最大乘积1https://leetcode-cn.com/problems/maximum-product-of-two-elements-in-an-array
235. 二叉搜索树的最近公共祖先1https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-search-tree
204. 计数质数1https://leetcode-cn.com/problems/count-primes
83. 删除排序链表中的重复元素1https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list
958. 二叉树的完全性检验1https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree
312. 戳气球1https://leetcode-cn.com/problems/burst-balloons
剑指 Offer 25. 合并两个排序的链表1https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof
9. 回文数1https://leetcode-cn.com/problems/palindrome-number
25. K 个一组翻转链表1https://leetcode-cn.com/problems/reverse-nodes-in-k-group
199. 二叉树的右视图1https://leetcode-cn.com/problems/binary-tree-right-side-view
240. 搜索二维矩阵 II1https://leetcode-cn.com/problems/search-a-2d-matrix-ii
1312. 让字符串成为回文串的最少插入次数1https://leetcode-cn.com/problems/minimum-insertion-steps-to-make-a-string-palindrome
6. Z 字形变换1https://leetcode-cn.com/problems/zigzag-conversion
189. 旋转数组1https://leetcode-cn.com/problems/rotate-array
19. 删除链表的倒数第N个节点1https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list
53. 最大子序和1https://leetcode-cn.com/problems/maximum-subarray
232. 用栈实现队列1https://leetcode-cn.com/problems/implement-queue-using-stacks
572. 另一个树的子树1https://leetcode-cn.com/problems/subtree-of-another-tree
704. 二分查找1https://leetcode-cn.com/problems/binary-search
238. 除自身以外数组的乘积1https://leetcode-cn.com/problems/product-of-array-except-self
剑指 Offer 42. 连续子数组的最大和1https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof
138. 复制带随机指针的链表1https://leetcode-cn.com/problems/copy-list-with-random-pointer
剑指 Offer 32 - III. 从上到下打印二叉树 III1https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof
129. 求根到叶子节点数字之和1https://leetcode-cn.com/problems/sum-root-to-leaf-numbers
101. 对称二叉树1https://leetcode-cn.com/problems/symmetric-tree
540. 有序数组中的单一元素1https://leetcode-cn.com/problems/single-element-in-a-sorted-array
剑指 Offer 12. 矩阵中的路径1https://leetcode-cn.com/problems/ju-zhen-zhong-de-lu-jing-lcof
208. 实现 Trie (前缀树)1https://leetcode-cn.com/problems/implement-trie-prefix-tree
剑指 Offer 40. 最小的k个数1https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof
40. 组合总和 II1https://leetcode-cn.com/problems/combination-sum-ii

标签:cn,2https,problems,算法,开发,1https,com,leetcode
来源: https://blog.csdn.net/qq_41822345/article/details/123122339