-
1. 两数之和
-
3. 无重复字符的最长子串
-
[0988-smallest-string-starting-from-leaf]
-
7. Reverse Integer
-
8. String to Integer (atoi)
-
9. Palindrome Number
-
11. 盛最多水的容器
-
12. Integer to Roman
-
2. Add Two Numbers
-
15. 三数之和
-
16. 3Sum Closest
-
17. Letter Combinations of a Phone Number
-
18. 4Sum
-
19. 删除链表的倒数第 N 个结点
-
20. Valid Parentheses
-
21. 合并两个有序链表
-
22. Generate Parentheses
-
23. 合并 K 个升序链表
-
24. Swap Nodes in Pairs
-
4. Median of Two Sorted Arrays
-
26. Remove Duplicates from Sorted Array
-
27. 移除元素
-
28. 找出字符串中第一个匹配项的下标
-
25. K 个一组翻转链表
-
5. 最长回文子串
-
31. 下一个排列
-
33. 搜索旋转排序数组
-
34. 在排序数组中查找元素的第一个和最后一个位置
-
35. Search Insert Position
-
37. 解数独
-
40. 组合总和 II
-
41. 缺失的第一个正数
-
43. Multiply Strings
-
39. 组合总和
-
45. Jump Game II
-
42. 接雨水
-
46. 全排列
-
48. 旋转图像
-
49. Group Anagrams
-
50. Pow(x, n)
-
51. N-Queens
-
53. 最大子数组和
-
54. 螺旋矩阵
-
55. Jump Game
-
56. 合并区间
-
10. Regular Expression Matching
-
59. Spiral Matrix II
-
62. 不同路径
-
63. 不同路径 II
-
70. Climbing Stairs
-
14. Longest Common Prefix
-
72. 编辑距离
-
73. Set Matrix Zeroes
-
74. 搜索二维矩阵
-
76. 最小覆盖子串
-
78. Subsets
-
80. Remove Duplicates from Sorted Array II
-
82. Remove Duplicates from Sorted List II
-
[0085-maximal-rectangle]
-
86. Partition List
-
88. 合并两个有序数组
-
91. Decode Ways
-
92. 反转链表 II
-
93. 复原 IP 地址
-
96. 不同的二叉搜索树
-
100. Same Tree
-
101. Symmetric Tree
-
102. 二叉树的层序遍历
-
103. Binary Tree Zigzag Level Order Traversal
-
104. Maximum Depth of Binary Tree
-
105. Construct Binary Tree from Preorder and Inorder Traversal
-
106. Construct Binary Tree from Inorder and Postorder Traversal
-
108. 将有序数组转换为二叉搜索树
-
110. Balanced Binary Tree
-
[2924-find-champion-ii]
-
121. 买卖股票的最佳时机
-
122. Best Time to Buy and Sell Stock II
-
125. Valid Palindrome
-
128. 最长连续序列
-
[1068-product-sales-analysis-i]
-
131. 分割回文串
-
134. Gas Station
-
135. Candy
-
138. Copy List with Random Pointer
-
139. 单词拆分
-
141. 环形链表
-
142. 环形链表 II
-
146. LRU 缓存
-
148. 排序链表
-
151. Reverse Words in a String
-
153. Find Minimum in Rotated Sorted Array
-
152. Maximum Product Subarray
-
[0550-game-play-analysis-iv]
-
[0165-compare-version-numbers]
-
169. Majority Element
-
176. Second Highest Salary
-
179. Largest Number
-
[0181-employees-earning-more-than-their-managers]
-
189. 轮转数组
-
198. 打家劫舍
-
199. Binary Tree Right Side View
-
200. 岛屿数量
-
203. 移除链表元素
-
206. 反转链表
-
209. 长度最小的子数组
-
215. 数组中的第K个最大元素
-
[0216-combination-sum-iii]
-
221. 最大正方形
-
1143. 最长公共子序列
-
226. Invert Binary Tree
-
[0228-summary-ranges]
-
238. Product of Array Except Self
-
239. Sliding Window Maximum
-
240. Search a 2D Matrix II
-
[0253-meeting-rooms-ii]
-
[0264-ugly-number-ii]
-
[0274-h-index]
-
279. Perfect Squares
-
283. Move Zeroes
-
287. Find the Duplicate Number
-
289. Game of Life
-
300. Longest Increasing Subsequence
-
[0310-minimum-height-trees]
-
322. 零钱兑换
-
[2235-add-two-integers]
-
343. 整数拆分
-
347. 前 K 个高频元素
-
[0349-intersection-of-two-arrays]
-
[0365-water-and-jug-problem]
-
[1251-average-selling-price]
-
[0377-combination-sum-iv]
-
380. Insert Delete GetRandom O(1)
-
[0386-lexicographical-numbers]
-
387. First Unique Character in a String
-
392. Is Subsequence
-
394. Decode String
-
402. Remove K Digits
-
416. 分割等和子集
-
[0417-pacific-atlantic-water-flow]
-
438. Find All Anagrams in a String
-
[0452-minimum-number-of-arrows-to-burst-balloons]
-
454. 4Sum II
-
474. 一和零
-
[1378-replace-employee-id-with-the-unique-identifier]
-
494. Target Sum
-
516. 最长回文子序列
-
560. Subarray Sum Equals K
-
[0595-big-countries]
-
[0611-valid-triangle-number]
-
[0649-dota2-senate]
-
662. 二叉树最大宽度
-
669. Trim a Binary Search Tree
-
[0680-valid-palindrome-ii]
-
695. Max Area of Island
-
713. Subarray Product Less Than K
-
718. 最长重复子数组
-
[0763-partition-labels]
-
[1661-average-time-of-process-per-machine]
-
[2831-find-the-longest-equal-subarray]
-
704. Binary Search
-
[2789-largest-element-in-an-array-after-merge-operations]
-
707. 设计链表
-
[1766-tree-of-coprimes]
-
[1768-merge-strings-alternately]
-
[1757-recyclable-and-low-fat-products]
-
[0871-minimum-number-of-refueling-stops]
-
[0902-numbers-at-most-n-given-digit-set]
-
912. Sort an Array
-
946. Validate Stack Sequences
-
[1883-minimum-skips-to-arrive-at-meeting-on-time]
-
[0977-squares-of-a-sorted-array]
-
654. Maximum Binary Tree
-
143. 重排链表
-
[0537-complex-number-multiplication]
-
175. Combine Two Tables
-
[0185-department-top-three-salaries]
-
[2007-find-original-array-from-doubled-array]
-
[0455-assign-cookies]
-
202. 快乐数
-
75. Sort Colors
-
84. 柱状图中最大的矩形
-
[0097-interleaving-string]
-
236. 二叉树的最近公共祖先
-
752. Open the Lock
-
123. Best Time to Buy and Sell Stock III
-
[1004-max-consecutive-ones-iii]
-
[0670-maximum-swap]
-
30. 串联所有单词的子串
-
[0036-valid-sudoku]
-
64. 最小路径和
-
[2589-minimum-time-to-complete-all-tasks]
-
234. Palindrome Linked List
-
[1052-grumpy-bookstore-owner]
-
[0514-freedom-trail]
-
[0522-longest-uncommon-subsequence-ii]
-
[0994-rotting-oranges]
-
[0541-reverse-string-ii]
-
47. Permutations II
-
69. Sqrt(x)
-
[0584-find-customer-referee]
-
83. Remove Duplicates from Sorted List
-
[1502-can-make-arithmetic-progression-from-sequence]
-
94. Binary Tree Inorder Traversal
-
617. Merge Two Binary Trees
-
[1539-kth-missing-positive-number]
-
124. 二叉树中的最大路径和
-
155. Min Stack
-
160. Intersection of Two Linked Lists
-
[0178-rank-scores]
-
[0180-consecutive-numbers]
-
[1581-customer-who-visited-but-did-not-make-any-transactions]
-
191. Number of 1 Bits
-
208. 实现 Trie (前缀树)
-
721. 账户合并
-
227. Basic Calculator II
-
[2769-find-the-maximum-achievable-number]
-
[0260-single-number-iii]
-
[2739-total-distance-traveled]
-
[2813-maximum-elegance-of-a-k-length-subsequence]
-
875. Koko Eating Bananas
-
409. Longest Palindrome
-
[0918-maximum-sum-circular-subarray]
-
1081. 不同字符的最小子序列
-
1049. 最后一块石头的重量 II
-
1997. 访问完所有房间的第一天
-
316. 去除重复字母
-
6. ZigZag Conversion
-
[1907-count-salary-categories]
-
13. Roman to Integer
-
32. 最长有效括号
-
[1953-maximum-number-of-weeks-for-which-you-can-work]
-
[1934-confirmation-rate]
-
[1976-number-of-ways-to-arrive-at-destination]
-
[0044-wildcard-matching]
-
52. N-Queens II
-
[1992-find-all-groups-of-farmland]
-
57. Insert Interval
-
61. Rotate List
-
[1965-employees-with-missing-information]
-
67. Add Binary
-
[0068-text-justification]
-
79. Word Search
-
89. Gray Code
-
99. Recover Binary Search Tree
-
107. Binary Tree Level Order Traversal II
-
[2028-find-missing-observations]
-
112. Path Sum
-
114. Flatten Binary Tree to Linked List
-
[0115-distinct-subsequences]
-
118. Pascal’s Triangle
-
130. Surrounded Regions
-
[0132-palindrome-partitioning-ii]
-
133. Clone Graph
-
144. Binary Tree Preorder Traversal
-
145. Binary Tree Postorder Traversal
-
162. Find Peak Element
-
166. Fraction to Recurring Decimal
-
167. Two Sum II - Input array is sorted
-
171. Excel Sheet Column Number
-
[0174-dungeon-game]
-
[2105-watering-plants-ii]
-
[0183-customers-who-never-order]
-
[0187-repeated-dna-sequences]
-
188. Best Time to Buy and Sell Stock IV
-
[0196-delete-duplicate-emails]
-
207. 课程表
-
[0211-design-add-and-search-words-data-structure]
-
[0214-shortest-palindrome]
-
[2162-minimum-cost-to-set-cooking-time]
-
[0219-contains-duplicate-ii]
-
222. Count Complete Tree Nodes
-
[0224-basic-calculator]
-
[2157-groups-of-strings]
-
232. Implement Queue using Stacks
-
237. Delete Node in a Linked List
-
242. Valid Anagram
-
[2181-merge-nodes-in-between-zeros]
-
257. Binary Tree Paths
-
[0258-add-digits]
-
278. First Bad Version
-
[0280-wiggle-sort]
-
[0290-word-pattern]
-
295. 数据流的中位数
-
297. Serialize and Deserialize Binary Tree
-
[0301-remove-invalid-parentheses]
-
[0306-additive-number]
-
309. Best Time to Buy and Sell Stock with Cooldown
-
[2276-count-integers-in-intervals]
-
[0312-burst-balloons]
-
[2244-minimum-rounds-to-complete-all-tasks]
-
[0315-count-of-smaller-numbers-after-self]
-
324. Wiggle Sort II
-
[0327-count-of-range-sum]
-
[0332-reconstruct-itinerary]
-
334. Increasing Triplet Subsequence
-
337. 打家劫舍 III
-
[2293-min-max-game]
-
[0345-reverse-vowels-of-a-string]
-
[2320-count-number-of-ways-to-place-houses]
-
350. Intersection of Two Arrays II
-
[2316-count-unreachable-pairs-of-nodes-in-an-undirected-graph]
-
[0367-valid-perfect-square]
-
[0376-wiggle-subsequence]
-
[0383-ransom-note]
-
395. Longest Substring with At Least K Repeating Characters
-
[0396-rotate-function]
-
[0403-frog-jump]
-
404. Sum of Left Leaves
-
[0405-convert-a-number-to-hexadecimal]
-
[0410-split-array-largest-sum]
-
[2385-amount-of-time-for-binary-tree-to-be-infected]
-
[0414-third-maximum-number]
-
415. 字符串相加
-
[2386-find-the-k-sum-of-an-array]
-
[0421-maximum-xor-of-two-numbers-in-an-array]
-
[2391-minimum-amount-of-time-to-collect-garbage]
-
[0435-non-overlapping-intervals]
-
[0440-k-th-smallest-in-lexicographical-order]
-
[2406-divide-intervals-into-minimum-number-of-groups]
-
[0443-string-compression]
-
[2356-number-of-unique-subjects-taught-by-each-teacher]
-
448. Find All Numbers Disappeared in an Array
-
[0451-sort-characters-by-frequency]
-
453. Minimum Moves to Equal Array Elements
-
[0459-repeated-substring-pattern]
-
462. Minimum Moves to Equal Array Elements II
-
[0468-validate-ip-address]
-
[0475-heaters]
-
480. Sliding Window Median
-
[2439-minimize-maximum-of-array]
-
[0485-max-consecutive-ones]
-
[0486-predict-the-winner]
-
[0498-diagonal-traverse]
-
[2447-number-of-subarrays-with-gcd-equal-to-k]
-
503. Next Greater Element II
-
[2462-total-cost-to-hire-k-workers]
-
513. Find Bottom Left Tree Value
-
[2476-closest-nodes-queries-in-a-binary-search-tree]
-
[0521-longest-uncommon-subsequence-i]
-
523. Continuous Subarray Sum
-
[0526-beautiful-arrangement]
-
[2481-minimum-cuts-to-divide-a-circle]
-
[0529-minesweeper]
-
530. 二叉搜索树的最小绝对差
-
538. Convert BST to Greater Tree
-
[0540-single-element-in-a-sorted-array]
-
[0542-01-matrix]
-
[0546-remove-boxes]
-
547. 省份数量
-
[2508-add-edges-to-make-degrees-of-all-nodes-even]
-
[0552-student-attendance-record-ii]
-
567. Permutation in String
-
[0569-median-employee-salary]
-
[0574-winning-candidate]
-
[0577-employee-bonus]
-
581. Shortest Unsorted Continuous Subarray
-
[0585-investments-in-2016]
-
[0596-classes-more-than-5-students]
-
[2580-count-ways-to-group-overlapping-ranges]
-
[0605-can-place-flowers]
-
[0608-tree-node]
-
[2588-count-the-number-of-beautiful-subarrays]
-
[0610-triangle-judgement]
-
[0614-second-degree-follower]
-
[2594-minimum-time-to-repair-cars]
-
[0623-add-one-row-to-tree]
-
[0632-smallest-range-covering-elements-from-k-lists]
-
[2552-count-increasing-quadruplets]
-
[2663-lexicographically-smallest-beautiful-string]
-
[0642-design-search-autocomplete-system]
-
[0645-set-mismatch]
-
647. Palindromic Substrings
-
[0650-2-keys-keyboard]
-
[0653-two-sum-iv-input-is-a-bst]
-
[0658-find-k-closest-elements]
-
[0674-longest-continuous-increasing-subsequence]
-
[0697-degree-of-an-array]
-
[0712-minimum-ascii-delete-sum-for-two-strings]
-
[2626-array-reduce-transformation]
-
714. Best Time to Buy and Sell Stock with Transaction Fee
-
724. Find Pivot Index
-
[2648-generate-fibonacci-sequence]
-
[0728-self-dividing-numbers]
-
[2670-find-the-distinct-difference-array]
-
[2684-maximum-number-of-moves-in-a-grid]
-
746. 使用最小花费爬楼梯
-
[2703-return-length-of-arguments-passed]
-
701. Insert into a Binary Search Tree
-
[0773-sliding-puzzle]
-
[2749-minimum-operations-to-make-the-integer-zero]
-
[0787-cheapest-flights-within-k-stops]
-
[0794-valid-tic-tac-toe-state]
-
[0797-all-paths-from-source-to-target]
-
[2725-interval-cancellation]
-
[0705-design-hashset]
-
[2762-continuous-subarrays]
-
[2771-longest-non-decreasing-subarray-from-two-arrays]
-
[0805-split-array-with-same-average]
-
[2800-shortest-string-that-contains-three-strings]
-
[2810-faulty-keyboard]
-
[0827-making-a-large-island]
-
[0828-count-unique-characters-of-all-substrings-of-a-given-string]
-
[0829-consecutive-numbers-sum]
-
[2812-find-the-safest-path-in-a-grid]
-
[0842-split-array-into-fibonacci-sequence]
-
[0847-shortest-path-visiting-all-nodes]
-
[0853-car-fleet]
-
[0857-minimum-cost-to-hire-k-workers]
-
[0860-lemonade-change]
-
[0862-shortest-subarray-with-sum-at-least-k]
-
[0863-all-nodes-distance-k-in-binary-tree]
-
[0867-transpose-matrix]
-
870. Advantage Shuffle
-
[0886-possible-bipartition]
-
[0887-super-egg-drop]
-
[0901-online-stock-span]
-
904. Fruit Into Baskets
-
[0907-sum-of-subarray-minimums]
-
[0914-x-of-a-kind-in-a-deck-of-cards]
-
[0924-minimize-malware-spread]
-
[0928-minimize-malware-spread-ii]
-
[0930-binary-subarrays-with-sum]
-
[0938-range-sum-of-bst]
-
[2896-apply-operations-to-make-two-strings-equal]
-
[0958-check-completeness-of-a-binary-tree]
-
[0965-univalued-binary-tree]
-
[0968-binary-tree-cameras]
-
509. Fibonacci Number
-
[0983-minimum-cost-for-tickets]
-
[0986-interval-list-intersections]
-
[2878-get-the-size-of-a-dataframe]
-
2850. 将石头分散到网格图的最少移动次数
-
[1017-convert-to-base-2]
-
[1027-longest-arithmetic-subsequence]
-
[1044-longest-duplicate-substring]
-
1047. 删除字符串中的所有相邻重复项
-
[1045-customers-who-bought-all-products]
-
[2932-maximum-strong-pair-xor-i]
-
[2928-distribute-candies-among-children-i]
-
[1079-letter-tile-possibilities]
-
[1075-project-employees-i]
-
[2946-matrix-similarity-after-cyclic-shifts]
-
[2959-number-of-possible-sets-of-closing-branches]
-
[0511-game-play-analysis-i]
-
[2965-find-missing-and-repeated-values]
-
[2952-minimum-number-of-coins-to-be-added]
-
[1115-print-foobar-alternately]
-
[1103-distribute-candies-to-people]
-
[1112-highest-grade-for-each-student]
-
[1116-print-zero-even-odd]
-
[1141-user-activity-for-the-past-30-days-i]
-
[1146-snapshot-array]
-
[1329-sort-the-matrix-diagonally]
-
[1148-article-views-i]
-
[1171-remove-zero-sum-consecutive-nodes-from-linked-list]
-
[3040-maximum-number-of-operations-with-the-same-score-ii]
-
[3067-count-pairs-of-connectable-servers-in-a-weighted-tree-network]
-
[3086-minimum-moves-to-pick-k-ones]
-
[1174-immediate-food-delivery-ii]
-
[1405-longest-happy-string]
-
[3114-latest-time-you-can-obtain-after-replacing-characters]
-
[1195-fizz-buzz-multithreaded]
-
[1208-get-equal-substrings-within-budget]
-
[3099-harshad-number]
-
[3115-maximum-prime-difference]
-
[1204-last-person-to-fit-in-the-bus]
-
[3110-score-of-a-string]
-
[1219-path-with-maximum-gold]
-
[1226-the-dining-philosophers]
-
[1233-remove-sub-folders-from-the-filesystem]
-
[2312-selling-pieces-of-wood]
-
[1254-number-of-closed-islands]
-
[1255-maximum-score-words-formed-by-letters]
-
[3149-find-the-minimum-cost-array-permutation]
-
[3160-find-the-number-of-distinct-colors-among-the-balls]
-
[3171-find-subarray-with-bitwise-or-closest-to-k]
-
[3180-maximum-total-reward-using-operations-i]
-
[1268-search-suggestions-system]
-
[1283-find-the-smallest-divisor-given-a-threshold]
-
[3197-find-the-minimum-area-to-cover-all-ones-ii]
-
[1280-students-and-examinations]
-
[1297-maximum-number-of-occurrences-of-a-substring]
-
[1349-maximum-students-taking-exam]
-
[1422-maximum-score-after-splitting-a-string]
-
[1442-count-triplets-that-can-form-two-arrays-of-equal-xor]
-
[1450-number-of-students-doing-homework-at-a-given-time]
-
[1490-clone-n-ary-tree]
-
[1518-water-bottles]
-
[1530-number-of-good-leaf-nodes-pairs]
-
[1542-find-longest-awesome-substring]
-
[1574-shortest-subarray-to-be-removed-to-make-array-sorted]
-
[1600-throne-inheritance]
-
[1622-fancy-sequence]
-
[1673-find-the-most-competitive-subsequence]
-
[1702-maximum-binary-string-after-change]
-
[1695-maximum-erasure-value]
-
[1705-maximum-number-of-eaten-apples]
-
[1723-find-minimum-time-to-finish-all-jobs]
-
[1683-invalid-tweets]
-
[1738-find-kth-largest-xor-coordinate-value]
-
[1769-minimum-number-of-operations-to-move-all-balls-to-each-box]
-
[1789-primary-department-for-each-employee]
-
[1839-longest-substring-of-all-vowels-in-order]
-
[1849-splitting-a-string-into-descending-consecutive-values]
-
[1884-egg-drop-with-2-eggs-and-n-floors]