Skip to content

Latest commit

 

History

History
159 lines (158 loc) · 13.5 KB

backend.md

File metadata and controls

159 lines (158 loc) · 13.5 KB

后端

若想按部门/难度/题型筛选题目,请进入CodeTop查询

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