第1-100题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
1 | 两数之和 | 21102 | 52.9% | 简单 | YES | ★★★★★ |
2 | 两数相加 | 11673 | 42.3% | 中等 | YES | ★★★★★ |
3 | 无重复字符的最长子串 | 13089 | 39.1% | 中等 | YES | ★★★★★ |
4 | 寻找两个正序数组的中位数 | 6654 | 41.6% | 困难 | YES | ★★★★★ |
5 | 最长回文子串 | 7289 | 37.5% | 中等 | YES | ★★★★★ |
6 | Z 字形变换 | 4433 | 52.0% | 中等 | YES | ★★★★★ |
7 | 整数反转 | 7084 | 35.4% | 中等 | YES | ★★★★★ |
8 | 字符串转换整数 (atoi) | 4126 | 21.3% | 中等 | YES | ★★★★★ |
9 | 回文数 | 8020 | 56.2% | 简单 | YES | ★★★★★ |
10 | 正则表达式匹配 | 2089 | 30.9% | 困难 | YES | ★★★★★ |
11 | 盛最多水的容器 | 5261 | 60.5% | 中等 | YES | ★★★★★ |
12 | 整数转罗马数字 | 2869 | 66.2% | 中等 | YES | ★★★★ |
13 | 罗马数字转整数 | 6356 | 62.2% | 简单 | YES | ★★★★★ |
14 | 最长公共前缀 | 6428 | 43.2% | 简单 | YES | ★★★★★ |
15 | 三数之和 | 5632 | 36.8% | 中等 | YES | ★★★★★ |
16 | 最接近的三数之和 | 2354 | 45.1% | 中等 | YES | ★★★★★ |
17 | 电话号码的字母组合 | 5301 | 58.0% | 中等 | YES | ★★★★★ |
18 | 4sum | 2721 | 37.2% | 中等 | YES | ★★★★★ |
18 | 四数之和 | 2721 | 37.2% | 中等 | YES | ★★★★★ |
19 | remove-nth-node-from-end-of-list | 7560 | 45.3% | 中等 | YES | ★★★★★ |
19 | 删除链表的倒数第 N 个结点 | 7560 | 45.3% | 中等 | YES | ★★★★★ |
20 | valid-parentheses | 9290 | 44.2% | 简单 | YES | ★★★★★ |
20 | 有效的括号 | 9290 | 44.2% | 简单 | YES | ★★★★★ |
21 | merge-two-sorted-lists | 6911 | 66.4% | 简单 | YES | ★★★★★ |
21 | 合并两个有序链表 | 6911 | 66.4% | 简单 | YES | ★★★★★ |
22 | 括号生成 | 4563 | 77.5% | 中等 | YES | ★★★★★ |
23 | 合并K个升序链表 | 4074 | 57.7% | 困难 | YES | ★★★★★ |
24 | swap-nodes-in-pairs | 4320 | 71.3% | 中等 | YES | ★★★★★ |
24 | 两两交换链表中的节点 | 4320 | 71.3% | 中等 | YES | ★★★★★ |
25 | K 个一组翻转链表 | 3734 | 67.7% | 困难 | YES | ★★★★ |
25 | reverse-nodes-in-k-group | 3734 | 67.7% | 困难 | YES | ★★★★ |
26 | 删除有序数组中的重复项 | 8034 | 54.7% | 简单 | YES | ★★★★★ |
27 | 移除元素 | 7373 | 59.3% | 简单 | YES | ★★★★★ |
28 | implement-strstr | 5567 | 42.2% | 中等 | YES | ★★★★★ |
28 | 实现 strStr() | 5567 | 42.2% | 中等 | YES | ★★★★★ |
29 | divide-two-integers | 1538 | 22.2% | 中等 | YES | ★★★★★ |
29 | 两数相除 | 1538 | 22.2% | 中等 | YES | ★★★★★ |
30 | substring-with-concatenation-of-all-words | 1255 | 39.6% | 困难 | YES | ★★★★ |
30 | 串联所有单词的子串 | 1255 | 39.6% | 困难 | YES | ★★★★ |
31 | next-permutation | 3092 | 38.2% | 中等 | YES | ★★★★★ |
31 | 下一个排列 | 3092 | 38.2% | 中等 | YES | ★★★★★ |
32 | longest-valid-parentheses | 2197 | 37.1% | 困难 | YES | ★★★★★ |
32 | 最长有效括号 | 2197 | 37.1% | 困难 | YES | ★★★★★ |
33 | search-in-rotated-sorted-array | 4446 | 43.8% | 中等 | YES | ★★★★★ |
33 | 搜索旋转排序数组 | 4446 | 43.8% | 中等 | YES | ★★★★★ |
34 | find-first-and-last-position-of-element-in-sorted-array | 7078 | 42.4% | 中等 | YES | ★★★★★ |
34 | 在排序数组中查找元素的第一个和最后一个位置 | 7078 | 42.4% | 中等 | YES | ★★★★★ |
35 | search-insert-position | 7237 | 45.0% | 简单 | YES | ★★★★★ |
35 | 搜索插入位置 | 7237 | 45.0% | 简单 | YES | ★★★★★ |
36 | valid-sudoku | 2546 | 63.2% | 中等 | YES | ★★★★ |
36 | 有效的数独 | 2546 | 63.2% | 中等 | YES | ★★★★ |
37 | sudoku-solver | 1527 | 67.6% | 困难 | YES | ★★★ |
37 | 解数独 | 1527 | 67.6% | 困难 | YES | ★★★ |
38 | count-and-say | 3204 | 60.3% | 中等 | YES | ★★★★ |
38 | 外观数列 | 3204 | 60.3% | 中等 | YES | ★★★★ |
39 | combination-sum | 3730 | 72.5% | 中等 | YES | ★★★★★ |
39 | 组合总和 | 3730 | 72.5% | 中等 | YES | ★★★★★ |
40 | combination-sum-ii | 2585 | 60.1% | 中等 | YES | ★★★★ |
40 | 组合总和 II | 2585 | 60.1% | 中等 | YES | ★★★★ |
41 | first-missing-positive | 2122 | 42.9% | 困难 | YES | ★★★★ |
41 | 缺失的第一个正数 | 2122 | 42.9% | 困难 | YES | ★★★★ |
42 | trapping-rain-water | 4151 | 62.5% | 困难 | YES | ★★★★★ |
42 | 接雨水 | 4151 | 62.5% | 困难 | YES | ★★★★★ |
43 | multiply-strings | 1960 | 44.6% | 中等 | YES | ★★★★ |
43 | 字符串相乘 | 1960 | 44.6% | 中等 | YES | ★★★★ |
44 | wildcard-matching | 878 | 33.8% | 困难 | YES | ★★★★ |
44 | 通配符匹配 | 878 | 33.8% | 困难 | YES | ★★★★ |
45 | jump-game-ii | 3153 | 45.2% | 中等 | YES | ★★★★★ |
45 | 跳跃游戏 II | 3153 | 45.2% | 中等 | YES | ★★★★★ |
46 | permutations | 5558 | 78.9% | 中等 | YES | ★★★★★ |
46 | 全排列 | 5558 | 78.9% | 中等 | YES | ★★★★★ |
47 | permutations-ii | 2722 | 65.5% | 中等 | YES | ★★★★ |
47 | 全排列 II | 2722 | 65.5% | 中等 | YES | ★★★★ |
48 | rotate-image | 4280 | 74.7% | 中等 | YES | ★★★★ |
48 | 旋转图像 | 4280 | 74.7% | 中等 | YES | ★★★★ |
49 | group-anagrams | 2417 | 67.8% | 中等 | YES | ★★★★ |
49 | 字母异位词分组 | 2417 | 67.8% | 中等 | YES | ★★★★ |
50 | Pow(x, n) | 2056 | 38.0% | 中等 | YES | ★★★★★ |
51 | N 皇后 | 2883 | 74.2% | 困难 | YES | ★★★★ |
51 | n-queens | 2883 | 74.2% | 困难 | YES | ★★★★ |
52 | N皇后 II | 900 | 82.4% | 困难 | YES | ★★★ |
52 | n-queens-ii | 900 | 82.4% | 困难 | YES | ★★★ |
53 | maximum-subarray | 6594 | 54.8% | 中等 | YES | ★★★★★ |
53 | 最大子数组和 | 6594 | 54.8% | 中等 | YES | ★★★★★ |
54 | spiral-matrix | 3698 | 49.3% | 中等 | YES | ★★★★★ |
54 | 螺旋矩阵 | 3698 | 49.3% | 中等 | YES | ★★★★★ |
55 | jump-game | 4658 | 43.7% | 中等 | YES | ★★★★★ |
55 | 跳跃游戏 | 4658 | 43.7% | 中等 | YES | ★★★★★ |
56 | merge-intervals | 4009 | 49.3% | 中等 | YES | ★★★★★ |
56 | 合并区间 | 4009 | 49.3% | 中等 | YES | ★★★★★ |
57 | insert-interval | 1368 | 41.9% | 中等 | YES | ★★★★ |
57 | 插入区间 | 1368 | 41.9% | 中等 | YES | ★★★★ |
58 | length-of-last-word | 4363 | 42.3% | 简单 | YES | ★★★★★ |
58 | 最后一个单词的长度 | 4363 | 42.3% | 简单 | YES | ★★★★★ |
59 | spiral-matrix-ii | 3266 | 73.6% | 中等 | YES | ★★★★ |
59 | 螺旋矩阵 II | 3266 | 73.6% | 中等 | YES | ★★★★ |
60 | permutation-sequence | 1395 | 53.4% | 困难 | YES | ★★★ |
60 | 排列序列 | 1395 | 53.4% | 困难 | YES | ★★★ |
61 | rotate-list | 2942 | 41.6% | 中等 | YES | ★★★★★ |
61 | 旋转链表 | 2942 | 41.6% | 中等 | YES | ★★★★★ |
62 | unique-paths | 4017 | 67.7% | 中等 | YES | ★★★★★ |
62 | 不同路径 | 4017 | 67.7% | 中等 | YES | ★★★★★ |
63 | unique-paths-ii | 2821 | 41.0% | 中等 | YES | ★★★★★ |
63 | 不同路径 II | 2821 | 41.0% | 中等 | YES | ★★★★★ |
64 | minimum-path-sum | 3275 | 69.5% | 中等 | YES | ★★★★ |
64 | 最小路径和 | 3275 | 69.5% | 中等 | YES | ★★★★ |
65 | 有效数字 | 900 | 27.6% | 困难 | YES | ★★★ |
66 | plus-one | 5418 | 45.3% | 简单 | YES | ★★★★★ |
66 | 加一 | 5418 | 45.3% | 简单 | YES | ★★★★★ |
67 | 二进制求和 | 2796 | 53.2% | 简单 | YES | ★★★★ |
68 | 文本左右对齐 | 777 | 52.2% | 困难 | YES | ★★★ |
69 | sqrtx | 3544 | 38.6% | 简单 | YES | ★★★★★ |
69 | x 的平方根 | 3544 | 38.6% | 简单 | YES | ★★★★★ |
70 | climbing-stairs | 6008 | 54.0% | 简单 | YES | ★★★★★ |
70 | 爬楼梯 | 6008 | 54.0% | 简单 | YES | ★★★★★ |
71 | simplify-path | 1608 | 44.2% | 中等 | YES | ★★★★ |
71 | 简化路径 | 1608 | 44.2% | 中等 | YES | ★★★★ |
72 | edit-distance | 2983 | 62.8% | 困难 | YES | ★★★★ |
72 | 编辑距离 | 2983 | 62.8% | 困难 | YES | ★★★★ |
73 | 矩阵置零 | 1755 | 62.9% | 中等 | YES | ★★★★ |
74 | search-a-2d-matrix | 2854 | 48.5% | 中等 | YES | ★★★★ |
74 | 搜索二维矩阵 | 2854 | 48.5% | 中等 | YES | ★★★★ |
75 | sort-colors | 3459 | 60.4% | 中等 | YES | ★★★★★ |
75 | 颜色分类 | 3459 | 60.4% | 中等 | YES | ★★★★★ |
76 | 最小覆盖子串 | 3254 | 45.1% | 困难 | YES | ★★★★★ |
77 | 组合 | 2742 | 77.2% | 中等 | YES | ★★★★ |
78 | 子集 | 4117 | 81.1% | 中等 | YES | ★★★★★ |
79 | word-search | 2482 | 46.3% | 中等 | YES | ★★★★★ |
79 | 单词搜索 | 2482 | 46.3% | 中等 | YES | ★★★★★ |
80 | remove-duplicates-from-sorted-array-ii | 1856 | 61.8% | 中等 | YES | ★★★★ |
80 | 删除有序数组中的重复项 II | 1856 | 61.8% | 中等 | YES | ★★★★ |
81 | search-in-rotated-sorted-array-ii | 1422 | 41.1% | 中等 | YES | ★★★★ |
81 | 搜索旋转排序数组 II | 1422 | 41.1% | 中等 | YES | ★★★★ |
82 | 删除排序链表中的重复元素 II | 2677 | 53.6% | 中等 | YES | ★★★★ |
83 | remove-duplicates-from-sorted-list | 3441 | 53.2% | 简单 | YES | ★★★★★ |
83 | 删除排序链表中的重复元素 | 3441 | 53.2% | 简单 | YES | ★★★★★ |
84 | largest-rectangle-in-histogram | 1885 | 44.9% | 困难 | YES | ★★★★★ |
84 | 柱状图中最大的矩形 | 1885 | 44.9% | 困难 | YES | ★★★★★ |
85 | maximal-rectangle | 1150 | 54.5% | 困难 | YES | ★★★★ |
85 | 最大矩形 | 1150 | 54.5% | 困难 | YES | ★★★★ |
86 | partition-list | 2005 | 64.1% | 中等 | YES | ★★★★ |
86 | 分隔链表 | 2005 | 64.1% | 中等 | YES | ★★★★ |
87 | scramble-string | 430 | 47.5% | 困难 | YES | ★★★ |
87 | 扰乱字符串 | 430 | 47.5% | 困难 | YES | ★★★ |
88 | merge-sorted-array | 5694 | 52.5% | 简单 | YES | ★★★★★ |
88 | 合并两个有序数组 | 5694 | 52.5% | 简单 | YES | ★★★★★ |
89 | gray-code | 890 | 75.4% | 中等 | YES | ★★★ |
89 | 格雷编码 | 890 | 75.4% | 中等 | YES | ★★★ |
90 | 子集 II | 2152 | 63.7% | 中等 | YES | ★★★★ |
91 | decode-ways | 2233 | 33.0% | 中等 | YES | ★★★★★ |
91 | 解码方法 | 2233 | 33.0% | 中等 | YES | ★★★★★ |
92 | reverse-linked-list-ii | 3580 | 55.7% | 中等 | YES | ★★★★ |
92 | 反转链表 II | 3580 | 55.7% | 中等 | YES | ★★★★ |
93 | restore-ip-addresses | 2345 | 57.9% | 中等 | YES | ★★★★ |
93 | 复原 IP 地址 | 2345 | 57.9% | 中等 | YES | ★★★★ |
94 | binary-tree-inorder-traversal | 4084 | 76.2% | 简单 | YES | ★★★★★ |
94 | 二叉树的中序遍历 | 4084 | 76.2% | 简单 | YES | ★★★★★ |
95 | unique-binary-search-trees-ii | 1013 | 73.2% | 中等 | YES | ★★★ |
95 | 不同的二叉搜索树 II | 1013 | 73.2% | 中等 | YES | ★★★ |
96 | unique-binary-search-trees | 2369 | 70.9% | 中等 | YES | ★★★★ |
96 | 不同的二叉搜索树 | 2369 | 70.9% | 中等 | YES | ★★★★ |
97 | interleaving-string | 849 | 44.8% | 中等 | YES | ★★★ |
97 | 交错字符串 | 849 | 44.8% | 中等 | YES | ★★★ |
98 | validate-binary-search-tree | 3861 | 36.8% | 中等 | YES | ★★★★★ |
98 | 验证二叉搜索树 | 3861 | 36.8% | 中等 | YES | ★★★★★ |
99 | 恢复二叉搜索树 | 1041 | 60.3% | 中等 | YES | ★★★ |
100 | 相同的树 | 3022 | 59.9% | 简单 | YES | ★★★★★ |
第101-200题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
101 | symmetric-tree | 4080 | 58.7% | 简单 | YES | ★★★★★ |
101 | 对称二叉树 | 4080 | 58.7% | 简单 | YES | ★★★★★ |
102 | 二叉树的层序遍历 | 4322 | 65.5% | 中等 | YES | ★★★★★ |
103 | 二叉树的锯齿形层序遍历 | 2392 | 57.5% | 中等 | YES | ★★★★ |
104 | 二叉树的最大深度 | 4913 | 77.1% | 简单 | YES | ★★★★★ |
105 | 从前序与中序遍历序列构造二叉树 | 2522 | 71.4% | 中等 | YES | ★★★★ |
106 | 从中序与后序遍历序列构造二叉树 | 1633 | 72.3% | 中等 | YES | ★★★★ |
107 | 二叉树的层序遍历 II | 1904 | 72.3% | 中等 | YES | ★★★★ |
108 | 将有序数组转换为二叉搜索树 | 1969 | 77.3% | 简单 | YES | ★★★★ |
109 | convert-sorted-list-to-binary-search-tree | 1086 | 76.6% | 中等 | YES | ★★★ |
109 | 有序链表转换二叉搜索树 | 1086 | 76.6% | 中等 | YES | ★★★ |
110 | balanced-binary-tree | 2467 | 57.5% | 简单 | YES | ★★★★★ |
110 | 平衡二叉树 | 2467 | 57.5% | 简单 | YES | ★★★★★ |
111 | minimum-depth-of-binary-tree | 3681 | 51.8% | 简单 | YES | ★★★★★ |
111 | 二叉树的最小深度 | 3681 | 51.8% | 简单 | YES | ★★★★★ |
112 | 路径总和 | 2966 | 53.5% | 简单 | YES | ★★★★★ |
113 | 路径总和 II | 2141 | 63.2% | 中等 | YES | ★★★★ |
114 | 二叉树展开为链表 | 2813 | 73.0% | 中等 | YES | ★★★★ |
115 | distinct-subsequences | 1181 | 52.4% | 困难 | YES | ★★★ |
115 | 不同的子序列 | 1181 | 52.4% | 困难 | YES | ★★★ |
116 | 填充每个节点的下一个右侧节点指针 | 2558 | 72.5% | 中等 | YES | ★★★★ |
117 | populating-next-right-pointers-in-each-node-ii | 1321 | 65.3% | 中等 | YES | ★★★ |
117 | 填充每个节点的下一个右侧节点指针 II | 1321 | 65.3% | 中等 | YES | ★★★ |
118 | 杨辉三角 | 3066 | 75.6% | 简单 | YES | ★★★★ |
119 | pascals-triangle-ii | 2003 | 68.9% | 简单 | YES | ★★★★ |
119 | 杨辉三角 II | 2003 | 68.9% | 简单 | YES | ★★★★ |
120 | triangle | 2348 | 68.7% | 中等 | YES | ★★★★ |
120 | 三角形最小路径和 | 2348 | 68.7% | 中等 | YES | ★★★★ |
121 | best-time-to-buy-and-sell-stock | 5879 | 57.9% | 简单 | YES | ★★★★★ |
121 | 买卖股票的最佳时机 | 5879 | 57.9% | 简单 | YES | ★★★★★ |
122 | best-time-to-buy-and-sell-stock-ii | 4385 | 71.7% | 中等 | YES | ★★★★★ |
122 | 买卖股票的最佳时机 II | 4385 | 71.7% | 中等 | YES | ★★★★★ |
123 | best-time-to-buy-and-sell-stock-iii | 1392 | 58.3% | 困难 | YES | ★★★★ |
123 | 买卖股票的最佳时机 III | 1392 | 58.3% | 困难 | YES | ★★★★ |
124 | binary-tree-maximum-path-sum | 1873 | 45.3% | 困难 | YES | ★★★★ |
124 | 二叉树中的最大路径和 | 1873 | 45.3% | 困难 | YES | ★★★★ |
125 | valid-palindrome | 2848 | 46.5% | 简单 | YES | ★★★★★ |
125 | 验证回文串 | 2848 | 46.5% | 简单 | YES | ★★★★★ |
126 | 单词接龙 II | 479 | 38.3% | 困难 | YES | ★★★ |
127 | word-ladder | 959 | 48.2% | 困难 | YES | ★★★★ |
127 | 单词接龙 | 959 | 48.2% | 困难 | YES | ★★★★ |
128 | longest-consecutive-sequence | 2185 | 55.1% | 中等 | YES | ★★★★ |
128 | 最长连续序列 | 2185 | 55.1% | 中等 | YES | ★★★★ |
129 | sum-root-to-leaf-numbers | 1711 | 70.0% | 中等 | YES | ★★★ |
129 | 求根节点到叶节点数字之和 | 1711 | 70.0% | 中等 | YES | ★★★ |
130 | surrounded-regions | 2125 | 46.2% | 中等 | YES | ★★★★ |
130 | 被围绕的区域 | 2125 | 46.2% | 中等 | YES | ★★★★ |
131 | palindrome-partitioning | 1630 | 73.4% | 中等 | YES | ★★★★ |
131 | 分割回文串 | 1630 | 73.4% | 中等 | YES | ★★★★ |
132 | palindrome-partitioning-ii | 606 | 49.9% | 困难 | YES | ★★★ |
132 | 分割回文串 II | 606 | 49.9% | 困难 | YES | ★★★ |
133 | clone-graph | 778 | 68.9% | 中等 | YES | ★★★ |
133 | 克隆图 | 778 | 68.9% | 中等 | YES | ★★★ |
134 | gas-station | 1619 | 52.0% | 中等 | YES | ★★★★ |
134 | 加油站 | 1619 | 52.0% | 中等 | YES | ★★★★ |
135 | candy | 1427 | 49.5% | 困难 | YES | ★★★★ |
135 | 分发糖果 | 1427 | 49.5% | 困难 | YES | ★★★★ |
136 | 只出现一次的数字 | 3911 | 72.3% | 简单 | YES | ★★★★★ |
137 | single-number-ii | 1057 | 72.0% | 中等 | YES | ★★★ |
137 | 只出现一次的数字 II | 1057 | 72.0% | 中等 | YES | ★★★ |
138 | 复制带随机指针的链表 | 1332 | 66.4% | 中等 | NO | ★★★ |
139 | word-break | 2345 | 54.0% | 中等 | YES | ★★★★★ |
139 | 单词拆分 | 2345 | 54.0% | 中等 | YES | ★★★★★ |
140 | word-break-ii | 966 | 56.5% | 困难 | YES | ★★★ |
140 | 单词拆分 II | 966 | 56.5% | 困难 | YES | ★★★ |
141 | linked-list-cycle | 4786 | 51.6% | 简单 | YES | ★★★★★ |
141 | 环形链表 | 4786 | 51.6% | 简单 | YES | ★★★★★ |
142 | 环形链表 II | 3568 | 56.9% | 中等 | YES | ★★★★★ |
143 | reorder-list | 1774 | 64.7% | 中等 | YES | ★★★★ |
143 | 重排链表 | 1774 | 64.7% | 中等 | YES | ★★★★ |
144 | binary-tree-preorder-traversal | 3393 | 71.3% | 简单 | YES | ★★★★★ |
144 | 二叉树的前序遍历 | 3393 | 71.3% | 简单 | YES | ★★★★★ |
145 | binary-tree-postorder-traversal | 2578 | 76.3% | 简单 | YES | ★★★★★ |
145 | 二叉树的后序遍历 | 2578 | 76.3% | 简单 | YES | ★★★★★ |
146 | LRU 缓存 | 3461 | 53.5% | 中等 | YES | ★★★★★ |
146 | lru-cache | 3461 | 53.5% | 中等 | YES | ★★★★★ |
147 | insertion-sort-list | 1082 | 69.5% | 中等 | YES | ★★★ |
147 | 对链表进行插入排序 | 1082 | 69.5% | 中等 | YES | ★★★ |
148 | sort-list | 2115 | 65.9% | 中等 | YES | ★★★★ |
148 | 排序链表 | 2115 | 65.9% | 中等 | YES | ★★★★ |
149 | max-points-on-a-line | 765 | 39.0% | 困难 | NO | ★★★ |
149 | 直线上最多的点数 | 765 | 39.0% | 困难 | NO | ★★★ |
150 | evaluate-reverse-polish-notation | 1833 | 52.6% | 中等 | YES | ★★★★ |
150 | 逆波兰表达式求值 | 1833 | 52.6% | 中等 | YES | ★★★★ |
151 | reverse-words-in-a-string | 2779 | 51.5% | 中等 | YES | ★★★★★ |
151 | 颠倒字符串中的单词 | 2779 | 51.5% | 中等 | YES | ★★★★★ |
152 | maximum-product-subarray | 2062 | 43.1% | 中等 | YES | ★★★★★ |
152 | 乘积最大子数组 | 2062 | 43.1% | 中等 | YES | ★★★★★ |
153 | find-minimum-in-rotated-sorted-array | 2386 | 57.0% | 中等 | YES | ★★★★ |
153 | 寻找旋转排序数组中的最小值 | 2386 | 57.0% | 中等 | YES | ★★★★ |
154 | find-minimum-in-rotated-sorted-array-ii | 1256 | 52.6% | 困难 | YES | ★★★★ |
154 | 寻找旋转排序数组中的最小值 II | 1256 | 52.6% | 困难 | YES | ★★★★ |
155 | min-stack | 2476 | 58.9% | 中等 | YES | ★★★★★ |
155 | 最小栈 | 2476 | 58.9% | 中等 | YES | ★★★★★ |
159 | longest-substring-with-at-most-two-distinct-characters | 330 | 55.9% | 中等 | YES | ★★ |
160 | 相交链表 | 3573 | 63.6% | 简单 | YES | ★★★★★ |
161 | one-edit-distance | 162 | 34.1% | 中等 | YES | ★★ |
162 | find-peak-element | 1868 | 49.3% | 中等 | YES | ★★★★ |
162 | 寻找峰值 | 1868 | 49.3% | 中等 | YES | ★★★★ |
164 | maximum-gap | 649 | 60.3% | 困难 | YES | ★★★ |
164 | 最大间距 | 649 | 60.3% | 困难 | YES | ★★★ |
165 | compare-version-numbers | 1276 | 51.9% | 中等 | YES | ★★★ |
165 | 比较版本号 | 1276 | 51.9% | 中等 | YES | ★★★ |
166 | fraction-to-recurring-decimal | 515 | 33.5% | 中等 | NO | ★★★ |
166 | 分数到小数 | 515 | 33.5% | 中等 | NO | ★★★ |
167 | 两数之和 II - 输入有序数组 | 3553 | 59.2% | 中等 | YES | ★★★★★ |
168 | Excel表列名称 | 1114 | 43.9% | 简单 | YES | ★★★★ |
168 | excel-sheet-column-title | 1114 | 43.9% | 简单 | YES | ★★★★ |
169 | majority-element | 3557 | 66.8% | 简单 | YES | ★★★★★ |
169 | 多数元素 | 3557 | 66.8% | 简单 | YES | ★★★★★ |
171 | Excel 表列序号 | 1298 | 71.4% | 简单 | YES | ★★★ |
171 | excel-sheet-column-number | 1298 | 71.4% | 简单 | YES | ★★★ |
172 | factorial-trailing-zeroes | 1099 | 49.8% | 中等 | YES | ★★★★ |
172 | 阶乘后的零 | 1099 | 49.8% | 中等 | YES | ★★★★ |
173 | binary-search-tree-iterator | 881 | 81.6% | 中等 | YES | ★★★ |
173 | 二叉搜索树迭代器 | 881 | 81.6% | 中等 | YES | ★★★ |
174 | dungeon-game | 1373 | 48.8% | 困难 | YES | ★★★ |
174 | 地下城游戏 | 1373 | 48.8% | 困难 | YES | ★★★ |
175 | 组合两个表 | 2068 | 74.2% | 简单 | YES | ★★★★ |
176 | second-highest-salary | 1592 | 36.4% | 中等 | YES | ★★★★★ |
176 | 第二高的薪水 | 1592 | 36.4% | 中等 | YES | ★★★★★ |
177 | nth-highest-salary | 771 | 46.8% | 中等 | YES | ★★★★ |
177 | 第N高的薪水 | 771 | 46.8% | 中等 | YES | ★★★★ |
178 | rank-scores | 968 | 61.1% | 中等 | YES | ★★★★ |
178 | 分数排名 | 968 | 61.1% | 中等 | YES | ★★★★ |
179 | largest-number | 1404 | 41.2% | 中等 | YES | ★★★★ |
179 | 最大数 | 1404 | 41.2% | 中等 | YES | ★★★★ |
180 | consecutive-numbers | 826 | 47.9% | 中等 | YES | ★★★ |
180 | 连续出现的数字 | 826 | 47.9% | 中等 | YES | ★★★ |
181 | employees-earning-more-than-their-managers | 1053 | 68.9% | 简单 | YES | ★★★★ |
181 | 超过经理收入的员工 | 1053 | 68.9% | 简单 | YES | ★★★★ |
182 | 查找重复的电子邮箱 | 962 | 79.2% | 简单 | YES | ★★★★ |
183 | 从不订购的客户 | 1064 | 66.3% | 简单 | YES | ★★★★ |
184 | 部门工资最高的员工 | 1060 | 51.0% | 中等 | YES | ★★★★ |
185 | 部门工资前三高的所有员工 | 951 | 52.8% | 困难 | YES | ★★★ |
186 | reverse-words-in-a-string-ii | 170 | 75.8% | 中等 | YES | ★ |
187 | repeated-dna-sequences | 979 | 53.2% | 中等 | YES | ★★★ |
187 | 重复的DNA序列 | 979 | 53.2% | 中等 | YES | ★★★ |
188 | best-time-to-buy-and-sell-stock-iv | 1265 | 44.4% | 困难 | YES | ★★★★ |
188 | 买卖股票的最佳时机 IV | 1265 | 44.4% | 困难 | YES | ★★★★ |
189 | rotate-array | 3145 | 44.2% | 中等 | YES | ★★★★★ |
189 | 轮转数组 | 3145 | 44.2% | 中等 | YES | ★★★★★ |
190 | reverse-bits | 1262 | 71.7% | 简单 | YES | ★★★ |
190 | 颠倒二进制位 | 1262 | 71.7% | 简单 | YES | ★★★ |
191 | number-of-1-bits | 1991 | 76.4% | 简单 | YES | ★★★★ |
191 | 位1的个数 | 1991 | 76.4% | 简单 | YES | ★★★★ |
192 | word-frequency | 222 | 35.8% | 中等 | YES | ★★ |
192 | 统计词频 | 222 | 35.8% | 中等 | YES | ★★ |
193 | valid-phone-numbers | 190 | 33.4% | 简单 | YES | ★★★ |
193 | 有效电话号码 | 190 | 33.4% | 简单 | YES | ★★★ |
194 | 转置文件 | 100 | 34.3% | 中等 | NO | ★★ |
195 | tenth-line | 195 | 44.0% | 简单 | YES | ★★★ |
195 | 第十行 | 195 | 44.0% | 简单 | YES | ★★★ |
196 | delete-duplicate-emails | 754 | 68.7% | 简单 | YES | ★★★ |
196 | 删除重复的电子邮箱 | 754 | 68.7% | 简单 | YES | ★★★ |
197 | rising-temperature | 939 | 54.2% | 简单 | YES | ★★★★ |
197 | 上升的温度 | 939 | 54.2% | 简单 | YES | ★★★★ |
198 | house-robber | 4492 | 54.2% | 中等 | YES | ★★★★★ |
198 | 打家劫舍 | 4492 | 54.2% | 中等 | YES | ★★★★★ |
199 | 二叉树的右视图 | 2598 | 65.8% | 中等 | YES | ★★★★ |
200 | 岛屿数量 | 3848 | 59.1% | 中等 | YES | ★★★★★ |
第201-300题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
201 | bitwise-and-of-numbers-range | 499 | 53.9% | 中等 | YES | ★★★ |
201 | 数字范围按位与 | 499 | 53.9% | 中等 | YES | ★★★ |
202 | happy-number | 2604 | 63.3% | 简单 | YES | ★★★★ |
202 | 快乐数 | 2604 | 63.3% | 简单 | YES | ★★★★ |
203 | remove-linked-list-elements | 3060 | 54.8% | 简单 | YES | ★★★★★ |
203 | 移除链表元素 | 3060 | 54.8% | 简单 | YES | ★★★★★ |
204 | count-primes | 1063 | 37.4% | 中等 | YES | ★★★★ |
204 | 计数质数 | 1063 | 37.4% | 中等 | YES | ★★★★ |
205 | isomorphic-strings | 1456 | 49.7% | 简单 | YES | ★★★★ |
205 | 同构字符串 | 1456 | 49.7% | 简单 | YES | ★★★★ |
206 | 反转链表 | 11124 | 73.5% | 简单 | YES | ★★★★★ |
207 | course-schedule | 2066 | 53.7% | 中等 | YES | ★★★★ |
207 | 课程表 | 2066 | 53.7% | 中等 | YES | ★★★★ |
208 | 实现 Trie (前缀树) | 1584 | 71.9% | 中等 | YES | ★★★★ |
209 | 长度最小的子数组 | 3158 | 47.1% | 中等 | YES | ★★★★★ |
210 | course-schedule-ii | 1277 | 56.5% | 中等 | YES | ★★★★ |
210 | 课程表 II | 1277 | 56.5% | 中等 | YES | ★★★★ |
211 | design-add-and-search-words-data-structure | 724 | 49.6% | 中等 | YES | ★★★ |
211 | 添加与搜索单词 - 数据结构设计 | 724 | 49.6% | 中等 | YES | ★★★ |
212 | word-search-ii | 737 | 44.2% | 困难 | YES | ★★★ |
212 | 单词搜索 II | 737 | 44.2% | 困难 | YES | ★★★ |
213 | house-robber-ii | 2608 | 44.1% | 中等 | YES | ★★★★★ |
213 | 打家劫舍 II | 2608 | 44.1% | 中等 | YES | ★★★★★ |
214 | shortest-palindrome | 451 | 39.7% | 困难 | NO | ★★★ |
214 | 最短回文串 | 451 | 39.7% | 困难 | NO | ★★★ |
215 | kth-largest-element-in-an-array | 3915 | 63.9% | 中等 | YES | ★★★★★ |
215 | 数组中的第K个最大元素 | 3915 | 63.9% | 中等 | YES | ★★★★★ |
216 | combination-sum-iii | 1829 | 71.8% | 中等 | YES | ★★★★ |
216 | 组合总和 III | 1829 | 71.8% | 中等 | YES | ★★★★ |
217 | 存在重复元素 | 3601 | 55.0% | 简单 | YES | ★★★★★ |
218 | the-skyline-problem | 423 | 55.2% | 困难 | YES | ★★ |
218 | 天际线问题 | 423 | 55.2% | 困难 | YES | ★★ |
219 | contains-duplicate-ii | 1760 | 44.3% | 简单 | YES | ★★★★ |
219 | 存在重复元素 II | 1760 | 44.3% | 简单 | YES | ★★★★ |
220 | contains-duplicate-iii | 617 | 29.8% | 困难 | YES | ★★★★ |
220 | 存在重复元素 III | 617 | 29.8% | 困难 | YES | ★★★★ |
221 | maximal-square | 1613 | 49.5% | 中等 | YES | ★★★★ |
221 | 最大正方形 | 1613 | 49.5% | 中等 | YES | ★★★★ |
222 | count-complete-tree-nodes | 1665 | 80.8% | 中等 | YES | ★★★★ |
222 | 完全二叉树的节点个数 | 1665 | 80.8% | 中等 | YES | ★★★★ |
223 | rectangle-area | 633 | 53.6% | 中等 | YES | ★★★ |
223 | 矩形面积 | 633 | 53.6% | 中等 | YES | ★★★ |
224 | basic-calculator | 993 | 42.4% | 困难 | NO | ★★★ |
224 | 基本计算器 | 993 | 42.4% | 困难 | NO | ★★★ |
225 | implement-stack-using-queues | 5451 | 66.7% | 简单 | YES | ★★★★ |
225 | 用队列实现栈 | 5451 | 66.7% | 简单 | YES | ★★★★ |
226 | invert-binary-tree | 4056 | 79.5% | 简单 | YES | ★★★★★ |
226 | 翻转二叉树 | 4056 | 79.5% | 简单 | YES | ★★★★★ |
227 | basic-calculator-ii | 1078 | 44.5% | 中等 | YES | ★★★★ |
227 | 基本计算器 II | 1078 | 44.5% | 中等 | YES | ★★★★ |
228 | summary-ranges | 1011 | 55.0% | 简单 | YES | ★★★ |
228 | 汇总区间 | 1011 | 55.0% | 简单 | YES | ★★★ |
229 | majority-element-ii | 840 | 54.0% | 中等 | YES | ★★★ |
229 | 多数元素 II | 840 | 54.0% | 中等 | YES | ★★★ |
230 | kth-smallest-element-in-a-bst | 1748 | 75.9% | 中等 | YES | ★★★★ |
230 | 二叉搜索树中第K小的元素 | 1748 | 75.9% | 中等 | YES | ★★★★ |
231 | 2 的幂 | 2023 | 50.2% | 简单 | YES | ★★★★ |
231 | power-of-two | 2023 | 50.2% | 简单 | YES | ★★★★ |
232 | implement-queue-using-stacks | 2237 | 68.7% | 简单 | YES | ★★★★ |
232 | 用栈实现队列 | 2237 | 68.7% | 简单 | YES | ★★★★ |
233 | number-of-digit-one | 606 | 48.9% | 困难 | YES | ★★★ |
233 | 数字 1 的个数 | 606 | 48.9% | 困难 | YES | ★★★ |
234 | 回文链表 | 3379 | 53.0% | 简单 | YES | ★★★★★ |
235 | lowest-common-ancestor-of-a-binary-search-tree | 1765 | 68.1% | 中等 | YES | ★★★★ |
235 | 二叉搜索树的最近公共祖先 | 1765 | 68.1% | 中等 | YES | ★★★★ |
236 | lowest-common-ancestor-of-a-binary-tree | 2620 | 69.6% | 中等 | YES | ★★★★★ |
236 | 二叉树的最近公共祖先 | 2620 | 69.6% | 中等 | YES | ★★★★★ |
237 | delete-node-in-a-linked-list | 1708 | 86.1% | 中等 | YES | ★★★★ |
237 | 删除链表中的节点 | 1708 | 86.1% | 中等 | YES | ★★★★ |
238 | product-of-array-except-self | 1557 | 74.6% | 中等 | YES | ★★★★ |
238 | 除自身以外数组的乘积 | 1557 | 74.6% | 中等 | YES | ★★★★ |
239 | sliding-window-maximum | 3097 | 49.9% | 困难 | YES | ★★★★★ |
239 | 滑动窗口最大值 | 3097 | 49.9% | 困难 | YES | ★★★★★ |
240 | search-a-2d-matrix-ii | 1679 | 52.6% | 中等 | YES | ★★★★ |
240 | 搜索二维矩阵 II | 1679 | 52.6% | 中等 | YES | ★★★★ |
241 | 为运算表达式设计优先级 | 731 | 75.7% | 中等 | YES | ★★ |
242 | valid-anagram | 3193 | 65.8% | 简单 | YES | ★★★★★ |
242 | 有效的字母异位词 | 3193 | 65.8% | 简单 | YES | ★★★★★ |
243 | shortest-word-distance | 179 | 66.7% | 简单 | YES | ★ |
244 | shortest-word-distance-ii | 106 | 59.6% | 中等 | YES | ★ |
245 | shortest-word-distance-iii | 89 | 57.2% | 中等 | YES | ★ |
252 | meeting-rooms | 232 | 57.8% | 简单 | YES | ★★ |
253 | meeting-rooms-ii | 568 | 52.2% | 中等 | YES | ★★★ |
256 | paint-house | 297 | 69.2% | 中等 | YES | ★ |
257 | binary-tree-paths | 1864 | 70.7% | 简单 | YES | ★★★★ |
257 | 二叉树的所有路径 | 1864 | 70.7% | 简单 | YES | ★★★★ |
258 | add-digits | 1345 | 71.1% | 简单 | YES | ★★★ |
258 | 各位相加 | 1345 | 71.1% | 简单 | YES | ★★★ |
260 | single-number-iii | 926 | 72.4% | 中等 | YES | ★★★ |
260 | 只出现一次的数字 III | 926 | 72.4% | 中等 | YES | ★★★ |
262 | 行程和用户 | 588 | 41.9% | 困难 | YES | ★★★ |
263 | 丑数 | 1121 | 50.7% | 简单 | YES | ★★★ |
264 | ugly-number-ii | 926 | 58.7% | 中等 | YES | ★★★ |
264 | 丑数 II | 926 | 58.7% | 中等 | YES | ★★★ |
265 | paint-house-ii | 258 | 63.2% | 困难 | YES | ★ |
266 | palindrome-permutation | 168 | 69.9% | 简单 | YES | ★ |
267 | palindrome-permutation-ii | 127 | 47.1% | 中等 | YES | ★ |
268 | missing-number | 2206 | 66.4% | 简单 | YES | ★★★★ |
268 | 丢失的数字 | 2206 | 66.4% | 简单 | YES | ★★★★ |
273 | integer-to-english-words | 438 | 36.5% | 困难 | YES | ★★★ |
273 | 整数转换英文表示 | 438 | 36.5% | 困难 | YES | ★★★ |
274 | H 指数 | 745 | 44.5% | 中等 | NO | ★★★ |
274 | h-index | 745 | 44.5% | 中等 | NO | ★★★ |
275 | H 指数 II | 542 | 45.3% | 中等 | YES | ★★★ |
275 | h-index-ii | 542 | 45.3% | 中等 | YES | ★★★ |
277 | find-the-celebrity | 139 | 58.0% | 中等 | YES | ★ |
278 | first-bad-version | 2445 | 45.4% | 简单 | YES | ★★★★★ |
278 | 第一个错误的版本 | 2445 | 45.4% | 简单 | YES | ★★★★★ |
279 | perfect-squares | 1943 | 66.0% | 中等 | YES | ★★★★ |
279 | 完全平方数 | 1943 | 66.0% | 中等 | YES | ★★★★ |
280 | wiggle-sort | 105 | 69.4% | 中等 | YES | ★ |
282 | expression-add-operators | 207 | 47.0% | 困难 | NO | ★★ |
282 | 给表达式添加运算符 | 207 | 47.0% | 困难 | NO | ★★ |
283 | move-zeroes | 6132 | 63.9% | 简单 | YES | ★★★★★ |
283 | 移动零 | 6132 | 63.9% | 简单 | YES | ★★★★★ |
284 | 顶端迭代器 | 250 | 76.6% | 中等 | NO | ★★ |
286 | walls-and-gates | 237 | 54.8% | 中等 | YES | ★★ |
287 | find-the-duplicate-number | 1931 | 64.3% | 中等 | YES | ★★★★ |
287 | 寻找重复数 | 1931 | 64.3% | 中等 | YES | ★★★★ |
289 | game-of-life | 1095 | 75.6% | 中等 | YES | ★★ |
289 | 生命游戏 | 1095 | 75.6% | 中等 | YES | ★★ |
290 | 单词规律 | 1618 | 44.7% | 简单 | YES | ★★★ |
292 | Nim 游戏 | 1054 | 70.5% | 简单 | YES | ★★★ |
292 | nim-game | 1054 | 70.5% | 简单 | YES | ★★★ |
295 | find-median-from-data-stream | 748 | 53.3% | 困难 | YES | ★★★ |
295 | 数据流的中位数 | 748 | 53.3% | 困难 | YES | ★★★ |
297 | serialize-and-deserialize-binary-tree | 1311 | 58.8% | 困难 | YES | ★★★★ |
297 | 二叉树的序列化与反序列化 | 1311 | 58.8% | 困难 | YES | ★★★★ |
299 | bulls-and-cows | 882 | 57.3% | 中等 | YES | ★★★ |
299 | 猜数字游戏 | 882 | 57.3% | 中等 | YES | ★★★ |
300 | longest-increasing-subsequence | 4168 | 54.6% | 中等 | YES | ★★★★★ |
300 | 最长递增子序列 | 4168 | 54.6% | 中等 | YES | ★★★★★ |
第601-700题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
606 | 根据二叉树创建字符串 | 718 | 62.4% | 简单 | YES | ★★★ |
617 | merge-two-binary-trees | 2268 | 79.1% | 简单 | YES | ★★★★ |
617 | 合并二叉树 | 2268 | 79.1% | 简单 | YES | ★★★★ |
621 | task-scheduler | 813 | 59.6% | 中等 | YES | ★★★ |
622 | 设计循环队列 | 959 | 47.5% | 中等 | YES | ★★★ |
623 | 在二叉树中增加一行 | 648 | 60.2% | 中等 | YES | ★★ |
632 | 最小区间 | 307 | 60.8% | 困难 | YES | ★★ |
640 | 求解方程 | 703 | 44.7% | 中等 | YES | ★★ |
641 | 设计循环双端队列 | 625 | 57.2% | 中等 | YES | ★★★ |
647 | 回文子串 | 1628 | 66.9% | 中等 | YES | ★★★★ |
650 | 2-keys-keyboard | 778 | 57.6% | 中等 | YES | ★★★ |
652 | 寻找重复的子树 | 622 | 61.3% | 中等 | YES | ★★★ |
654 | maximum-binary-tree | 1527 | 82.7% | 中等 | YES | ★★★ |
654 | 最大二叉树 | 1527 | 82.7% | 中等 | YES | ★★★ |
655 | 输出二叉树 | 508 | 69.5% | 中等 | YES | ★★ |
658 | 找到 K 个最接近的元素 | 809 | 48.1% | 中等 | YES | ★★★ |
659 | 分割数组为连续子序列 | 380 | 54.6% | 中等 | YES | ★★ |
673 | number-of-longest-increasing-subsequence | 619 | 44.6% | 中等 | YES | ★★★ |
673 | 最长递增子序列的个数 | 619 | 44.6% | 中等 | YES | ★★★ |
674 | longest-continuous-increasing-subsequence | 1240 | 55.0% | 简单 | YES | ★★★★ |
679 | 24-game | 359 | 53.8% | 困难 | NO | ★★ |
680 | valid-palindrome-ii | 1159 | 40.0% | 简单 | YES | ★★★★ |
680 | 验证回文字符串 Ⅱ | 1159 | 40.0% | 简单 | YES | ★★★★ |
684 | redundant-connection | 900 | 67.5% | 中等 | YES | ★★★ |
688 | knight-probability-in-chessboard | 383 | 58.1% | 中等 | YES | ★★ |
692 | top-k-frequent-words | 1042 | 56.5% | 中等 | YES | ★★★ |
695 | max-area-of-island | 2440 | 68.0% | 中等 | YES | ★★★★ |
698 | partition-to-k-equal-sum-subsets | 1364 | 42.4% | 中等 | YES | ★★★ |
第1301-1400题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
1302 | 层数最深叶子节点的和 | 762 | 85.6% | 中等 | YES | ★★ |
1311 | 获取你好友已观看的视频 | 116 | 39.8% | 中等 | YES | ★ |
1314 | 矩阵区域和 | 361 | 75.7% | 中等 | YES | ★★ |
1319 | number-of-operations-to-make-network-connected | 670 | 62.3% | 中等 | YES | ★★ |
1320 | minimum-distance-to-type-a-word-using-two-fingers | 76 | 60.7% | 困难 | NO | ★ |
1331 | rank-transform-of-an-array | 521 | 60.4% | 简单 | YES | ★★ |
1334 | find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance | 156 | 52.5% | 中等 | NO | ★ |
1349 | maximum-students-taking-exam | 131 | 53.8% | 困难 | YES | ★ |
1368 | minimum-cost-to-make-at-least-one-valid-path-in-a-grid | 147 | 59.2% | 困难 | YES | ★ |
1377 | frog-position-after-t-seconds | 163 | 33.8% | 困难 | YES | ★ |
1379 | find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree | 236 | 83.5% | 简单 | YES | ★ |
1383 | maximum-performance-of-a-team | 127 | 35.0% | 困难 | YES | ★ |
1400 | construct-k-palindrome-strings | 151 | 61.3% | 中等 | YES | ★ |
第1401-1500题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
1403 | 非递增顺序的最小子序列 | 749 | 73.4% | 简单 | YES | ★★ |
1408 | 数组中的字符串匹配 | 551 | 64.5% | 简单 | YES | ★★ |
1413 | 逐步求和得到正数的最小值 | 691 | 73.2% | 简单 | YES | ★★ |
1417 | 重新格式化字符串 | 616 | 55.3% | 简单 | YES | ★★ |
1422 | 分割字符串的最大得分 | 680 | 56.8% | 简单 | YES | ★★ |
1423 | 可获得的最大点数 | 640 | 55.2% | 中等 | YES | ★★ |
1424 | 对角线遍历 II | 205 | 42.1% | 中等 | YES | ★ |
1425 | 带限制的子序列和 | 112 | 47.5% | 困难 | NO | ★ |
1441 | 用栈操作构建数组 | 893 | 71.5% | 中等 | YES | ★★ |
1449 | form-largest-integer-with-digits-that-add-up-to-target | 230 | 62.4% | 困难 | NO | ★★ |
1463 | cherry-pickup-ii | 100 | 61.7% | 困难 | YES | ★ |
1491 | 去掉最低工资和最高工资后的工资平均值 | 675 | 62.8% | 简单 | YES | ★★ |
1492 | n 的第 k 个因子 | 149 | 60.9% | 中等 | YES | ★ |
1493 | 删掉一个元素以后全为 1 的最长子数组 | 266 | 58.9% | 中等 | YES | ★ |
1494 | 并行课程 II | 58 | 40.6% | 困难 | NO | ★ |
第1501-1600题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
1559 | 二维网格图中探测环 | 107 | 40.1% | 中等 | YES | ★ |
1567 | maximum-length-of-subarray-with-positive-product | 450 | 42.6% | 中等 | NO | ★★ |
1574 | shortest-subarray-to-be-removed-to-make-array-sorted | 162 | 37.3% | 中等 | NO | ★ |
1584 | 连接所有点的最小费用 | 595 | 66.0% | 中等 | YES | ★★ |
1590 | 使数组和能被 P 整除 | 193 | 36.3% | 中等 | NO | ★★ |
第1601-1700题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
1601 | 最多可达成的换楼请求数目 | 236 | 61.8% | 困难 | YES | ★★ |
1684 | 统计一致字符串的数目 | 831 | 85.5% | 简单 | YES | ★★ |
1685 | 有序数组中差绝对值之和 | 161 | 63.7% | 中等 | YES | ★ |
第1701-1800题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
1716 | 计算力扣银行的钱 | 741 | 69.2% | 简单 | YES | ★★ |
1717 | 删除子字符串的最大得分 | 83 | 46.2% | 中等 | YES | ★ |
1718 | 构建字典序最大的可行序列 | 73 | 50.4% | 中等 | YES | ★ |
1769 | minimum-number-of-operations-to-move-all-balls-to-each-box | 549 | 88.4% | 中等 | YES | ★★ |
1797 | 设计一个验证系统 | 344 | 65.1% | 中等 | NO | ★★ |
第1801-1900题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
1876 | 长度为三且各字符不同的子字符串 | 244 | 70.6% | 简单 | YES | ★ |
1877 | 数组中最大数对和的最小值 | 477 | 81.2% | 中等 | YES | ★★ |
1878 | 矩阵中最大的三个菱形和 | 74 | 45.3% | 中等 | NO | ★ |
1900 | 最佳运动员的比拼回合 | 46 | 45.7% | 困难 | NO | ★ |
第2001-2100题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
2037 | 使每位学生都有座位的最少移动次数 | 252 | 85.4% | 简单 | YES | ★ |
2053 | 数组中第 K 个独一无二的字符串 | 167 | 71.3% | 简单 | YES | ★ |
2054 | 两个最好的不重叠活动 | 83 | 38.0% | 中等 | YES | ★ |
2055 | 蜡烛之间的盘子 | 436 | 43.4% | 中等 | YES | ★★ |
第2101-2200题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
2115 | 从给定原材料中找到所有可以做出的菜 | 114 | 42.0% | 中等 | YES | ★ |
2187 | minimum-time-to-complete-trips | 150 | 27.7% | 中等 | YES | ★★ |
第2201-2300题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
2222 | number-of-ways-to-select-buildings | 135 | 49.8% | 中等 | YES | ★ |
第2301-2400题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
2325 | 解密消息 | 421 | 86.5% | 简单 | YES | ★★ |
2326 | 螺旋矩阵 IV | 132 | 66.8% | 中等 | YES | ★ |
2327 | 知道秘密的人数 | 194 | 45.8% | 中等 | YES | ★ |
2351 | first-letter-to-appear-twice | 391 | 85.3% | 简单 | NO | ★★ |
2355 | maximum-number-of-books-you-can-take | 10 | 61.3% | 困难 | NO | |
2356 | number-of-unique-subjects-taught-by-each-teacher | 11 | 87.2% | 简单 | NO | |
2357 | make-array-zero-by-subtracting-equal-amounts | 457 | 76.2% | 简单 | YES | ★★ |
2359 | find-closest-node-to-given-two-nodes | 109 | 30.0% | 中等 | YES | ★ |
2360 | longest-cycle-in-a-graph | 137 | 37.4% | 困难 | YES | ★ |
2386 | 找出数组的第 K 大和 | 48 | 41.8% | 困难 | NO | ★ |
2389 | 和有限的最长子序列 | 337 | 71.1% | 简单 | YES | ★★ |
2392 | 给定条件下构造矩阵 | 93 | 55.1% | 困难 | YES | ★ |
第2401-2500题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
2423 | 删除字符使频率相同 | 132 | 19.3% | 简单 | NO | ★★ |
第6101-6200题 | 题名 | 题解 | 通过率 | 难度 | AC | 热度 |
---|---|---|---|---|---|---|
6160 | 和有限的最长子序列 | 0 | no | 简单 | NO | ★ |
6161 | 从字符串中移除星号 | 0 | no | 简单 | NO | ★ |
6162 | 收集垃圾的最少总时间 | 0 | no | 简单 | NO | ★ |
6163 | 给定条件下构造矩阵 | 0 | no | 简单 | NO | ★ |