Skip to content

self-motivated leetcode solutions for practice and job opportunity

Notifications You must be signed in to change notification settings

WilliamX1/leetcode

Repository files navigation

Leetcode

2022-07-01:guardian 成就达成。

leetcode

2022-07-02: 刷新最好竞赛名次

leetcode-best-contest

剑指Offer

Cnt Problem Solution Difficulty date
1 剑指 Offer 03. 数组中重复的数字 C++ Easy 2021.7.12
2 剑指 Offer 04. 二维数组中的查找 C++ Middle 2021.9.18
3 剑指 Offer 05. 替换空格 C++ Easy 2021.9.18
4 剑指 Offer 06. 从尾到头打印链表 C++ Easy 2021.9.18
5 剑指 Offer 07. 重建二叉树 C++ Middle 2021.9.18
6 剑指 Offer 09. 用两个栈实现队列 C++ Easy 2021.9.18
7 剑指 Offer 11. 旋转数组的最小数字 C++ Easy 2021.9.18
8 剑指 Offer 12. 矩阵中的路径 C++ Middle 2021.9.18
9 剑指 Offer 13. 机器人的运动范围 C++ Middle 2021.9.18
10 剑指 Offer 15. 二进制中1的个数 C++ Easy 2021.9.18
11 剑指 Offer 16. 数值的整数次方 C++ Middle 2021.9.18
12 剑指 Offer 17. 打印从1到最大的n位数 C++ Easy 2021.9.18
13 剑指 Offer 18. 删除链表的节点 C++ Easy 2021.9.18
14 剑指 Offer 20. 表示数值的字符串 C++ Middle 2021.9.18
15 剑指 Offer 21. 调整数组顺序使奇数位于偶数前面 C++ Easy 2021.9.18
16 剑指 Offer 22. 链表中倒数第k个节点 C++ Easy 2021.9.18
17 剑指 Offer 24. 反转链表 C++ Easy 2021.9.18
18 剑指 Offer 25. 合并两个排序的链表 C++ Easy 2021.9.18
19 剑指 Offer 26. 树的子结构 C++ Middle 2021.9.18
20 剑指 Offer 27. 二叉树的镜像 C++ Easy 2021.9.18
21 剑指 Offer 28. 对称的二叉树 C++ Easy 2021.9.18
22 剑指 Offer 29. 顺时针打印矩阵 C++ Middle 2021.9.22
23 剑指 Offer 30. 包含min函数的栈 C++ Easy 2021.9.22
24 剑指 Offer 31. 栈的压入、弹出序列 C++ Middle 2021.9.22
25 剑指 Offer 33. 二叉搜索树的后序遍历序列 C++ Middle 2021.9.24
26 剑指 Offer 34. 二叉树中和为某一值的路径 C++ Middle 2021.9.24
27 剑指 Offer 35. 复杂链表的复制 C++ Middle 2021.9.24
28 剑指 Offer 36. 二叉搜索树与双向链表 C++ Middle 2021.9.24
29 剑指 Offer 37. 序列化二叉树 C++ Middle 2021.9.24
30 剑指 Offer 38. 字符串的排列 C++ Middle 2021.9.24
31 剑指 Offer 39. 数组中出现次数超过一半的数字 C++ Middle 2021.9.24
32 剑指 Offer 40. 最小的k个数 C++ Middle 2021.9.24
33 剑指 Offer 41. 数据流中的中位数 C++ Hard 2021.9.26
34 剑指 Offer 42. 连续子数组的最大和 C++ Easy 2021.9.26
35 剑指 Offer 44. 数字序列中某一位的数字 C++ Middle 2021.9.26
36 剑指 Offer 45. 把数组排成最小的数 C++ Middle 2021.9.26
37 剑指 Offer 46. 把数字翻译成字符串 C++ Middle 2021.9.26
38 剑指 Offer 47. 礼物的最大价值 C++ Middle 2021.9.27
39 剑指 Offer 48. 最长不含重复字符的子字符串 C++ Middle 2021.9.27
40 剑指 Offer 49. 丑数 C++ Middle 2021.9.27
41 剑指 Offer 50. 第一个只出现一次的字符 C++ Easy 2021.9.27
42 剑指 Offer 52. 两个链表的第一个公共节点 C++ Easy 2021.9.27
43 剑指 Offer 54. 二叉搜索树的第k大节点 C++ Easy 2021.9.27
44 剑指 Offer 57. 和为s的两个数字 C++ Easy 2021.9.27
45 剑指 Offer 60. n个骰子的点数 C++ Middle 2021.9.27
46 剑指 Offer 61. 扑克牌中的顺子 C++ Easy 2021.9.27
47 剑指 Offer 62. 圆圈中最后剩下的数字 C++ Easy 2021.9.27
48 剑指 Offer 63. 股票的最大利润 C++ Middle 2021.9.27
49 剑指 Offer 64. 求1+2+…+n C++ Middle 2021.9.28
50 剑指 Offer 65. 不用加减乘除做加法 C++ Easy 2021.9.28
51 剑指 Offer 66. 构建乘积数组 C++ Middle 2021.9.28
52 剑指 Offer 67. 把字符串转换成整数 C++ Middle 2021.9.28
53 剑指 Offer 10- I. 斐波那契数列 C++ Easy 2021.9.28
54 剑指 Offer 10- II. 青蛙跳台阶问题 C++ Easy 2021.9.29
55 剑指 Offer 14- I. 剪绳子 C++ Middle 2021.9.29
56 剑指 Offer 32 - I. 从上到下打印二叉树 C++ Middle 2021.9.29
57 剑指 Offer 32 - II. 从上到下打印二叉树 II C++ Easy 2021.9.29
58 剑指 Offer 32 - III. 从上到下打印二叉树 III C++ Middle 2021.9.29
59 剑指 Offer 53 - I. 在排序数组中查找数字 I C++ Easy 2021.9.29
60 剑指 Offer 53 - II. 0~n-1中缺失的数字 C++ Easy 2021.9.29
61 剑指 Offer 55 - I. 二叉树的深度 C++ Easy 2021.9.29
62 剑指 Offer 55 - II. 平衡二叉树 C++ Easy 2021.9.29
63 剑指 Offer 56 - I. 数组中数字出现的次数 C++ Middle 2021.9.30
64 剑指 Offer 56 - II. 数组中数字出现的次数 II C++ Middle 2021.9.30
65 剑指 Offer 57 - II. 和为s的连续正数序列 C++ Easy 2021.9.30
66 剑指 Offer 58 - I. 翻转单词顺序 C++ Easy 2021.9.30
67 剑指 Offer 58 - II. 左旋转字符串 C++ Easy 2021.9.30
68 剑指 Offer 59 - I. 滑动窗口的最大值 C++ Hard 2021.9.30
69 剑指 Offer 59 - II. 队列的最大值 C++ Middle 2021.10.8
70 剑指 Offer 68 - I. 二叉搜索树的最近公共祖先 C++ Easy 2021.10.8
71 剑指 Offer 68 - II. 二叉树的最近公共祖先 C++ Easy 2021.10.8
72 剑指 Offer 14- II. 剪绳子 II C++ Middle 2021.10.10
73 剑指 Offer 51. 数组中的逆序对 C++ Hard 2021.10.10
74 剑指 Offer 43. 1~n 整数中 1 出现的次数 C++ Hard 2021.10.13
75 剑指 Offer II 009. 乘积小于 K 的子数组 C++ Middle 2021.10.18
76 剑指 Offer II 011. 0 和 1 个数相同的子数组 C++ Middle 2021.10.18
77 剑指 Offer II 011. 0 和 1 个数相同的子数组 C++ Middle 2021.10.18

每日一题

Cnt Problem Solution Difficulty date
1 Remove Duplicates from Sorted Array II - 删除有序数组中的重复项 II C++ Medium 2021.4.6
2 Search in Rotated Sorted Array II - 搜索旋转排序数组 II C++ Medium 2021.4.7
3 Find Minimum in Rotated Sorted Array - 寻找旋转排序数组中的最小值 C++ Medium 2021.4.8
4 Find Minimum in Rotated Sorted Array II - 寻找旋转排序数组中的最小值 II C++ Hard 2021.4.9
5 Ugly Number - 丑数 C++ Easy 2021.4.10
6 Ugly Number II - 丑数 II C++ Middle 2021.4.11
7 Add Two Numbers - 两数相加 C++ Middle 2021.4.11
8 Largest Number - 最大数 C++ Middle 2021.4.12
9 Minimum Distance Between BST Nodes - 二叉搜索树节点最小距离 C++ Easy 2021.4.13
10 Two Sum - 两数之和 C++ Easy 2021.4.13
11 Valid Parentheses - 有效的括号 C++ Easy 2021.4.13
12 Median of Two Sorted Arrays - 寻找两个正序数组的中位数 C++ Hard 2021.4.13
13 Implement Trie (Prefix Tree) - 实现 Trie (前缀树) C++ Middle 2021.4.14
14 House Robber II - 打家劫舍 II C++ Middle 2021.4.15
15 Sum of Subarray Minimums - 子数组的最小值之和 C++ Middle 2021.4.15
16 Scramble String - 扰乱字符串 C++ Hard 2021.4.16
17 Contains Duplicate III - 存在重复元素 III C++ Middle 2021.4.17
18 Longest Palindromic Substring - 最长回文子串 C++ Middle 2021.4.17
19 Remove Duplicates from Sorted Array - 删除有序数组中的重复项 C++ Easy 2021.4.18
20 Remove Element - 移除元素 C++ Easy 2021.4.19
21 Single-Threaded CPU - 单线程 CPU C++ Middle 2021.4.18
22 Check if the Sentence Is Pangram - 判断句子是否为全字母句 C++ Easy 2021.4.18
23 Maximum Ice Cream Bars - 雪糕的最大数量 C++ Middle 2021.4.18
24 Find XOR Sum of All Pairs Bitwise AND - 所有数对按位与结果的异或和 C++ Hard 2021.4.18
25 Minimum Operations to Make the Array Increasing - 最少操作使数组递增 C++ Easy 2021.4.19
26 Queries on Number of Points Inside a Circle - 统计一个圆中点的数目 C++ Middle 2021.4.19
27 Maximum XOR for Each Query - 每个查询的最大异或值 C++ Middle 2021.4.19
28 Implement strStr() - 实现 strStr() Python3 Easy 2021.4.20
29 Decode Ways - 解码方法 Python3 Middle 2021.4.21
30 Sign of the Product of an Array - 数组元素积的符号 C++ Easy 2021.4.21
31 Find the Winner of the Circular Game - 找出游戏的获胜者 C++ Middle 2021.4.21
32 Minimum Sideway Jumps - 最少侧跳次数 C++ Middle 2021.4.21
33 Max Sum of Rectangle No Larger Than K - 矩形区域不超过 K 的最大数值和 C++ Hard 2021.4.22
34 Largest Divisible Subset - 最大整除子集 C++ Middle 2021.4.23
35 Combination Sum IV - 组合总和 Ⅳ C++ Middle 2021.4.24
36 Path Crossing - 判断路径是否相交 python3 Easy 2021.4.24
37 Determine Color of a Chessboard Square - 判断国际象棋棋盘中一个格子的颜色 python3 Middle 2021.4.24
38 Sentence Similarity III - 句子相似性 III python3 Middle 2021.4.24
39 Count Nice Pairs in an Array - 统计一个数组中好对子的数目 python3 Middle 2021.4.24
40 Maximum Number of Groups Getting Fresh Donuts - 得到新鲜甜甜圈的最多组数 C++ Hard 2021.4.24
41 Finding MK Average - 求出 MK 平均值 C++ Hard 2021.4.24
42 Increasing Order Search Tree - 递增顺序搜索树 python3 Easy 2021.4.25
43 Remove All Adjacent Duplicates in String II - 删除字符串中的所有相邻重复项 II python3 Middle 2021.4.25
44 Capacity To Ship Packages Within D Days - 在 D 天内送达包裹的能力 python3 Middle 2021.4.26
45 Sum of Digits in Base K - 在K 进制表示下的各位数字总和 python3 Easy 2021.4.26
46 Frequency of the Most Frequent Element - 最高频元素的频数 python3 Middle 2021.4.26
47 Longest Substring Of All Vowels in Order - 所有元音按顺序排布的最长子字符串 python3 Middle 2021.4.26
48 Maximum Building Height - 最高建筑高度 C++ Hard 2021.4.26
49 剑指 Offer 03. 数组中重复的数字 python3 Easy 2021.4.26
50 二叉搜索树的范围和 - Range Sum of BST python3 Easy 2021.4.27
51 平方数之和 - Sum of Square Numbers python3 Middle 2021.4.28
52 三维形体的表面积 - Surface Area of 3D Shapes python3 Easy 2021.4.28
53 青蛙过河 - Frog Jump C++ Hard 2021.4.29
54 只出现一次的数字 - Single Number C++ Easy 2021.4.30
55 只出现一次的数字 II - Single Number II C++ Middle 2021.4.30
56 只出现一次的数字 III - Single Number III C++ Middle 2021.4.30
57 员工的重要性 - Employee Importance C++ Easy 2021.5.1
58 删除并获得点数 - Delete and Earn C++ Middle 2021.5.5
59 解码异或后的数组 - Decode XORed Array C++ Easy 2021.5.6
60 Implement strStr() - 实现 strStr() C++ Easy 2021.5.6
61 Longest Common Prefix - 最长公共前缀 C++ Easy 2021.5.6
62 Longest Substring Without Repeating Characters - 无重复字符的最长子串 C++ Middle 2021.5.6
63 ZigZag Conversion - Z 字形变换 C++ Middle 2021.5.6
64 XOR Operation in an Array - 数组异或操作 C++ Easy 2021.5.7
65 Minimum Distance to the Target Element - 到目标元素的最小距离 C++ Easy 2021.5.7
66 Print in Order - 按序打印 C++ Easy 2021.5.8
67 Print FooBar Alternately - 交替打印FooBar C++ Middle 2021.5.8
68 Minimum Number of Days to Make m Bouquets - 制作 m 束花所需的最少天数 C++ Middle 2021.5.9
69 Leaf-Similar Trees - 叶子相似的树 C++ Easy 2021.5.10
70 Decode XORed Permutation - 解码异或后的排列 C++ Middle 2021.5.11
71 XOR Queries of a Subarray - 子数组异或查询 C++ Middle 2021.5.12
72 Number of Ways to Stay in the Same Place After Some Steps - 停在原地的方案数 C++ Hard 2021.5.13
73 Integer to Roman - 整数转罗马数字 C++ Middle 2021.5.14
74 Roman to Integer - 罗马数字转整数 C++ Easy 2021.5.15
75 Cousins in Binary Tree - 二叉树的堂兄弟节点 C++ Easy 2021.5.17
76 Count Triplets That Can Form Two Arrays of Equal XOR - 形成两个异或相等数组的三元组数目 C++ Middle 2021.5.18
77 Find Kth Largest XOR Coordinate Value - 找出第 K 大的异或坐标值 C++ Middle 2021.5.19
78 Top K Frequent Words - 前K个高频单词 C++ Middle 2021.5.20
79 Uncrossed Lines - 不相交的线 C++ Middle 2021.5.21
80 Chalkboard XOR Game - 黑板异或游戏 C++ Hard 2021.5.22
81 Finding Pairs With a Certain Sum - 找出和为指定值的下标对 C++ Middle 2021.5.23
82 Minimum Number of Swaps to Make the Binary String Alternating - 构成交替字符串需要的最小交换次数 C++ Middle 2021.5.23
83 Sum of All Subset XOR Totals - 找出所有子集的异或总和再求和 C++ Easy 2021.5.23
84 Reverse Substrings Between Each Pair of Parentheses - 反转每对括号间的子串 C++ Middle 2021.5.26
85 Hamming Distance - 汉明距离 C++ Easy 2021.5.27
86 Total Hamming Distance - 汉明距离总和 C++ Middle 2021.5.28
87 Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree - 找到最小生成树里的关键边和伪关键边 C++ Hard 2021.5.28
88 Min Cost to Connect All Points - 连接所有点的最小费用 C++ Middle 2021.5.28
89 Container With Most Water - 盛最多水的容器 C++ Middle 2021.5.28
90 3Sum - 三数之和 C++ Middle 2021.5.28
91 Letter Combinations of a Phone Number - 电话号码的字母组合 C++ Middle 2021.5.28
92 Longer Contiguous Segments of Ones than Zeros - 哪种连续子字符串更长 C++ Easy 2021.5.28
93 Minimum Speed to Arrive on Time - 准时到达的列车最小时速 C++ Middle 2021.5.28
94 Number of Submatrices That Sum to Target - 元素和为目标值的子矩阵数量 C++ Hard 2021.5.29
95 Power of Two - 2 的幂 C++ Easy 2021.5.30
96 Check if the Sentence Is Pangram - 判断句子是否为全字母句 C++ Easy 2021.5.30
97 Maximum Value after Insertion - 插入后的最大值 C++ Middle 2021.5.30
97 Power of Four - 4的幂 C++ Easy 2021.5.31
98 Process Tasks Using Servers - 使用服务器处理任务 C++ Middle 2021.5.31
99 Replace All ?'s to Avoid Consecutive Repeating Characters - 替换所有的问号 C++ Easy 2021.5.31
100 Number of Ways Where Square of Number Is Equal to Product of Two Numbers - 数的平方等于两数乘积的方法数 C++ Middle 2021.5.31
101 Minimum Deletion Cost to Avoid Repeating Letters - 避免重复字母的最小删除成本 C++ Middle 2021.5.31
102 Remove Max Number of Edges to Keep Graph Fully Traversable - 保证图可完全遍历 C++ Hard 2021.5.31
103 Can You Eat Your Favorite Candy on Your Favorite Day? - 你能在你最喜欢的那天吃到你最喜欢的糖果吗? C++ Middle 2021.6.1
104 Merge k Sorted Lists - 合并K个升序链表 C++ Hard 2021.6.1
105 Longest Valid Parentheses - 最长有效括号 C++ Hard 2021.6.1
106 Remove Nth Node From End of List - 删除链表的倒数第 N 个结点 C++ Middle 2021.6.1
107 Merge Two Sorted Lists - 合并两个有序链表 C++ Easy 2021.6.1
108 Generate Parentheses - 括号生成 C++ Middle 2021.6.1
109 Generate Parentheses - 下一个排列 C++ Middle 2021.6.1
110 Search in Rotated Sorted Array - 搜索旋转排序数组 C++ Middle 2021.6.1
111 Find First and Last Position of Element in Sorted Array - 在排序数组中查找元素的第一个和最后一个位置 C++ Middle 2021.6.1
112 Permutations - 全排列 C++ Middle 2021.6.1
113 Rotate Image - 旋转图像 C++ Middle 2021.6.1
114 Group Anagrams - 字母异位词分组 C++ Middle 2021.6.1
115 Maximum Subarray - 最大子序和 C++ Easy 2021.6.1
116 Jump Game - 跳跃游戏 C++ Middle 2021.6.1
117 Merge Intervals - 合并区间 C++ Middle 2021.6.1
118 Continuous Subarray Sum - 连续的子数组和 C++ Middle 2021.6.2
119 Unique Paths - 不同路径 C++ Middle 2021.6.2
119 Minimum Path Sum - 最小路径和 C++ Middle 2021.6.2
120 Climbing Stairs - 爬楼梯 C++ Easy 2021.6.2
121 Contiguous Array - 连续数组 C++ Middle 2021.6.3
122 Daily Temperatures - 每日温度 C++ Middle 2021.6.3
123 Palindromic Substrings - 回文子串 C++ Middle 2021.6.3
124 Intersection of Two Linked Lists - 相交链表 C++ Easy 2021.6.4
125 Remove Linked List Elements - 移除链表元素 C++ Middle 2021.6.5
126 Target Sum - 目标和 C++ Middle 2021.6.7
127 Coin Change 2 - 零钱兑换 II C++ Middle 2021.6.10
128 Perfect Squares - 完全平方数 C++ Middle 2021.6.11
129 Determine Whether Matrix Can Be Obtained By Rotation - 判断矩阵经轮转后是否一致 C++ Easy 2021.6.11
130 Reduction Operations to Make the Array Elements Equal - 使数组元素相等的减少操作次数 C++ Middle 2021.6.11
131 First Bad Version - 第一个错误的版本 C++ Easy 2021.6.13
132 Redistribute Characters to Make All Strings Equal - 重新分配字符使所有字符串都相等 C++ Easy 2021.6.13
133 Guess Number Higher or Lower - 猜数字大小 C++ Easy 2021.6.14
134 Peak Index in a Mountain Array - 山脉数组的峰顶索引 C++ Easy 2021.6.15
135 Valid Number - 有效数字 C++ Hard 2021.6.17
136 Smallest Good Base - 最小好进制 C++ Hard 2021.6.18
137 Check if All the Integers in a Range Are Covered - 检查是否区域内所有整数都被覆盖 C++ Easy 2021.6.18
138 Find the Student that Will Replace the Chalk - 找到需要补充粉笔的学生编号 C++ Middle 2021.6.18
139 Largest Magic Square - 最大的幻方 C++ Middle 2021.6.18
140 Maximum Length of a Concatenated String with Unique Characters - 串联字符串的最大长度 C++ Middle 2021.6.19
141 下载插件 C++ Easy 2021.6.19
142 完成一半题目 C++ Easy 2021.6.19
143 主题空间 C++ Middle 2021.6.19
144 Count of Matches in Tournament - 比赛中的配对次数 C++ Easy 2021.6.19
145 Partitioning Into Minimum Number Of Deci-Binary Numbers - 十-二进制数的最少数目 C++ Middle 2021.6.19
146 Stone Game VII - 石子游戏 VII C++ Middle 2021.6.19
143 Maximum Height by Stacking Cuboids - 堆叠长方体的最大高度 C++ Hard 2021.6.19
144 Largest Odd Number in String - 字符串中的最大奇数 C++ Easy 2021.6.20
145 The Number of Full Rounds You Have Played - 你完成的完整对局数 C++ Middle 2021.6.20
146 Binary Watch - 二进制手表 C++ Easy 2021.6.21
147 Offer-38 LCOF - 剑指 Offer 38. 字符串的排列 C++ Middle 2021.6.22
148 Dice Roll Simulation - 掷骰子模拟 C++ Hard 2021.6.23
149 Network Delay Time - 网络延迟时间 C++ Middle 2021.6.24
150 Queens That Can Attack the King - 可以攻击国王的皇后 C++ Middle 2021.6.24
151 Shortest Palindrome - 最短回文串 C++ Hard 2021.6.24
152 Split a String in Balanced Strings - 分割平衡字符串 C++ Easy 2021.6.24
153 Display Table of Food Orders in a Restaurant - 点菜展示表 C++ Middle 2021.7.6
154 Build Array from Permutation - 基于排列构建数组 C++ Easy 2021.7.6
155 Eliminate Maximum Number of Monsters - 消灭怪物的最大数量 C++ Easy 2021.7.6
156 Count Good Meals - 大餐计数 C++ Middle 2021.7.7
157 Binary Subarrays With Sum - 和相同的二元子数组 C++ Middle 2021.7.8
158 Combination Sum - 组合总和 C++ Middle 2021.7.8
159 Sort Colors - 颜色分类 C++ Middle 2021.7.8
160 Find Majority Element LCCI - 主要元素 C++ Easy 2021.7.9
161 Binary Search - 二分查找 C++ Easy 2021.7.9
162 Search Insert Position - 搜索插入位置 C++ Easy 2021.7.9
163 Maximum Product Difference Between Two Pairs - 两个数对之间的最大乘积差 C++ Easy 2021.7.9
164 Cyclically Rotating a Grid - 循环轮转矩阵 C++ Middle 2021.7.9
165 Number of Wonderful Substrings - 最美子字符串的数目 C++ Middle 2021.7.9
166 Time Based Key-Value Store - 基于时间的键值存储 C++ Middle 2021.7.10
167 Fibonacci Number - 斐波那契数 C++ Easy 2021.7.10
168 N-th Tribonacci Number - 第 N 个泰波那契数 C++ Easy 2021.7.10
169 Min Cost Climbing Stairs - 使用最小花费爬楼梯 C++ Easy 2021.7.10
170 Subsets - 子集 C++ Middle 2021.7.10
171 Word Search - 单词搜索 C++ Middle 2021.7.10
172 Unique Binary Search Trees - 不同的二叉搜索树 C++ Middle 2021.7.10
173 Validate Binary Search Tree - 验证二叉搜索树 C++ Middle 2021.7.10
174 Binary Tree Level Order Traversal - 二叉树的层序遍历 C++ Middle 2021.7.10
175 Construct Binary Tree from Preorder and Inorder Traversal - 从前序与中序遍历序列构造二叉树 C++ Middle 2021.7.10
176 Flatten Binary Tree to Linked List - 二叉树展开为链表 C++ Middle 2021.7.10
177 Task Scheduler - 任务调度器 C++ Middle 2021.7.10
178 Shortest Unsorted Continuous Subarray - 最短无序连续子数组 C++ Middle 2021.7.10
179 Subarray Sum Equals K - 和为K的子数组 C++ Middle 2021.7.10
180 Convert BST to Greater Tree - 把二叉搜索树转换为累加树 C++ Middle 2021.7.10
181 Find All Anagrams in a String - 找到字符串中所有字母异位词 C++ Middle 2021.7.10
182 Path Sum III - 路径总和 III C++ Middle 2021.7.10
183 Path Sum III - 路径总和 III C++ Middle 2021.7.10
184 Count Square Sum Triples - 统计平方和三元组的数目 C++ Easy 2021.7.10
185 Nearest Exit from Entrance in Maze - 迷宫中离入口最近的出口 C++ Middle 2021.7.10
186 Sum Game - 求和游戏 C++ Middle 2021.7.10
187 Concatenation of Array - 数组串联 C++ Easy 2021.7.11
188 Unique Length-3 Palindromic Subsequences - 长度为 3 的不同回文子序列 C++ Middle 2021.7.11
189 Painting a Grid With Three Different Colors - 用三种不同颜色为网格涂色 C++ Hard 2021.7.11
190 H-Index - H 指数 C++ Middle 2021.7.11
191 Merge BSTs to Create Single BST - 合并多棵二叉搜索树 C++ Hard 2021.7.11
192 H-Index II - H 指数 II C++ Middle 2021.7.12
193 Maximum Element After Decreasing and Rearranging - 减小和重新排列数组后的最大元素 C++ Middle 2021.7.15
194 Find All Good Strings - 找到所有好字符串 C++ Easy 2021.7.15
195 Count Number of Teams - 统计作战单位数 C++ Middle 2021.7.15
196 Design Underground System - 设计地铁系统 C++ Middle 2021.7.15
197 Maximum Number of Words You Can Type - 可以输入的最大单词数 C++ Easy 2021.7.18
198 Add Minimum Number of Rungs - 新增的最少台阶数 C++ Middle 2021.7.18
199 Maximum Number of Points with Cost - 扣分后的最大得分 C++ Middle 2021.7.18
200 Group Anagrams LCCI - 面试题 10.02. 变位词组 C++ Middle 2021.7.18
201 Minimize Maximum Pair Sum in Array - 数组中最大数对和的最小值 C++ Middle 2021.7.20
202 House Robber - 打家劫舍 C++ Middle 2021.7.20
203 Jump Game II - 跳跃游戏 II C++ Middle 2021.7.20
204 Maximum Sum Circular Subarray - 环形子数组的最大和 C++ Middle 2021.7.20
205 Maximum Product Subarray - 乘积最大子数组 C++ Middle 2021.7.20
206 Best Sightseeing Pair - 最佳观光组合 C++ Middle 2021.7.21
207 Best Time to Buy and Sell Stock - 买卖股票的最佳时机 C++ Easy 2021.7.21
208 Best Time to Buy and Sell Stock II - 买卖股票的最佳时机 II C++ Easy 2021.7.21
209 Best Time to Buy and Sell Stock with Cooldown - 最佳买卖股票时机含冷冻期 C++ Middle 2021.7.21
210 Best Time to Buy and Sell Stock with Transaction Fee - 买卖股票的最佳时机含手续费 C++ Middle 2021.7.21
211 Latest Time by Replacing Hidden Digits - 替换隐藏数字得到的最晚时间 C++ Easy 2021.7.24
212 Trapping Rain Water - 接雨水 C++ Hard 2021.7.24
213 Arithmetic Slices - 等差数列划分 C++ Middle 2021.7.24
214 Restore the Array From Adjacent Pairs - 从相邻元素对还原数组 C++ Middle 2021.7.25
215 Excel Sheet Column Number - Excel 表列序号 C++ Easy 2021.7.30
216 The K Weakest Rows in a Matrix - 矩阵中战斗力最弱的 K 行 C++ Easy 2021.8.1
217 Three Divisors - 三除数 C++ Easy 2021.8.1
218 Maximum Number of Weeks for Which You Can Work - 你可以工作的最大周数 C++ Middle 2021.8.1
219 Minimum Garden Perimeter to Collect Enough Apples - 收集足够苹果的最小花园周长 C++ Middle 2021.8.1
220 Count Number of Special Subsequences - 统计特殊子序列的数目 C++ Hard 2021.8.1
221 Search a 2D Matrix - 搜索二维矩阵 C++ Middle 2021.8.2
222 3Sum Closest - 最接近的三数之和 C++ Middle 2021.8.2
223 Minimum Number of Swaps to Make the String Balanced - 使字符串平衡的最小交换次数 C++ Middle 2021.8.8
224 Remove Stones to Minimize the Total - 移除石子使总数最小 C++ Middle 2021.8.8
225 Check If String Is a Prefix of Array - 检查字符串是否为数组前缀 C++ Easy 2021.8.8
226 Check if Move is Legal - 检查操作是否合法 C++ Middle 2021.8.8
227 Delete Characters to Make Fancy String - 删除字符使字符串变好 C++ Easy 2021.8.8
228 Valid Triangle Number - 有效三角形的个数s C++ Middle 2021.8.8
229 Super Ugly Number - 超级丑数 C++ Middle 2021.8.9
230 Arithmetic Slices II - Subsequence - 等差数列划分 II - 子序列 C++ Hard 2021.8.11
231 Array With Elements Not Equal to Average of Neighbors - 构造元素不等于两相邻元素平均值的数组 C++ Middle 2021.8.15
232 Minimum Non-Zero Product of the Array Elements - 数组元素的最小非零乘积 C++ Middle 2021.8.15
234 Number of Strings That Appear as Substrings in Word - 作为子字符串出现在单词中的字符串数目 C++ Easy 2021.8.15
235 Beautiful Arrangement - 优美的排列 C++ Middle 2021.8.16
236 Student Attendance Record I - 学生出勤记录 I C++ Easy 2021.8.17
237 Reverse Integer - 整数反转 I C++ Easy 2021.8.17
238 String to Integer (atoi) - 字符串转换整数 (atoi) C++ Middle 2021.8.17
239 Remove Duplicates from Sorted List II - 删除排序链表中的重复元素 II C++ Middle 2021.8.17
240 Student Attendance Record II - 学生出勤记录 II C++ Hard 2021.8.18
241 Reverse String II - 反转字符串 II C++ Easy 2021.8.20
242 String Compression - 压缩字符串 C++ Middle 2021.8.21
243 Find Unique Binary String - 找出不同的二进制字符串 C++ Middle 2021.8.21
244 Find Greatest Common Divisor of Array - 找出数组的最大公约数 C++ Easy 2021.8.21
245 Get Maximum in Generated Array - 获取生成数组中的最大值 C++ Easy 2021.8.23
246 Minimum Difference Between Highest and Lowest of K Scores - 学生分数的最小差值 C++ Easy 2021.8.29
247 Find the Kth Largest Integer in the Array - 找出数组中的第 K 大整数 C++ Middle 2021.8.29
248 Minimum Number of Work Sessions to Finish the Tasks - 完成任务的最少工作时间段 C++ Middle 2021.8.29
249 Number of Unique Good Subsequences - 不同的好子序列数目 C++ Hard 2021.8.29
250 Random Pick with Weight - 按权重随机选择 C++ Middle 2021.8.30
251 Power of Three - 3的幂 C++ Easy 2021.9.23
252 Convert 1D Array Into 2D Array - 将一维数组转变成二维数组 C++ Easy 2021.10.2
253 Number of Pairs of Strings With Concatenation Equal to Target - 连接后等于目标字符串的字符串对 C++ Middle 2021.10.2
254 Third Maximum Number - 第三大的数 C++ Easy 2021.10.6
255 Fizz Buzz C++ Easy 2021.10.12
256 Count and Say - 外观数列 C++ Middle 2021.10.15
257 Kth Smallest Element in a BST - 二叉搜索树中第K小的元素 C++ Middle 2021.10.17
258 Number Complement - 数字的补数 C++ Easy 2021.10.18
259 Minimum Moves to Equal Array Elements - 最小操作次数使数组元素相等 C++ Easy 2021.10.20
260 Construct Binary Tree from Inorder and Postorder Traversal - 从中序与后序遍历序列构造二叉树 C++ Middle 2021.10.20
261 Convert Sorted Array to Binary Search Tree - 将有序数组转换为二叉搜索树 C++ Middle 2021.10.20
262 Convert Sorted List to Binary Search Tree - 有序链表转换二叉搜索树 C++ Middle 2021.10.20
263 Sort List - 排序链表 C++ Middle 2021.10.20
264 Majority Element - 多数元素 C++ Easy 2021.10.20
265 Reverse Bits - 颠倒二进制位 C++ Easy 2021.10.20
266 Plus One - 加一 C++ Easy 2021.10.21
267 Kth Largest Element in an Array - 数组中的第K个最大元素 C++ Middle 2021.10.21
268 Search a 2D Matrix II - 搜索二维矩阵 II C++ Middle 2021.10.21
269 Count of Smaller Numbers After Self - 计算右侧小于当前元素的个数 C++ Hard 2021.10.21
270 Construct the Rectangle - 构造矩形 C++ Easy 2021.10.23
271 Next Greater Element I - 下一个更大元素 I C++ Easy 2021.10.26
272 Next Greater Element II - 下一个更大元素 II C++ Middle 2021.10.26
273 Next Greater Element III - 下一个更大元素 III C++ Middle 2021.10.26
274 Self Crossing - 路径交叉 C++ Hard 2021.10.29
275 Keyboard Row - 键盘行 C++ Easy 2021.10.31
276 Distribute Candies - 分糖果 C++ Easy 2021.11.1
277 Delete Node in a Linked List - 删除链表中的节点 C++ Easy 2021.11.2
278 Find the Minimum and Maximum Number of Nodes Between Critical Points - 找出临界点之间的最小和最大距离 C++ Middle 2021.11.2
279 Smallest Index With Equal Value - 值相等的最小索引 C++ Easy 2021.11.2
280 Valid Perfect Square - 有效的完全平方数 C++ Easy 2021.11.4
281 Detect Capital - 检测大写字母 C++ Easy 2021.11.13
282 Interleaving String - 交错字符串 C++ Middle 2022.1.1
283 Triangle - 三角形最小路径和 C++ Middle 2022.1.1
284 Pascal's Triangle - 杨辉三角 C++ Easy 2022.1.2
285 Pascal's Triangle II - 杨辉三角 II C++ Easy 2022.1.2
286 Counting Bits - 比特位计数 C++ Easy 2022.1.2
287 Is Subsequence - 判断子序列 C++ Easy 2022.1.2
288 Check if All A's Appears Before All B's - 检查是否所有 A 都在 B 之前 C++ Easy 2022.1.2
289 Number of Laser Beams in a Bank - 银行中的激光束数量 C++ Middle 2022.1.2
290 Destroying Asteroids - 摧毁小行星 C++ Middle 2022.1.2
291 Keep Multiplying Found Values by Two - 将找到的值乘以 2 C++ Easy 2022.1.30
292 All Divisions With the Highest Score of a Binary Array - 分组得分最高的所有下标 C++ Middle 2022.1.30
293 Find Substring With Given Hash Value - 查找给定哈希值的子串 C++ Middle 2022.1.30
294 Groups of Strings - 字符串分组 C++ Hard 2022.1.30
295 Count Elements With Strictly Smaller and Greater Elements - 元素计数 C++ Easy 2022.1.31
296 Rearrange Array Elements by Sign - 按符号重排数组 C++ Middle 2022.1.31
297 Find All Lonely Numbers in the Array - 找出数组中的所有孤独数字 C++ Middle 2022.1.31
298 Maximum Good People Based on Statements - 基于陈述统计最多好人数 C++ Hard 2022.1.31
299 hortest Path in Binary Matrix - 二进制矩阵中的最短路径 C++ Middle 2022.2.1
300 Largest Values From Labels - 受标签影响的最大值 C++ Middle 2022.2.1
301 Duplicate Zeros - 复写零 C++ Easy 2022.2.1
302 Convert Integer to the Sum of Two No-Zero Integers - 将整数转换为两个无零整数的和 C++ Easy 2022.2.3
303 Minimum Flips to Make a OR b Equal to c - 或运算的最小翻转次数 C++ Middle 2022.2.3
304 Number of Operations to Make Network Connected - 连通网络的操作次数 C++ Middle 2022.2.3
305 Minimum Distance to Type a Word Using Two Fingers - 二指输入的的最小距离 C++ Hard 2022.2.3
306 Count Odd Numbers in an Interval Range - 在区间范围内统计奇数数目 C++ Easy 2022.2.4
307 Number of Sub-arrays With Odd Sum - 和为奇数的子数组数目 C++ Middle 2022.2.4
308 Number of Good Ways to Split a String - 字符串的好分割数目 C++ Middle 2022.2.4
309 Minimum Number of Increments on Subarrays to Form a Target Array - 形成目标数组的子数组最少增加次数 C++ Hard 2022.2.4
310 Find the Distance Value Between Two Arrays - 两个数组间的距离值 C++ Easy 2022.2.5
311 Cinema Seat Allocation - 安排电影院座位 C++ Middle 2022.2.5
312 Sort Integers by The Power Value - 将整数按权重排序 C++ Middle 2022.2.5
313 Pizza With 3n Slices - 3n 块披萨 C++ Hard 2022.2.5
314 Edit Distance - 编辑距离 C++ Hard 2022.2.5
315 Minimum Sum of Four Digit Number After Splitting Digits - 拆分数位后四位数字的最小和 C++ Easy 2022.2.5
316 Partition Array According to Given Pivot - 根据给定数字划分数组 C++ Middle 2022.2.5
317 Minimum Cost to Set Cooking Time - 设置时间的最少代价 C++ Middle 2022.2.5
318 Minimum Difference in Sums After Removal of Elements - 删除元素后和的最小差值 C++ Hard 2022.2.5
319 Sort Even and Odd Indices Independently - 对奇偶下标分别排序 C++ Easy 2022.2.6
320 Smallest Value of the Rearranged Number - 重排数字的最小值 C++ Middle 2022.2.6
321 Design Bitset - 设计位集 C++ Middle 2022.2.6
322 Minimum Time to Remove All Cars Containing Illegal Goods - 移除所有载有违禁货物车厢所需的最少时间 C++ Hard 2022.2.6
323 Minimum Swaps to Make Strings Equal - 交换字符使得字符串相同 C++ Middle 2022.2.7
324 Count Number of Nice Subarrays - 统计「优美子数组」 C++ Middle 2022.2.7
325 Minimum Remove to Make Valid Parentheses - 移除无效的括号 C++ Middle 2022.2.7
326 Check If It Is a Good Array - 检查「好数组」 C++ Middle 2022.2.7
327 Decompress Run-Length Encoded List - 解压缩编码列表 C++ Easy 2022.2.8
328 Matrix Block Sum - 矩阵区域和 C++ Middle 2022.2.8
329 Sum of Nodes with Even-Valued Grandparent - 祖父节点值为偶数的节点和 C++ Middle 2022.2.8
330 Distinct Echo Substrings - 不同的循环子字符串 C++ Hard 2022.2.8
331 Grid Illumination - 网格照明 C++ Hard 2022.2.9
332 Sort Array By Parity - 按奇偶排序数组 C++ Easy 2022.2.9
333 Fruit Into Baskets - 水果成篮 C++ Middle 2022.2.9
334 Sum of Subarray Minimums - 子数组的最小值之和 C++ Middle 2022.2.9
335 Super Palindromes - 超级回文数 C++ Hard 2022.2.9
336 Rotate List - 旋转链表 C++ Middle 2022.2.9
337 Spiral Matrix II - 螺旋矩阵 II C++ Middle 2022.2.9
338 Spiral Matrix - 螺旋矩阵 C++ Middle 2022.2.9
339 Multiply Strings - 字符串相乘 C++ Middle 2022.2.9
340 Palindrome Number - 回文数 C++ Easy 2022.2.9
341 Merge Sorted Array - 合并两个有序数组 C++ Easy 2022.2.9
342 Gray Code - 格雷编码 C++ Middle 2022.2.9
343 Maximum Depth of Binary Tree - 二叉树的最大深度 C++ Easy 2022.2.9
344 Binary Tree Maximum Path Sum - 二叉树中的最大路径和 C++ Hard 2022.2.9
345 Linked List Cycle - 环形链表 C++ Easy 2022.2.9
346 Linked List Cycle - 环形链表 C++ Middle 2022.2.10
347 Linked List Cycle II - 环形链表 II C++ Middle 2022.2.10
348 Count Operations to Obtain Zero - 得到 0 的操作数 C++ Easy 2022.2.13
349 Minimum Operations to Make the Array Alternating - 使数组变成交替数组的最少操作数 C++ Middle 2022.2.13
350 Removing Minimum Number of Magic Beans - 拿出最少数目的魔法豆 C++ Middle 2022.2.13
351 Maximum AND Sum of Array - 数组的最大与和 C++ Hard 2022.2.13
352 Last Stone Weight - 最后一块石头的重量 C++ Easy 2022.2.14
353 Remove All Adjacent Duplicates In String - 删除字符串中的所有相邻重复项 C++ Easy 2022.2.14
354 Longest String Chain - 最长字符串链 C++ Middle 2022.2.14
355 Last Stone Weight II - 最后一块石头的重量 II C++ Middle 2022.2.14
356 Lucky Numbers in a Matrix - 矩阵中的幸运数 C++ Easy 2022.2.15
357 Maximum Ascending Subarray Sum - 最大升序子数组和 C++ Easy 2022.2.15
358 Number of Orders in the Backlog - 积压订单中的订单总数 C++ Middle 2022.2.15
359 Maximum Value at a Given Index in a Bounded Array - 有界数组中指定下标处的最大值 C++ Middle 2022.2.15
360 Finding 3-Digit Even Numbers - 找出 3 位偶数 C++ Easy 2022.2.16
361 Delete the Middle Node of a Linked List - 删除链表的中间节点 C++ Middle 2022.2.16
362 Step-By-Step Directions From a Binary Tree Node to Another - 从二叉树一个节点到另一个节点每一步的方向 C++ Middle 2022.2.16
363 Valid Arrangement of Pairs - 合法重新排列数对 C++ Hard 2022.2.16
364 Knight Probability in Chessboard - 骑士在棋盘上的概率 C++ Middle 2022.2.17
365 Find Center of Star Graph - 找出星型图的中心节点 C++ Easy 2022.2.18
366 Pancake Sorting - 煎饼排序 C++ Middle 2022.2.19
367 1-bit and 2-bit Characters - 1比特与2比特字符 C++ Easy 2022.2.20
368 Minimum Window Substring - 最小覆盖子串 C++ Hard 2022.2.20
369 Push Dominoes - 推多米诺 C++ Middle 2022.2.21
370 Count Integers With Even Digit Sum - 统计各位数字之和为偶数的整数个数 C++ Easy 2022.2.21
371 Merge Nodes in Between Zeros - 合并零之间的节点 C++ Middle 2022.2.21
372 Construct String With Repeat Limit - 构造限制重复的字符串 C++ Middle 2022.2.21
373 Count Array Pairs Divisible by K - 统计可以被 K 整除的下标对数目 C++ Hard 2022.2.21
374 Binary Tree Inorder Traversal - 二叉树的中序遍历 C++ Easy 2022.2.22
375 Maximal Rectangle - 最大矩形 C++ Hard 2022.2.23
376 Largest Rectangle in Histogram - 柱状图中最大的矩形 C++ Hard 2022.2.23
377 Symmetric Tree - 对称二叉树 C++ Easy 2022.2.23
378 Longest Consecutive Sequence - 最长连续序列 C++ Middle 2022.2.23
379 Word Break - 单词拆分 C++ Middle 2022.2.23
380 Reverse Linked List - 反转链表 C++ Easy 2022.2.24
381 Contains Duplicate - 存在重复元素 C++ Easy 2022.2.24
382 Lowest Common Ancestor of a Binary Search Tree - 二叉搜索树的最近公共祖先 C++ Easy 2022.2.24
382 Lowest Common Ancestor of a Binary Tree - 二叉树的最近公共祖先 C++ Middle 2022.2.24
383 Product of Array Except Self - 除自身以外数组的乘积 C++ Middle 2022.2.24
384 Nim Game - Nim 游戏 C++ Easy 2022.2.24
385 Reverse String - 反转字符串 C++ Easy 2022.2.24
386 Reverse String III - 反转字符串 III C++ Easy 2022.2.24
387 Complex Number Multiplication - 复数乘法 C++ Middle 2022.2.25
388 Optimal Division - 最优除法 C++ Middle 2022.2.27
389 Counting Words With a Given Prefix C++ Easy 2022.2.27
390 Minimum Number of Steps to Make Two Strings Anagram II C++ Middle 2022.2.27
391 Minimum Time to Complete Trips C++ Middle 2022.2.27
392 Minimum Time to Finish the Race C++ Hard 2022.2.27
393 Maximum Width of Binary Tree C++ Middle 2022.2.28
394 Maximum Number of Achievable Transfer Requests - 最多可达成的换楼请求数目 C++ Hard 2022.2.28
395 Summary Ranges - 汇总区间 C++ Easy 2022.3.1
396 Merge Strings Alternately - 交替合并字符串 C++ Easy 2022.3.1
397 Minimum Number of Operations to Move All Balls to Each Box - 移动所有球到每个盒子所需的最小操作数 C++ Middle 2022.3.1
398 Maximum Score from Performing Multiplication Operations - 执行乘法运算的最大分数 C++ Middle 2022.3.1
399 Maximize Palindrome Length From Subsequences - 由子序列构造的最长回文串的长度 C++ Hard 2022.3.1
400 Add Digits - 各位相加 C++ Easy 2022.3.3
401 N-Queens - N 皇后 C++ Hard 2022.3.3
402 Number of Provinces C++ Middle 2022.3.3
403 Sum of Subarray Ranges - 子数组范围和 C++ Middle 2022.3.4
404 Decrypt String from Alphabet to Integer Mapping - 解码字母到整数映射 C++ Easy 2022.3.4
405 Get Watched Videos by Your Friends - 获取你好友已观看的视频 C++ Middle 2022.3.4
406 Minimum Insertion Steps to Make a String Palindrome - 让字符串成为回文串的最少插入次数 C++ Hard 2022.3.4
407 Cells in a Range on an Excel Sheet - Excel 表中某个范围内的单元格 C++ Easy 2022.3.6
408 Append K Integers With Minimal Sum - 向数组中追加 K 个整数 C++ Middle 2022.3.6
409 Create Binary Tree From Descriptions - 根据描述创建二叉树 C++ Middle 2022.3.6
410 Replace Non-Coprime Numbers in Array - 替换数组中的非互质数 C++ Hard 2022.3.6
411 Base 7 - 七进制数 C++ Easy 2022.3.7
412 Most Frequent Number Following Key In an Array - 数组中紧跟 key 之后出现最频繁的数字 C++ Easy 2022.3.7
413 Sort the Jumbled Numbers - 数组中紧跟 key 将杂乱无章的数字排序 C++ Middle 2022.3.7
414 Plates Between Candles - 蜡烛之间的盘子 C++ Middle 2022.3.8
415 N-ary Tree Preorder Traversal - N 叉树的前序遍历 C++ Easy 2022.3.10
416 Count Nodes With the Highest Score - 统计最高分的节点数目 C++ Middle 2022.3.11
417 Regular Expression Matching - 正则表达式匹配 C++ Hard 2022.3.11
418 Merge Two Binary Trees - 合并二叉树 C++ Easy 2022.3.11
419 Diameter of Binary Tree - 二叉树的直径 C++ Easy 2022.3.11
420 Find All Numbers Disappeared in an Array - 找到所有数组中消失的数字 C++ Easy 2022.3.11
421 Partition Equal Subset Sum - 分割等和子集 C++ Middle 2022.3.11
422 Queue Reconstruction by Height - 根据身高重建队列 C++ Middle 2022.3.11
423 N-ary Tree Postorder Traversal - N 叉树的后序遍历 C++ Easy 2022.3.12
424 First Missing Positive - 缺失的第一个正数 C++ Hard 2022.3.12
425 Wildcard Matching - 通配符匹配 C++ Hard 2022.3.12
426 Distinct Subsequences - 不同的子序列 C++ Hard 2022.3.12
427 Best Time to Buy and Sell Stock III - 买卖股票的最佳时机 III C++ Hard 2022.3.12
428 Palindrome Partitioning II - 分割回文串 II C++ Hard 2022.3.12
429 Word Break II - 单词拆分 II C++ Hard 2022.3.12
430 Dungeon Game - 地下城游戏 C++ Hard 2022.3.13
431 UTF-8 Validation - UTF-8 编码验证 C++ Middle 2022.3.13
432 4Sum - 四数之和 C++ Middle 2022.3.13
433 Find All K-Distant Indices in an Array - 找出数组中的所有 K 近邻下标 C++ Easy 2022.3.13
434 Count Artifacts That Can Be Extracted - 统计可以提取的工件 C++ Middle 2022.3.13
435 Maximize the Topmost Element After K Moves - K 次操作后最大化顶端元素 C++ Middle 2022.3.13
436 银联-01. 回文链表 C++ Easy 2022.3.13
436 银联-01. 回文链表 C++ Easy 2022.3.13
437 银联-02. 优惠活动系统 C++ Middle 2022.3.13
438 银联-03. 理财产品 C++ Middle 2022.3.13
439 银联-04. 合作开发 C++ Hard 2022.3.13
440 两个列表的最小索引总和 - Minimum Index Sum of Two Lists C++ Easy 2022.3.14
441 最后一个单词的长度 - Length of Last Word C++ Easy 2022.3.14
442 二进制求和 - Add Binary C++ Easy 2022.3.14
443 两两交换链表中的节点 - Swap Nodes in Pairs C++ Middle 2022.3.14
444 K 个一组翻转链表 - Reverse Nodes in k-Group C++ Hard 2022.3.14
445 数字 1 的个数 - Number of Digit One C++ Hard 2022.3.14
446 戳气球 - Burst Balloons C++ Hard 2022.3.14
447 矩阵中的最长递增路径 - Longest Increasing Path in a Matrix C++ Hard 2022.3.14
448 俄罗斯套娃信封问题 - Russian Doll Envelopes C++ Hard 2022.3.14
449 分割数组的最大值 - Split Array Largest Sum C++ Hard 2022.3.14
450 解数独 - Sudoku Solver C++ Hard 2022.3.14
451 分发糖果 - Candy C++ Hard 2022.3.14
452 x 的平方根 - Sqrt(x) C++ Easy 2022.3.15
453 删除排序链表中的重复元素 - Remove Duplicates from Sorted List C++ Easy 2022.3.15
454 相同的树 - Same Tree C++ Easy 2022.3.15
455 有效的数独 - Valid Sudoku C++ Middle 2022.3.15
456 N皇后 II - N-Queens II C++ Hard 2022.3.15
457 两个相同字符之间的最长子字符串 - Largest Substring Between Two Equal Characters C++ Easy 2022.3.16
458 按照频率将数组升序排序 - Sort Array by Increasing Frequency C++ Easy 2022.3.16
459 括号的最大嵌套深度 - Maximum Nesting Depth of the Parentheses C++ Easy 2022.3.16
460 组合总和 II - Combination Sum II C++ Middle 2022.3.16
461 全 O(1) 的数据结构 - All O`one Data Structure C++ Hard 2022.3.16
462 二叉树的前序遍历 - Binary Tree Preorder Traversal C++ Easy 2022.3.17
463 验证回文串 - Valid Palindrome C++ Easy 2022.3.17
464 奇偶树 - Even Odd Tree C++ Middle 2022.3.17
465 词典中最长的单词 - Longest Word in Dictionary C++ Easy 2022.3.17
466 文本左右对齐 - Text Justification C++ Hard 2022.3.17
467 统计有序矩阵中的负数 - Count Negative Numbers in a Sorted Matrix C++ Easy 2022.3.18
468 最后 K 个数的乘积 - Product of the Last K Numbers C++ Middle 2022.3.18
469 最多可以参加的会议数目 - Maximum Number of Events That Can Be Attended C++ Middle 2022.3.18
469 多次求和构造目标数组 - Construct Target Array With Multiple Sums C++ Hard 2022.3.18
470 玩筹码 - Minimum Cost to Move Chips to The Same Position C++ Easy 2022.3.18
471 最长定差子序列 - Longest Arithmetic Subsequence of Given Difference C++ Middle 2022.3.18
472 黄金矿工 - Path with Maximum Gold C++ Middle 2022.3.18
473 路径总和 - Path Sum C++ Easy 2022.3.18
474 二叉树的最小深度 - Minimum Depth of Binary Tree C++ Easy 2022.3.18
475 平衡二叉树 - Balanced Binary Tree C++ Easy 2022.3.18
476 滑动窗口最大值 - Sliding Window Maximum C++ Hard 2022.3.18
477 简易银行系统 - Simple Bank System C++ Middle 2022.3.18
478 统计元音字母序列的数目 - Count Vowels Permutation C++ Hard 2022.3.18
479 删除一个元素使数组严格递增 - Remove One Element to Make the Array Strictly Increasing C++ Easy 2022.3.19
480 根据二叉树创建字符串 - Construct String from Binary Tree C++ Easy 2022.3.19
481 检查句子中的数字是否递增 - Check if Numbers Are Ascending in a Sentence C++ Easy 2022.3.19
482 统计按位或能得到最大值的子集数目 - Count Number of Maximum Bitwise-OR Subsets C++ Middle 2022.3.19
483 做菜顺序 - Reducing Dishes C++ Hard 2022.3.19
484 统计数组中峰和谷的数量 - Count Hills and Valleys in an Array C++ Easy 2022.3.20
485 统计道路上的碰撞次数 - Count Collisions on a Road C++ Middle 2022.3.20
486 射箭比赛中的最大得分 - Maximum Points in an Archery Competition C++ Middle 2022.3.20
487 将数组划分成相等数对 - Divide Array Into Equal Pairs C++ Easy 2022.3.20
488 字符串中最多数目的子字符串 - Maximize Number of Subsequences in a String C++ Middle 2022.3.20
489 将数组和减半的最少操作次数 - Minimum Operations to Halve Array Sum C++ Middle 2022.3.20
490 用地毯覆盖后的最少白色砖块 - Minimum White Tiles After Covering With Carpets C++ Hard 2022.3.20
491 种花问题 - Can Place Flowers C++ Easy 2022.3.20
492 两数之和 IV - 输入 BST - Two Sum IV - Input is a BST C++ Easy 2022.3.21
493 保持城市天际线 - Max Increase to Keep City Skyline C++ Middle 2022.3.21
494 一维数组的动态和 - Running Sum of 1d Array C++ Easy 2022.3.21
495 执行操作后的变量值 - Final Value of Variable After Performing Operations C++ Easy 2022.3.21
496 情侣牵手 - Couples Holding Hands C++ Hard 2022.3.21
497 验证回文字符串 Ⅱ - Valid Palindrome II C++ Easy 2022.3.22
498 差的绝对值为 K 的数对数目 - Count Number of Pairs With Absolute Difference K C++ Easy 2022.3.22
499 有效的山脉数组 - Valid Mountain Array C++ Easy 2022.3.22
500 如果相邻两个颜色均相同则删除当前颜色 - Remove Colored Pieces if Both Neighbors are the Same Color C++ Middle 2022.3.22
501 不同路径 III - Unique Paths III C++ Hard 2022.3.22
502 宝石与石头 - Jewels and Stones C++ Easy 2022.3.23
503 最富有客户的资产总量 - Richest Customer Wealth C++ Easy 2022.3.23
504 拥有最多糖果的孩子 - Kids With the Greatest Number of Candies C++ Easy 2022.3.23
505 所有排列中的最大和 - Maximum Sum Obtained of Any Permutation C++ Middle 2022.3.23
506 二叉树的序列化与反序列化 - Serialize and Deserialize Binary Tree C++ Hard 2022.3.23
507 重新排列数组 - Shuffle the Array C++ Easy 2022.3.24
508 图片平滑器 - Image Smoother C++ Easy 2022.3.24
509 按奇偶排序数组 II - Sort Array By Parity II C++ Easy 2022.3.24
510 使括号有效的最少添加 - Minimum Add to Make Parentheses Valid C++ Middle 2022.3.24
511 三数之和的多种可能 - 3Sum With Multiplicity C++ Middle 2022.3.24
512 尽量减少恶意软件的传播 - Minimize Malware Spread C++ Hard 2022.3.24
513 统计匹配检索规则的物品数量 - Count Items Matching a Rule C++ Easy 2022.3.25
514 所有奇数长度子数组的和 - Sum of All Odd Length Subarrays C++ Easy 2022.3.25
515 检查是否所有字符出现次数相同 - Check if All Characters Have Equal Number of Occurrences C++ Easy 2022.3.25
516 最小未被占据椅子的编号 - The Number of the Smallest Unoccupied Chair C++ Middle 2022.3.25
517 描述绘画结果 - Describe the Painting C++ Middle 2022.3.25
518 队列中可以看到的人数 - Number of Visible People in a Queue C++ Hard 2022.3.25
519 数组的度 - Degree of an Array C++ Easy 2022.3.27
520 数组序号转换 - Rank Transform of an Array C++ Easy 2022.3.27
521 破坏回文串 - Break a Palindrome C++ Middle 2022.3.27
522 将矩阵按对角线排序 - Sort the Matrix Diagonally C++ Middle 2022.3.27
523 找出两数组的不同 - Find the Difference of Two Arrays C++ Easy 2022.3.27
524 美化数组的最少删除数 - Minimum Deletions to Make Array Beautiful C++ Middle 2022.3.27
525 从栈中取出 K 个硬币的最大面值和 - Maximum Value of K Coins From Piles C++ Hard 2022.3.27
526 用队列实现栈 - Implement Stack using Queues C++ Easy 2022.3.27
526 移动零 - Move Zeroes C++ Easy 2022.3.27
527 播放列表的数量 - Number of Music Playlists C++ Hard 2022.3.27
528 仅仅反转字母 - Reverse Only Letters C++ Easy 2022.3.27
529 完全二叉树插入器 - Complete Binary Tree Inserter C++ Middle 2022.3.27
530 句子中的最多单词数 - Maximum Number of Words Found in Sentences C++ Easy 2022.3.28
531 从先序遍历还原二叉树 - Recover a Tree From Preorder Traversal C++ Hard 2022.3.28
532 无法吃午餐的学生数量 - Number of Students Unable to Eat Lunch C++ Easy 2022.3.28
533 平均等待时间 - Average Waiting Time C++ Middle 2022.3.28
534 修改后的最大二进制字符串 - Maximum Binary String After Change C++ Middle 2022.3.28
535 交替位二进制数 - Binary Number with Alternating Bits C++ Middle 2022.3.28
536 最小栈 - Min Stack C++ Easy 2022.3.29
537 位1的个数 - Number of 1 Bits C++ Easy 2022.3.29
538 快乐数 - Happy Number C++ Easy 2022.3.29
539 二叉树的锯齿形层序遍历 - Binary Tree Zigzag Level Order Traversal C++ Middle 2022.3.29
540 单词接龙 - Word Ladder C++ Hard 2022.3.29
541 二叉树的后序遍历 - Binary Tree Postorder Traversal C++ Easy 2022.3.30
542 同构字符串 - Isomorphic Strings C++ Easy 2022.3.30
543 存在重复元素 II - Contains Duplicate II C++ Easy 2022.3.30
544 全排列 II - Permutations II C++ Middle 2022.3.30
545 找到处理最多请求的服务器 - Find Servers That Handled Most Number of Requests C++ Hard 2022.3.30
546 将数组分成和相等的三个部分 - Partition Array Into Three Parts With Equal Sum C++ Easy 2022.3.31
547 最常见的单词 - Most Common Word C++ Easy 2022.3.31
548 错误的集合 - Set Mismatch C++ Easy 2022.3.31
549 你能从盒子里获得的最大糖果数 - Maximum Candies You Can Get from Boxes C++ Hard 2022.3.31
550 区间内查询数字的频率 - Range Frequency Queries C++ Middle 2022.3.31
551 自除数 - Self Dividing Numbers C++ Easy 2022.3.31
552 二倍数对数组 - Array of Doubled Pairs C++ Middle 2022.4.1
553 最高建筑高度 - Maximum Building Height C++ Hard 2022.4.1
554 有效的字母异位词 - Valid Anagram C++ Easy 2022.4.1
555 有序数组的平方 - Squares of a Sorted Array C++ Easy 2022.4.1
556 两个数组的交集 - Intersection of Two Arrays C++ Easy 2022.4.1
557 有多少小于当前数字的数字 - How Many Numbers Are Smaller Than the Current Number C++ Easy 2022.4.2
558 访问所有点的最小时间 - Minimum Time Visiting All Points C++ Easy 2022.4.2
559 长度为三且各字符不同的子字符串 - Substrings of Size Three with Distinct Characters C++ Easy 2022.4.2
560 两个数组最小的异或值之和 - Minimum XOR Sum of Two Arrays C++ Hard 2022.4.2
561 转换数字的最少位翻转次数 - Minimum Bit Flips to Convert Number C++ Easy 2022.4.3
562 数组的三角和 - Find Triangular Sum of an Array C++ Middle 2022.4.3
563 选择建筑的方案数 - Number of Ways to Select Buildings C++ Middle 2022.4.3
564 寻找比目标字母大的最小字母 - Find Smallest Letter Greater Than Target C++ Easy 2022.4.3
565 转化时间需要的最少操作数 - Minimum Number of Operations to Convert Time C++ Easy 2022.4.3
566 找出输掉零场或一场比赛的玩家 - Find Players With Zero or One Losses C++ Middle 2022.4.3
567 每个小孩最多能分到多少糖果 - Maximum Candies Allocated to K Children C++ Middle 2022.4.3
568 加密解密字符串 - Encrypt and Decrypt Strings C++ Hard 2022.4.3
569 整数的各位积和之差 - Subtract the Product and Sum of Digits of an Integer C++ Easy 2022.4.4
570 按既定顺序创建目标数组 - Create Target Array in the Given Order C++ Easy 2022.4.4
571 盈利计划 - Profitable Schemes C++ Hard 2022.4.4
572 第 N 个神奇数字 - Nth Magical Number C++ Hard 2022.4.4
573 链表的中间结点 - Middle of the Linked List C++ Easy 2022.4.4
574 石子游戏 - Stone Game C++ Middle 2022.4.4
575 删除一个字符串中所有出现的给定子字符串 - Remove All Occurrences of a Substring C++ Middle 2022.4.5
576 最大子序列交替和 - Maximum Alternating Subsequence Sum C++ Middle 2022.4.5
577 设计电影租借系统 - Design Movie Rental System C++ Hard 2022.4.5
578 翻转二叉树 - Invert Binary Tree C++ Easy 2022.4.5
579 回文链表 - Palindrome Linked List C++ Easy 2022.4.5
580 仅执行一次字符串交换能否使两个字符串相等 - Check if One String Swap Can Make Strings Equal C++ Easy 2022.4.6
581 最大平均通过率 - Maximum Average Pass Ratio C++ Middle 2022.4.6
582 好子数组的最大分数 - Maximum Score of a Good Subarray C++ Hard 2022.4.6
583 二进制表示中质数个计算置位 - Prime Number of Set Bits in Binary Representation C++ Easy 2022.4.6
584 除数博弈 - Divisor Game C++ Easy 2022.4.7
585 旋转字符串 - Rotate String C++ Easy 2022.4.7
586 用栈操作构建数组 - Build an Array With Stack Operations C++ Easy 2022.4.7
587 形成两个异或相等数组的三元组数目 - Count Triplets That Can Form Two Arrays of Equal XOR C++ Middle 2022.4.7
588 收集树上所有苹果的最少时间 - Minimum Time to Collect All Apples in a Tree C++ Middle 2022.4.7
589 切披萨的方案数 - Number of Ways of Cutting a Pizza C++ Hard 2022.4.7
590 最大重复子字符串 - Maximum Repeating Substring C++ Easy 2022.4.8
591 按键持续时间最长的键 - Slowest Key C++ Easy 2022.4.8
592 换酒问题 - Water Bottles C++ Easy 2022.4.8
593 子树中标签相同的节点数 - Number of Nodes in the Sub-Tree With the Same Label C++ Middle 2022.4.8
594 最多的不重叠子字符串 - Maximum Number of Non-Overlapping Substrings C++ Hard 2022.4.8
595 找到最接近目标值的函数值 - Find a Value of a Mysterious Function Closest to Target C++ Hard 2022.4.8
596 LCP 01. 猜数字 - LCP 01. Guess Numbers C++ Easy 2022.4.9
597 LCP 02. 分式化简 - LCP 02. Deep Dark Fraction C++ Easy 2022.4.9
598 数组中的字符串匹配 - String Matching in an Array C++ Easy 2022.4.9
599 查询带键的排列 - Queries on a Permutation With Key C++ Middle 2022.4.9
600 HTML 实体解析器 - HTML Entity Parser C++ Middle 2022.4.9
601 给 N x 3 网格图涂色的方案数 - Number of Ways to Paint N × 3 Grid C++ Hard 2022.4.9
602 按奇偶性交换后的最大数字 - Largest Number After Digit Swaps by Parity C++ Easy 2022.4.10
603 向表达式添加括号后的最小结果 - Minimize Result by Adding Parentheses to Expression C++ Middle 2022.4.10
604 K 次增加后的最大乘积 - Maximum Product After K Increments C++ Middle 2022.4.10
605 花园的最大总美丽值 - Maximum Total Beauty of the Gardens C++ Hard 2022.4.10
606 旅行终点站 - Destination City C++ Easy 2022.4.10
607 唯一摩尔斯密码词 - Unique Morse Code Words C++ Easy 2022.4.10
608 找到最接近 0 的数字 - Find Closest Number to Zero C++ Easy 2022.4.16
609 买钢笔和铅笔的方案数 - Number of Ways to Buy Pens and Pencils C++ Middle 2022.4.16
610 设计一个 ATM 机器 - Design an ATM Machine C++ Middle 2022.4.16
611 节点序列的最大得分 - Maximum Score of a Node Sequence C++ Hard 2022.4.16
612 计算字符串的数字和 - Calculate Digit Sum of a String C++ Easy 2022.4.17
613 完成所有任务需要的最少轮数 - Minimum Rounds to Complete All Tasks C++ Middle 2022.4.17
614 转角路径的乘积中最多能有几个尾随零 - Maximum Trailing Zeros in a Cornered Path C++ Middle 2022.4.17
615 相邻字符不同的最长路径 - Longest Path With Different Adjacent Characters C++ Hard 2022.4.17
616 重新格式化电话号码 - Reformat Phone Number C++ Easy 2022.4.19
617 删除子数组的最大得分 - Maximum Erasure Value C++ Middle 2022.4.19
618 跳跃游戏 VI - Jump Game VI C++ Middle 2022.4.19
619 检查边长度限制的路径是否存在 - Checking Existence of Edge Length Limited Paths C++ Hard 2022.4.19
620 多个数组求交集 - Intersection of Multiple Arrays C++ Easy 2022.4.24
621 统计圆内格点数目 - Count Lattice Points Inside a Circle C++ Middle 2022.4.24
622 统计包含每个点的矩形数目 - Count Number of Rectangles Containing Each Point C++ Middle 2022.4.24
623 花期内花的数目 - Number of Flowers in Full Bloom C++ Hard 2022.4.24
624 圆形赛道上经过次数最多的扇区 - Most Visited Sector in a Circular Track C++ Easy 2022.4.28
625 你可以获得的最大硬币数目 - Maximum Number of Coins You Can Get C++ Middle 2022.4.28
626 查找大小为 M 的最新分组 - Find Latest Group of Size M C++ Middle 2022.4.28
627 石子游戏 V - Stone Game V C++ Hard 2022.4.28
628 重新格式化字符串 - Reformat The String C++ Easy 2022.4.29
629 数青蛙 - Minimum Number of Frogs Croaking C++ Middle 2022.4.29
630 生成数组 - Build Array Where You Can Find The Maximum Exactly K Comparisons C++ Hard 2022.4.29
631 统计是给定字符串前缀的字符串数目 - Count Prefixes of a Given String C++ Easy 2022.4.30
632 最小平均差 - Minimum Average Difference C++ Middle 2022.4.30
633 统计网格图中没有被保卫的格子数 - Count Unguarded Cells in the Grid C++ Middle 2022.4.30
634 移除指定数字得到的最大结果 - Remove Digit From Number to Maximize Result C++ Easy 2022.5.1
635 必须拿起的最小连续卡牌数 - Minimum Consecutive Cards to Pick Up C++ Middle 2022.5.1
636 含最多 K 个可整除元素的子数组 - K Divisible Elements Subarrays C++ Middle 2022.5.1
637 字符串的总引力 - Total Appeal of A String C++ Hard 2022.5.1
638 有序数组中出现次数超过25%的元素 - Element Appearing More Than 25% In Sorted Array C++ Easy 2022.5.2
639 删除被覆盖区间 - Remove Covered Intervals C++ Middle 2022.5.2
640 字母组合迭代器 - Iterator for Combination C++ Middle 2022.5.2
641 下降路径最小和 II - Minimum Falling Path Sum II C++ Hard 2022.5.2
642 从双倍数组中还原原数组 - Find Original Array From Doubled Array C++ Middle 2022.5.3
643 出租车的最大盈利 - Maximum Earnings From Taxi C++ Middle 2022.5.3
644 使数组连续的最少操作数 - Minimum Number of Operations to Make Array Continuous C++ Hard 2022.5.3
645 递增顺序搜索树 - Increasing Order Search Tree C++ Easy 2022.5.4
646 单调数列 - Monotonic Array C++ Easy 2022.5.4
647 子数组按位或操作 - Bitwise ORs of Subarrays C++ Middle 2022.5.4
648 有序队列 - Orderly Queue C++ Hard 2022.5.4
649 改变一个整数能得到的最大差值 - Max Difference You Can Get From Changing an Integer C++ Middle 2022.5.5
650 检查一个字符串是否可以打破另一个字符串 - Check If a String Can Break Another String C++ Middle 2022.5.5
651 每个人戴不同帽子的方案数 - Number of Ways to Wear Different Hats to Each Other C++ Hard 2022.5.5
652 将数字变成 0 的操作次数 - Number of Steps to Reduce a Number to Zero C++ Easy 2022.5.7
653 大小为 K 且平均值大于等于阈值的子数组数目 - Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold C++ Middle 2022.5.7
654 时钟指针的夹角 - Angle Between Hands of a Clock C++ Middle 2022.5.7
655 跳跃游戏 IV - Jump Game IV C++ Hard 2022.5.7
656 字符串中最大的 3 位相同数字 - Largest 3-Same-Digit Number in String C++ Easy 2022.5.8
657 统计值等于子树平均值的节点数 - Count Nodes Equal to Average of Subtree C++ Middle 2022.5.8
658 统计打字方案数 - Count Number of Texts C++ Middle 2022.5.8
659 检查是否有合法括号字符串路径 - Check if There Is a Valid Parentheses String Path C++ Hard 2022.5.8
660 上升下降字符串 - Increasing Decreasing String C++ Easy 2022.5.10
661 每个元音包含偶数次的最长子字符串 - Find the Longest Substring Containing Vowels in Even Counts C++ Middle 2022.5.10
662 二叉树中的最长交错路径 - Longest ZigZag Path in a Binary Tree C++ Middle 2022.5.10
663 二叉搜索子树的最大键值和 - Maximum Sum BST in Binary Tree C++ Hard 2022.5.10
664 整理字符串 - Make The String Great C++ Easy 2022.5.10
665 找出第 N 个二进制字符串中的第 K 位 - Find Kth Bit in Nth Binary String C++ Middle 2022.5.10
666 和为目标值且不重叠的非空子数组的最大数目 - Maximum Number of Non-Overlapping Subarrays With Sum Equals Target C++ Middle 2022.5.10
667 反转两次的数字 - A Number After a Double Reversal C++ Easy 2022.5.12
668 执行所有后缀指令 - Execution of All Suffix Instructions Staying in a Grid C++ Middle 2022.5.12
669 相同元素的间隔之和 - Intervals Between Identical Elements C++ Middle 2022.5.12
670 还原原数组 - Recover the Original Array C++ Hard 2022.5.12
671 公平的糖果交换 - Fair Candy Swap C++ Easy 2022.5.13
672 查找和替换模式 - Find and Replace Pattern C++ Middle 2022.5.13
673 根据前序和后序遍历构造二叉树 - Construct Binary Tree from Preorder and Postorder Traversal C++ Middle 2022.5.13
674 子序列宽度之和 - Sum of Subsequence Widths C++ Hard 2022.5.13
675 删除无效的括号 - Remove Invalid Parentheses C++ Hard 2022.5.13
676 岛屿数量 - Number of Islands C++ Middle 2022.5.13
677 课程表 - Course Schedule C++ Middle 2022.5.13
678 最大正方形 - Maximal Square C++ Middle 2022.5.13
679 寻找重复数 - Find the Duplicate Number C++ Middle 2022.5.13
680 找到一个数字的 K 美丽值 - Find the K-Beauty of a Number C++ Easy 2022.5.14
681 分割数组的方案数 - Number of Ways to Split Array C++ Middle 2022.5.14
682 毯子覆盖的最多白色砖块数 - Maximum White Tiles Covered by a Carpet C++ Middle 2022.5.14
683 最大波动的子字符串 - Substring With Largest Variance C++ Hard 2022.5.14
684 移除字母异位词后的结果数组 - Find Resultant Array After Removing Anagrams C++ Easy 2022.5.15
685 不含特殊楼层的最大连续楼层数 - Maximum Consecutive Floors Without Special Floors C++ Middle 2022.5.15
686 按位与结果大于零的最长组合 - Largest Combination With Bitwise AND Greater Than Zero C++ Middle 2022.5.15
687 统计区间中的整数数目 - Count Integers in Intervals C++ Hard 2022.5.15
688 公交站间的距离 - Distance Between Bus Stops C++ Easy 2022.5.17
689 一周中的第几天 - Day of the Week C++ Easy 2022.5.17
690 删除一次得到子数组最大和 - Maximum Subarray Sum with One Deletion C++ Middle 2022.5.17
691 重新排列字符串 - Shuffle String C++ Easy 2022.5.18
692 最少的后缀翻转次数 - Minimum Suffix Flips C++ Middle 2022.5.18
693 好叶子节点对的数量 - Number of Good Leaf Nodes Pairs C++ Middle 2022.5.18
694 最长的美好子字符串 - Longest Nice Substring C++ Easy 2022.5.18
695 通过连接另一个数组的子数组得到一个数组 - Form Array by Concatenating Subarrays of Another Array C++ Middle 2022.5.18
696 地图中的最高点 - Map of Highest Peak C++ Middle 2022.5.18
697 互质树 - Tree of Coprimes C++ Hard 2022.5.18
698 使每位学生都有座位的最少移动次数 - Minimum Number of Moves to Seat Everyone C++ Easy 2022.5.19
699 网络空闲的时刻 - The Time When the Network Becomes Idle C++ Middle 2022.5.19
700 两个有序数组的第 K 小乘积 - Kth Smallest Product of Two Sorted Arrays C++ Hard 2022.5.19
701 前 K 个高频元素 - Top K Frequent Elements C++ Middle 2022.5.20
702 最长递增子序列 - Longest Increasing Subsequence C++ Middle 2022.5.20
703 打家劫舍 III - House Robber III C++ Middle 2022.5.20
704 零钱兑换 - Coin Change C++ Middle 2022.5.20
705 使用特殊打字机键入单词的最少时间 - Minimum Time to Type Word Using Special Typewriter C++ Easy 2022.5.21
706 最大方阵和 - Maximum Matrix Sum C++ Middle 2022.5.21
707 字母在字符串中的百分比 - Percentage of Letter in String C++ Easy 2022.5.22
708 字母在字符串中的百分比 - Percentage of Letter in String C++ Easy 2022.5.22
709 装满石头的背包的最大数量 - Maximum Bags With Full Capacity of Rocks C++ Middle 2022.5.22
710 表示一个折线图的最少线段数 - Minimum Lines to Represent a Line Chart C++ Middle 2022.5.22
711 逐步求和得到正数的最小值 - Minimum Value to Get Positive Step by Step Sum C++ Easy 2022.5.25
712 和为 K 的最少斐波那契数字数目 - Find the Minimum Number of Fibonacci Numbers Whose Sum Is K C++ Middle 2022.5.25
713 长度为 n 的开心字符串中字典序第 k 小的字符串 - The k-th Lexicographical String of All Happy Strings of Length n C++ Middle 2022.5.25
714 恢复数组 - Restore The Array C++ Hard 2022.5.25
715 判断一个数的数字计数是否等于数位的值 - Check if Number Has Equal Digit Count and Digit Value C++ Easy 2022.5.28
716 最多单词数的发件人 - Sender With Largest Word Count C++ Middle 2022.5.28
717 道路的最大总重要性 - Maximum Total Importance of Roads C++ Middle 2022.5.28
717 重排字符形成目标字符串 - Rearrange Characters to Make Target String C++ Easy 2022.5.29
718 价格减免 - Apply Discount to Prices C++ Middle 2022.5.29
719 极大极小游戏 - Min Max Game C++ Easy 2022.6.5
720 划分数组使最大差为 K - Partition Array Such That Maximum Difference Is K C++ Middle 2022.6.5
721 替换数组中的元素 - Replace Elements in an Array C++ Middle 2022.6.5
722 设计一个文本编辑器 - Design a Text Editor C++ Hard 2022.6.5
723 强整数 - Powerful Integers C++ Middle 2022.6.9
724 翻转二叉树以匹配先序遍历 - Flip Binary Tree To Match Preorder Traversal C++ Middle 2022.6.9
725 非重叠矩形中的随机点 - Random Point in Non-overlapping Rectangles C++ Middle 2022.6.9
726 较大分组的位置 - Positions of Large Groups C++ Easy 2022.6.9
727 找到最近的有相同 X 或 Y 坐标的点 - Find Nearest Point That Has the Same X or Y Coordinate C++ Easy 2022.6.10
728 判断一个数字是否可以表示成三的幂的和 - Check if Number is a Sum of Powers of Three C++ Middle 2022.6.10
729 所有子字符串美丽值之和 - Sum of Beauty of All Substrings C++ Middle 2022.6.10
730 统计点对的数目 - Count Pairs Of Nodes C++ Hard 2022.6.10
731 强密码检验器 II - Strong Password Checker II C++ Easy 2022.6.11
732 咒语和药水的成功对数 - Successful Pairs of Spells and Potions C++ Middle 2022.6.11
733 替换字符后匹配 - Match Substring After Replacement C++ Hard 2022.6.11
734 统计得分小于 K 的子数组数目 - Count Subarrays With Score Less Than K C++ Hard 2022.6.11
735 计算应缴税款总额 - Calculate Amount Paid in Taxes C++ Easy 2022.6.12
736 网格中的最小路径代价 - Minimum Path Cost in a Grid C++ Middle 2022.6.12
737 公平分发饼干 - Fair Distribution of Cookies C++ Middle 2022.6.12
738 公司命名 - Naming a Company C++ Hard 2022.6.12
739 分割字符串的最大得分 - Maximum Score After Splitting a String C++ Easy 2022.6.14
740 可获得的最大点数 - Maximum Points You Can Obtain from Cards C++ Middle 2022.6.14
741 对角线遍历 II - Diagonal Traverse II C++ Middle 2022.6.14
742 带限制的子序列和 - Constrained Subsequence Sum C++ Hard 2022.6.14
743 缀点成线 - Check If It Is a Straight Line C++ Easy 2022.6.15
744 删除子文件夹 - Remove Sub-Folders from the Filesystem C++ Middle 2022.6.15
745 替换子串得到平衡字符串 - Replace the Substring for Balanced String C++ Middle 2022.6.15
746 规划兼职工作 - Maximum Profit in Job Scheduling C++ Hard 2022.6.15
747 句子中的有效单词数 - Number of Valid Words in a Sentence C++ Easy 2022.6.16
748 下一个更大的数值平衡数 - Next Greater Numerically Balanced Number C++ Middle 2022.6.16
749 并行课程 III - Parallel Courses III C++ Hard 2022.6.16
750 矩形重叠 - Rectangle Overlap C++ Easy 2022.6.17
751 直线上最多的点数 - Max Points on a Line C++ Hard 2022.6.17
752 统计子岛屿 - Count Sub Islands C++ Middle 2022.6.17
753 考试的最大困扰度 - Maximize the Confusion of an Exam C++ Middle 2022.6.17
754 和为零的N个唯一整数 - Find N Unique Integers Sum up to Zero C++ Easy 2022.6.18
755 两棵二叉搜索树中的所有元素 - All Elements in Two Binary Search Trees C++ Middle 2022.6.18
756 跳跃游戏 III - Jump Game III 显示 C++ Middle 2022.6.18
757 口算难题 - Verbal Arithmetic Puzzle C++ Hard 2022.6.18
758 找出到每个位置为止最长的有效障碍赛跑路线 - Find the Longest Valid Obstacle Course at Each Position C++ Hard 2022.6.18
759 切棍子的最小成本 - Minimum Cost to Cut a Stick C++ Hard 2022.6.18
760 到达角落需要移除障碍物的最小数目 - Minimum Obstacle Removal to Reach Corner C++ Hard 2022.6.18
761 规定时间内到达终点的最小花费 - Minimum Cost to Reach Destination in Time C++ Hard 2022.6.18
762 兼具大小写的最好英文字母 - Greatest English Letter in Upper and Lower Case C++ Easy 2022.6.19
763 个位数字为 K 的整数之和 - Sum of Numbers With Units Digit K C++ Middle 2022.6.19
764 小于等于 K 的最长二进制子序列 - Longest Binary Subsequence Less Than or Equal to K C++ Middle 2022.6.19
765 卖木头块 - Selling Pieces of Wood C++ Hard 2022.6.19
766 顺丰01. 顺丰鄂州枢纽运转中心环线检测 C++ Middle 2022.6.19
767 顺丰02. 小哥派件装载问题 C++ Middle 2022.6.19
768 顺丰03. 收件节节高 C++ Easy 2022.6.19
769 顺丰04. 顺丰中转场车辆入场识别-电子围栏 C++ Middle 2022.6.19
770 顺丰05. 慧眼神瞳 C++ Middle 2022.6.19
771 石子游戏 II - Stone Game II C++ Middle 2022.6.20
772 字母板上的路径 - Alphabet Board Path C++ Middle 2022.6.20
773 最大的以 1 为边界的正方形 - Largest 1-Bordered Square C++ Middle 2022.6.20
774 不含 AAA 或 BBB 的字符串 - String Without AAA or BBB C++ Middle 2022.6.22
775 唯一元素的和 - Sum of Unique Elements C++ Easy 2022.6.23
776 任意子数组和的绝对值的最大值 - Maximum Absolute Sum of Any Subarray C++ Middle 2022.6.23
777 删除字符串两端相同字符后的最短长度 - Minimum Length of String After Deleting Similar Ends C++ Middle 2022.6.23
778 最多可以参加的会议数目 II - Maximum Number of Events That Can Be Attended II C++ Hard 2022.6.23
779 串联所有单词的子串 - Substring with Concatenation of All Words C++ Hard 2022.6.23
780 将字符串拆分为递减的连续值 - Splitting a String Into Descending Consecutive Values C++ Middle 2022.6.23
781 长按键入 - Long Pressed Name C++ Easy 2022.6.25
782 将字符串翻转到单调递增 - Flip String to Monotone Increasing C++ Middle 2022.6.25
783 三等分 - Three Equal Parts C++ Hard 2022.6.25
784 尽量减少恶意软件的传播 II - Minimize Malware Spread II C++ Hard 2022.6.25
785 找到最高海拔 - Find the Highest Altitude C++ Easy 2022.6.25
786 需要教语言的最少人数 - Minimum Number of People to Teach C++ Middle 2022.6.25
787 统计星号 - Count Asterisks C++ Easy 2022.6.25
788 统计无向图中无法互相到达点对数 - Count Unreachable Pairs of Nodes in an Undirected Graph C++ Middle 2022.6.25
789 操作后的最大异或和 - Maximum XOR After Operations C++ Middle 2022.6.25
790 不同骰子序列的数目 - Number of Distinct Roll Sequences C++ Hard 2022.6.25
791 判断矩阵是否是一个 X 矩阵 - Check if Matrix Is X-Matrix C++ Easy 2022.6.26
792 统计放置房子的方式数 - Count Number of Ways to Place Houses C++ Middle 2022.6.26
793 拼接数组的最大分数 - Maximum Score Of Spliced Array C++ Hard 2022.6.26
794 从树中删除边的最小分数 - Minimum Score After Removals on a Tree C++ Hard 2022.6.26
795 机器人大冒险 - Programmable Robot C++ Middle 2022.6.27
796 覆盖 - Broken Board Dominoes C++ Hard 2022.6.27
797 统计参与通信的服务器 - Count Servers that Communicate C++ Middle 2022.6.27
798 搜索推荐系统 - Search Suggestions System C++ Middle 2022.6.27
799 三维形体的表面积 - Surface Area of 3D Shapes C++ Easy 2022.6.28
800 特殊等价字符串组 - Groups of Special-Equivalent Strings C++ Middle 2022.6.28
801 所有可能的满二叉树 - All Possible Full Binary Trees C++ Middle 2022.6.28
802 最大频率栈 - Maximum Frequency Stack C++ Hard 2022.6.28
803 统计字符串中的元音子字符串 - Count Vowel Substrings of a String C++ Easy 2022.6.29
804 所有子字符串中的元音 - Vowels of All Substrings C++ Middle 2022.6.29
805 分配给商店的最多商品的最小值 - Minimized Maximum of Products Distributed to Any Store C++ Middle 2022.6.29
806 最大化一张图中的路径价值 - Maximum Path Quality of a Graph C++ Hard 2022.6.29
807 找出数组排序后的目标下标 - Find Target Indices After Sorting Array C++ Easy 2022.6.29
808 半径为 k 的子数组平均值 - K Radius Subarray Averages C++ Middle 2022.6.29
809 从数组中移除最大值和最小值 - Removing Minimum and Maximum From Array C++ Middle 2022.6.29
810 找出知晓秘密的所有专家 - Find All People With Secret C++ Hard 2022.6.29
811 卡车上的最大单元数 - Maximum Units on a Truck C++ Easy 2022.6.29
812 将数组分成三个子数组的方案数 - Ways to Split Array Into Three Subarrays C++ Middle 2022.6.29
813 得到子序列的最少操作次数 - Minimum Operations to Make a Subsequence C++ Hard 2022.6.29
814 两数相除 - Divide Two Integers C++ Middle 2022.6.30
815 丑数 III - Ugly Number III C++ Middle 2022.6.30
816 最大相等频率 - Maximum Equal Frequency C++ Hard 2022.6.30
817 合并若干三元组以形成目标三元组 - Merge Triplets to Form Target Triplet C++ Middle 2022.7.1
818 可移除字符的最大数目 - Maximum Number of Removable Characters C++ Middle 2022.7.1
819 准时抵达会议现场的最小跳过休息次数 - Minimum Skips to Arrive at Meeting On Time C++ Hard 2022.7.1
820 从第一个节点出发到最后一个节点的受限路径数 - Number of Restricted Paths From First to Last Node C++ Middle 2022.7.1
821 构成特定和需要添加的最少元素 - Minimum Elements to Add to Form a Given Sum C++ Middle 2022.7.1
822 检查二进制字符串字段 - Check if Binary String Has at Most One Segment of Ones C++ Easy 2022.7.1
823 最低加油次数 - Minimum Number of Refueling Stops C++ Hard 2022.7.2
824 解密消息 - Decode the Message C++ Easy 2022.7.3
825 螺旋矩阵 IV - Spiral Matrix IV C++ Middle 2022.7.3
826 知道秘密的人数 - Number of People Aware of a Secret C++ Middle 2022.7.3
827 网格图中递增路径的数目 - Number of Increasing Paths in a Grid C++ Hard 2022.7.3
828 连续差相同的数字 - Numbers With Same Consecutive Differences C++ Middle 2022.7.4
829 反转链表 II - Reverse Linked List II C++ Middle 2022.7.4
830 两数之和 II - 输入有序数组 - Two Sum II - Input Array Is Sorted C++ Middle 2022.7.4
831 LRU 缓存 - LRU Cache C++ Middle 2022.7.4
832 轮转数组 - Rotate Array C++ Middle 2022.7.4
833 长度最小的子数组 - Minimum Size Subarray Sum C++ Middle 2022.7.4
834 不同路径 II - Unique Paths II C++ Middle 2022.7.4
835 删除排序链表中的重复元素 II - Remove Duplicates from Sorted List II C++ Middle 2022.7.4
836 二叉树的右视图 - Binary Tree Right Side View C++ Middle 2022.7.4
837 组合 - Combinations C++ Middle 2022.7.4
838 排列序列 - Permutation Sequence C++ Hard 2022.7.4
839 插入区间 - Insert Interval C++ Middle 2022.7.4
840 Pow(x, n) - Pow(x, n) C++ Middle 2022.7.4
841 简化路径 - Simplify Path C++ Middle 2022.7.6
842 矩阵置零 - Set Matrix Zeroes C++ Middle 2022.7.6
843 分隔链表 - Partition List C++ Middle 2022.7.6
844 子集 II - Subsets II C++ Middle 2022.7.6
845 复原 IP 地址 - Restore IP Addresses C++ Middle 2022.7.6
846 不同的二叉搜索树 II - Unique Binary Search Trees II C++ Middle 2022.7.6
847 找到小镇的法官 - Find the Town Judge C++ Easy 2022.7.6
848 可以被一步捕获的棋子数 - Available Captures for Rook C++ Easy 2022.7.6
849 最大二叉树 II - Maximum Binary Tree II C++ Middle 2022.7.6
850 腐烂的橘子 - Rotting Oranges C++ Middle 2022.7.6
851 K 连续位的最小翻转次数 - Minimum Number of K Consecutive Bit Flips C++ Hard 2022.7.6
852 正方形数组的数目 - Number of Squareful Arrays C++ Hard 2022.7.6
853 数组形式的整数加法 - Add to Array-Form of Integer C++ Easy 2022.7.6
854 等式方程的可满足性 - Satisfiability of Equality Equations C++ Middle 2022.7.6
855 坏了的计算器 - Broken Calculator C++ Middle 2022.7.6
856 K 个不同整数的子数组 - Subarrays with K Different Integers C++ Hard 2022.7.6
857 查找共用字符 - Find Common Characters C++ Easy 2022.7.6
858 检查替换后的词是否有效 - Check If Word Is Valid After Substitutions C++ Middle 2022.7.6
859 最大连续1的个数 III - Max Consecutive Ones III C++ Middle 2022.7.6
860 被围绕的区域 - Surrounded Regions C++ Middle 2022.7.7
861 拼写单词 - Find Words That Can Be Formed by Characters C++ Easy 2022.7.7
862 最大层内元素和 - Maximum Level Sum of a Binary Tree C++ Middle 2022.7.7
863 单词替换 - Replace Words C++ Middle 2022.7.7
864 按字典序排在最后的子串 - Last Substring in Lexicographical Order C++ Hard 2022.7.7
865 地图分析 - As Far from Land as Possible C++ Middle 2022.7.7
866 反转单词前缀 - Reverse Prefix of Word C++ Easy 2022.7.7
867 可互换矩形的组数 - Number of Pairs of Interchangeable Rectangles C++ Middle 2022.7.7
868 两个回文子序列长度的最大乘积 - Maximum Product of the Length of Two Palindromic Subsequences C++ Middle 2022.7.7
869 每棵子树内缺失的最小基因值 - Smallest Missing Genetic Value in Each Subtree C++ Hard 2022.7.7
870 K 进制表示下的各位数字总和 - Sum of Digits in Base K C++ Easy 2022.7.7
871 最高频元素的频数 - Frequency of the Most Frequent Element C++ Middle 2022.7.7
872 所有元音按顺序排布的最长子字符串 - Longest Substring Of All Vowels in Order C++ Middle 2022.7.7
873 zj-future01. 信号接收 C++ Easy 2022.7.8
874 zj-future02. 黑白棋游戏 C++ Middle 2022.7.8
875 zj-future03. 快递中转站选址 C++ Middle 2022.7.8
876 zj-future04. 门店商品调配 C++ Hard 2022.7.8
877 计算布尔二叉树的值 - Evaluate Boolean Binary Tree C++ Easy 2022.7.9
878 坐上公交的最晚时间 - The Latest Time to Catch a Bus C++ Middle 2022.7.9
879 最小差值平方和 - Minimum Sum of Squared Difference C++ Middle 2022.7.9
880 元素值大于变化阈值的子数组 - Subarray With Elements Greater Than Varying Threshold C++ Hard 2022.7.9
881 装满杯子需要的最短总时长 - Minimum Amount of Time to Fill Cups C++ Easy 2022.7.10
882 无限集中的最小数字 - Smallest Number in Infinite Set C++ Middle 2022.7.10
883 移动片段得到字符串 - Move Pieces to Obtain a String C++ Middle 2022.7.10
884 统计理想数组的数目 - Count the Number of Ideal Arrays C++ Hard 2022.7.10
885 能否连接形成数组 - Check Array Formation Through Concatenation C++ Easy 2022.7.12
886 统计字典序元音字符串的数目 - Count Sorted Vowel Strings C++ Middle 2022.7.12
887 可以到达的最远建筑 - Furthest Building You Can Reach C++ Middle 2022.7.12
888 第 K 条最小指令 - Kth Smallest Instructions C++ Hard 2022.7.12
889 使数组唯一的最小增量 - Minimum Increment to Make Array Unique C++ Middle 2022.7.14
890 验证栈序列 - Validate Stack Sequences C++ Middle 2022.7.14
891 移除最多的同行或同列石头 - Most Stones Removed with Same Row or Column C++ Middle 2022.7.14
892 令牌放置 - Bag of Tokens C++ Middle 2022.7.14
893 剑指 Offer II 041. 滑动窗口的平均值 C++ Easy 2022.7.16
894 RLE 迭代器 - RLE Iterator C++ Middle 2022.7.16
895 数组能形成多少数对 - Maximum Number of Pairs in Array C++ Easy 2022.7.17
896 数位和相等数对的最大和 - Max Sum of a Pair With Equal Sum of Digits C++ Middle 2022.7.17
897 裁剪数字后查询第 K 小的数字 - Query Kth Smallest Trimmed Number C++ Middle 2022.7.17
898 使数组可以被整除的最少删除次数 - Minimum Deletions to Make Array Divisible C++ Hard 2022.7.17
899 质数排列 - Prime Arrangements C++ Easy 2022.7.23
900 构建回文串检测 - Can Make Palindrome from Substring C++ Middle 2022.7.23
901 猜字谜 - Number of Valid Words for Each Puzzle C++ Hard 2022.7.23
902 最好的扑克手牌 - Best Poker Hand C++ Easy 2022.7.23
903 全 0 子数组的数目 - Number of Zero-Filled Subarrays C++ Middle 2022.7.23
904 设计数字容器系统 - Design a Number Container System C++ Middle 2022.7.23
905 不可能得到的最短骰子序列 - Shortest Impossible Sequence of Rolls C++ Hard 2022.7.23
906 第一个出现两次的字母 - First Letter to Appear Twice C++ Easy 2022.7.24
907 相等行列对 - Equal Row and Column Pairs C++ Middle 2022.7.24
908 设计食物评分系统 - Design a Food Rating System C++ Middle 2022.7.24
909 优质数对的数目 - Number of Excellent Pairs C++ Hard 2022.7.24
910 使数组中所有元素都等于零 - Make Array Zero by Subtracting Equal Amounts C++ Easy 2022.8.1
911 分组的最大数量 - Maximum Number of Groups Entering a Competition C++ Middle 2022.8.1
912 找到离给定两个节点最近的节点 - Find Closest Node to Given Two Nodes C++ Middle 2022.8.1
913 图中的最长环 - Longest Cycle in a Graph C++ Hard 2022.8.1
914 合并相似的物品 - Merge Similar Items C++ Easy 2022.8.6
915 统计坏数对的数目 - Count Number of Bad Pairs C++ Middle 2022.8.6
916 任务调度器 II - Task Scheduler II C++ Middle 2022.8.6
917 将数组排序的最少替换次数 - Minimum Replacements to Sort the Array C++ Middle 2022.8.6
918 算术三元组的数目 - Number of Arithmetic Triplets C++ Easy 2022.8.7
919 受限条件下可到达节点的数目 - Reachable Nodes With Restrictions C++ Middle 2022.8.7
920 检查数组是否存在有效划分 - Check if There is a Valid Partition For The Array C++ Middle 2022.8.7
921 最长理想子序列 - Longest Ideal Subsequence C++ Middle 2022.8.7
922 1. 最小展台数量 C++ Easy 2022.10.7
923 2. 装饰树 C++ Middle 2022.10.7
924 3. 美观的花束 C++ Middle 2022.10.7
925 5. 沙地治理 C++ Hard 2022.10.7
926 根据模式串构造最小数字 - 2375. Construct Smallest Number From DI String C++ Middle 2022.10.7
927 矩阵中的局部最大值 - Largest Local Values in a Matrix C++ Easy 2022.10.7
928 边积分最高的节点 - Node With Highest Edge Score C++ Middle 2022.10.7
929 处理用时最长的那个任务的员工 - The Employee That Worked on the Longest Task C++ Easy 2022.10.9
930 找出前缀异或的原始数组 - Find The Original Array of Prefix Xor C++ Middle 2022.10.9
931 使用机器人打印字典序最小的字符串 - Using a Robot to Print the Lexicographically Smallest String C++ Middle 2022.10.9
932 矩阵中和能被 K 整除的路径 - Paths in Matrix Whose Sum Is Divisible by K C++ Hard 2022.10.9
933 公因子的数目 - Number of Common Factors C++ Easy 2022.10.10
934 沙漏的最大总和 - Maximum Sum of an Hourglass C++ Middle 2022.10.10
935 最小 XOR - Minimize XOR C++ Middle 2022.10.10
936 对字母串可执行的最大删除数 - Maximum Deletions on a String C++ Hard 2022.10.10
937 使序列递增的最小交换次数 - Minimum Swaps To Make Sequences Increasing C++ Hard 2022.10.10
938 删除字符使频率相同 - Remove Letter To Equalize Frequency C++ Easy 2022.10.11
939 最长上传前缀 - Longest Uploaded Prefix C++ Middle 2022.10.11
940 所有数对的异或和 - Bitwise XOR of All Pairings C++ Middle 2022.10.11
941 题目-01 化学反应 C++ Easy 2022.10.12
942 按身高排序 - Sort the People C++ Easy 2022.10.12
943 按位与最大的最长子数组 - Longest Subarray With Maximum Bitwise AND C++ Middle 2022.10.12
944 找到所有好下标 - Find All Good Indices C++ Middle 2022.10.12
945 链表组件 - Linked List Components C++ Middle 2022.10.12
946 有效时间的数目 - Number of Valid Clock Times C++ Easy 2022.10.15
947 二的幂数组中查询范围内的乘积 - Range Product Queries of Powers C++ Middle 2022.10.15
948 最小化数组中的最大值 - Minimize Maximum of Array C++ Middle 2022.10.15
949 创建价值相同的连通块 - Create Components With Same Value C++ Hard 2022.10.15
950 与对应负数同时存在的最大正整数 - Largest Positive Integer That Exists With Its Negative C++ Easy 2022.10.16
951 反转之后不同整数的数目 - Count Number of Distinct Integers After Reverse Operations C++ Middle 2022.10.16
952 反转之后的数字和 - Sum of Number and Its Reverse C++ Middle 2022.10.16
953 统计定界子数组的数目 - Count Subarrays With Fixed Bounds C++ Hard 2022.10.16
954 最小偶倍数 - Smallest Even Multiple C++ Easy 2022.10.18
955 最长的字母序连续子字符串的长度 - Length of the Longest Alphabetical Continuous Substring C++ Middle 2022.10.18
956 反转二叉树的奇数层 - Reverse Odd Levels of Binary Tree C++ Middle 2022.10.18
957 字符串的前缀分数和 - Sum of Prefix Scores of Strings C++ Hard 2022.10.18
958 统计共同度过的日子数 - Count Days Spent Together C++ Easy 2022.10.19
959 运动员和训练师的最大匹配数 - Maximum Matching of Players With Trainers C++ Middle 2022.10.19
960 按位或最大的最小子数组长度 - Smallest Subarrays With Maximum Bitwise OR C++ Middle 2022.10.19
961 完成所有交易的初始最少钱数 - Minimum Money Required Before Transactions C++ Hard 2022.10.20
962 银联-1. 重构链表 C++ Easy 2022.10.20
963 银联-2. 勘探补给 C++ Middle 2022.10.20
964 银联-3. 风能发电 C++ Middle 2022.10.20
965 第K个语法符号 - K-th Symbol in Grammar C++ Middle 2022.10.20
966 判断两个事件是否存在冲突 - Determine if Two Events Have Conflict C++ Easy 2022.10.23
967 最大公因数等于 K 的子数组数目 - Number of Subarrays With GCD Equal to K C++ Middle 2022.10.23
968 使数组相等的最小开销 - Minimum Cost to Make Array Equal C++ Hard 2022.10.23
969 使数组相似的最少操作次数 - Minimum Number of Operations to Make Arrays Similar C++ Hard 2022.10.23
970 分割数组 - Partition Array into Disjoint Intervals C++ Middle 2022.10.24
971 出现最频繁的偶数元素 - Most Frequent Even Element C++ Easy 2022.10.24
972 子字符串的最优划分 - Optimal Partition of String C++ Middle 2022.10.24
973 将区间分为最少组数 - Divide Intervals Into Minimum Number of Groups C++ Middle 2022.10.24
974 检查相同字母间的距离 - Check Distances Between Same Letters C++ Easy 2022.10.26
975 恰好移动 k 步到达某一位置的方法数目 - Number of Ways to Reach a Position After Exactly k Steps C++ Middle 2022.10.26
976 最长优雅子数组 - Longest Nice Subarray C++ Middle 2022.10.26
977 严格回文的数字 - Strictly Palindromic Number C++ Middle 2022.10.27
978 被列覆盖的最多行数 - Maximum Rows Covered by Columns C++ Middle 2022.10.27
979 预算内的最多机器人数目 - Maximum Number of Robots Within Budget C++ Hard 2022.10.27
980 和相等的子数组 - Find Subarrays With Equal Sum C++ Easy 2022.10.27
981 和有限的最长子序列 - Longest Subsequence With Limited Sum C++ Easy 2022.10.28
982 从字符串中移除星号 - Removing Stars From a String C++ Middle 2022.10.28
983 收集垃圾的最少总时间 - Minimum Amount of Time to Collect Garbage C++ Middle 2022.10.28
984 九坤-01. 可以读通讯稿的组数 C++ Easy 2022.10.29
985 九坤-02. 池塘计数 C++ Middle 2022.10.29
986 九坤-03. 数字默契考验 C++ Middle 2022.10.29
987 差值数组不同的字符串 - Odd String Difference C++ Easy 2022.10.29
988 距离字典两次编辑以内的单词 - Words Within Two Edits of Dictionary C++ Middle 2022.10.29
989 摧毁一系列目标 - Destroy Sequential Targets C++ Middle 2022.10.30
990 下一个更大元素 IV - Next Greater Element IV C++ Hard 2022.10.30
991 字母大小写全排列 - Letter Case Permutation C++ Middle 2022.10.30
992 可被三整除的偶数的平均值 - Average Value of Even Numbers That Are Divisible by Three C++ Easy 2022.10.30
993 最流行的视频创作者 - Most Popular Video Creator C++ Middle 2022.10.30
994 最流行的视频创作者 - Most Popular Video Creator C++ Middle 2022.10.30
995 移除子树后的二叉树高度 - Height of Binary Tree After Subtree Removal Queries C++ Hard 2022.10.30
996 对数组执行操作 - Apply Operations to an Array C++ Easy 2022.11.6
997 长度为 K 子数组中的最大和 - Maximum Sum of Distinct Subarrays With Length K C++ Middle 2022.11.6
998 雇佣 K 位工人的总代价 - Total Cost to Hire K Workers C++ Middle 2022.11.6
999 最小移动总距离 - Minimum Total Distance Traveled C++ Hard 2022.11.6
1000 统计一致字符串的数目 - Count the Number of Consistent Strings C++ Easy 2022.11.8
1001 赢得比赛需要的最少训练时长 - Minimum Hours of Training to Win a Competition C++ Easy 2022.11.8
1002 最大回文数字 - Largest Palindromic Number C++ Middle 2022.11.8
1003 感染二叉树需要的总时间 - Amount of Time for Binary Tree to Be Infected C++ Middle 2022.11.8
1004 找出数组的第 K 大和 - Find the K-Sum of an Array C++ Hard 2022.11.8
1005 得到 K 个黑块的最少涂色次数 - Minimum Recolors to Get K Consecutive Black Blocks C++ Easy 2022.11.9
1006 二进制字符串重新安排顺序需要的时间 - Time Needed to Rearrange a Binary String C++ Middle 2022.11.9
1007 二进制字符串重新安排顺序需要的时间 - Time Needed to Rearrange a Binary String C++ Middle 2022.11.9
1008 删除操作后的最大子段和 - Maximum Segment Sum After Removals C++ Hard 2022.11.9
1009 最大加号标志 - Largest Plus Sign C++ Middle 2022.11.9
1010 好数对的数目 - Number of Good Pairs C++ Easy 2022.11.11
1011 设计有序流 - Design an Ordered Stream C++ Easy 2022.11.11
1012 判断字符串的两半是否相似 - Determine if String Halves Are Alike C++ Easy 2022.11.11
1013 不同的平均值数目 - Number of Distinct Averages C++ Easy 2022.11.13
1014 统计构造好字符串的方案数 - Count Ways To Build Good Strings C++ Middle 2022.11.13
1015 温度转换 - Convert the Temperature C++ Easy 2022.11.13
1016 最小公倍数为 K 的子数组数目 - Number of Subarrays With LCM Equal to K C++ Middle 2022.11.13
1017 逐层排序二叉树所需的最少操作数目 - Minimum Number of Operations to Sort a Binary Tree by Level C++ Middle 2022.11.13
1018 不重叠回文子字符串的最大数目 - Maximum Number of Non-overlapping Palindrome Substrings C++ Hard 2022.11.13
1019 统计相似字符串对的数目 - Count Pairs Of Similar Strings C++ Easy 2022.12.20
1020 使用质因数之和替换后可以取到的最小值 - Smallest Value After Replacing With Sum of Prime Factors C++ Middle 2022.12.20
1021 添加边使所有节点度数都为偶数 - Add Edges to Make Degrees of All Nodes Even C++ Hard 2022.12.20
1022 查询树中环的长度 - Cycle Length Queries in a Tree C++ Hard 2022.12.20
1023 删除每行中的最大值 - Delete Greatest Value in Each Row C++ Easy 2022.12.20
1024 数组中最长的方波 - Longest Square Streak in an Array C++ Middle 2022.12.20
1025 设计内存分配器 - Design Memory Allocator C++ Middle 2022.12.20
1026 数组中字符串的最大值 - Maximum Value of a String in an Array C++ Easy 2022.12.22
1027 图中最大星和 - Maximum Star Sum of a Graph C++ Middle 2022.12.22
1028 青蛙过河 II - Frog Jump II C++ Middle 2022.12.22
1029 最多可以摧毁的敌人城堡数目 - Maximum Enemy Forts That Can Be Captured C++ Easy 2022.12.25
1030 奖励最顶尖的 K 名学生 - Reward Top K Students C++ Middle 2022.12.25
1031 最小化两个数组中的最大值 - Minimize the Maximum of Two Arrays C++ Middle 2022.12.25
1032 统计同位异构字符串数目 - Count Anagrams C++ Hard 2022.12.25
1033 到目标字符串的最短距离 - Shortest Distance to Target String in a Circular Array C++ Easy 2022.12.25
1034 每种字符至少取 K 个 - Take K of Each Character From Left and Right C++ Middle 2022.12.25
1035 礼盒的最大甜蜜度 - Maximum Tastiness of Candy Basket C++ Middle 2022.12.25
1036 好分区的数目 - Number of Great Partitions C++ Hard 2022.12.25
1037 统计能整除数字的位数 - Count the Digits That Divide a Number C++ Easy 2023.1.2
1038 数组乘积中的不同质因数数目 - Distinct Prime Factors of Product of Array C++ Middle 2023.1.2
1039 将字符串分割成值不超过 K 的子字符串 - Partition String Into Substrings With Values at Most K C++ Middle 2023.1.2
1040 范围内最接近的两个质数 - Closest Prime Numbers in Range C++ Middle 2023.1.2
1041 根据规则将箱子分类 - Categorize Box According to Criteria C++ Easy 2023.1.7
1042 找到数据流中的连续整数 - Find Consecutive Integers from a Data Stream C++ Middle 2023.1.7
1043 查询数组 Xor 美丽值 - Find Xor-Beauty of Array C++ Middle 2023.1.7
1044 最大化城市的最小供电站数目 - Maximize the Minimum Powered City C++ Hard 2023.1.7