优繆落 youmoula

youmoula:

  • 优繆落 keto
  • 优繆落 书籍出版社

题库:

  • 748. Shortest Completing Word
  • 19. 删除链表的倒数第 N 个结点
  • 面试题 03.04. 化栈为队
  • 2599. Make the Prefix Sum Non-negative 🔒
  • 359. Logger Rate Limiter 🔒
  • 2459. 通过移动项目到空白区域来排序数组 🔒
  • 780. Reaching Points
  • 1633. 各赛事的用户注册率
  • 3066. 超过阈值的最少操作数 II
  • 1584. Min Cost to Connect All Points
  • 2781. Length of the Longest Valid Substring
  • 1136. 并行课程 🔒
  • 2051. 商店中每个成员的级别 🔒
  • 2467. Most Profitable Path in a Tree
  • 208. 实现 Trie (前缀树)
  • 108. Convert Sorted Array to Binary Search Tree
  • 2378. Choose Edges to Maximize Score in a Tree 🔒
  • 706. Design HashMap
  • 2807. Insert Greatest Common Divisors in Linked List
  • 3072. Distribute Elements Into Two Arrays II
  • 916. 单词子集
  • 剑指 Offer II 078. 合并排序链表
  • 417. Pacific Atlantic Water Flow
  • 3207. Maximum Points After Enemy Battles
  • 2207. Maximize Number of Subsequences in a String
  • 2099. Find Subsequence of Length K With the Largest Sum
  • 472. 连接词
  • 1132. 报告的记录 II 🔒
  • 2908. 元素和最小的山形三元组 I
  • 350. 两个数组的交集 II
  • 2454. 下一个更大元素 IV
  • 1388. 3n 块披萨
  • 2758. Next Day 🔒
  • 3142. 判断矩阵是否满足条件
  • 543. Diameter of Binary Tree
  • 2935. Maximum Strong Pair XOR II
  • 1557. Minimum Number of Vertices to Reach All Nodes
  • 2537. 统计好子数组的数目
  • 剑指 Offer II 056. 二叉搜索树中两个节点之和
  • 2678. 老人的数目
  • 3459. 最长 V 形对角线段的长度
  • 1928. 规定时间内到达终点的最小花费
  • 1334. 阈值距离内邻居最少的城市
  • 1886. Determine Whether Matrix Can Be Obtained By Rotation
  • 1451. 重新排列句子中的单词
  • 3195. Find the Minimum Area to Cover All Ones I
  • 3266. K 次乘运算后的最终数组 II
  • 1469. Find All The Lonely Nodes 🔒
  • 761. 特殊的二进制序列
  • 1981. 最小化目标值与所选元素的差
  • 2884. 修改列
  • 1594. 矩阵的最大非负积
  • 1333. Filter Restaurants by Vegan-Friendly, Price and Distance
  • 2402. 会议室 III
  • 1433. Check If a String Can Break Another String
  • 1249. 移除无效的括号
  • 756. 金字塔转换矩阵
  • 163. 缺失的区间 🔒
  • 24. 两两交换链表中的节点
  • 1816. Truncate Sentence
  • 2152. Minimum Number of Lines to Cover Points 🔒
  • 04.12. Paths with Sum
  • 1631. Path With Minimum Effort
  • 884. 两句话中的不常见单词
  • 3371. Identify the Largest Outlier in an Array
  • 3516. 找到最近的人
  • 17.14. Smallest K
  • 745. 前缀和后缀搜索
  • 2070. Most Beautiful Item for Each Query
  • 2053. Kth Distinct String in an Array
  • 3190. 使所有元素都可以被 3 整除的最少操作数
  • 1434. 每个人戴不同帽子的方案数
  • 929. 独特的电子邮件地址
  • 1773. Count Items Matching a Rule
  • 2855. 使数组成为递增数组的最少右移次数
  • 1156. 单字符重复子串的最大长度
  • 2836. Maximize Value of Function in a Ball Passing Game
  • 342. 4的幂
  • 3388. Count Beautiful Splits in an Array
  • 1576. 替换所有的问号
  • 2878. Get the Size of a DataFrame
  • 2481. Minimum Cuts to Divide a Circle
  • 2452. Words Within Two Edits of Dictionary
  • 面试题 17.17. 多次搜索
  • 3241. Time Taken to Mark All Nodes
  • 1493. 删掉一个元素以后全为 1 的最长子数组
  • 1256. Encode Number 🔒
  • 2545. 根据第 K 场考试的分数排序
  • 2891. Method Chaining
  • 938. 二叉搜索树的范围和
  • 1230. Toss Strange Coins 🔒
  • 593. Valid Square
  • 2255. Count Prefixes of a Given String
  • 390. Elimination Game
  • 261. Graph Valid Tree 🔒
  • 1568. Minimum Number of Days to Disconnect Island
  • 2641. 二叉树的堂兄弟节点 II
  • 953. 验证外星语词典
  • 1929. Concatenation of Array
  • 2656. K 个元素的最大和
  • 2661. First Completely Painted Row or Column
  • 3381. 长度可被 K 整除的子数组的最大元素和
  • 920. Number of Music Playlists
  • 100. 相同的树
  • 298. 二叉树最长连续序列 🔒
  • 3165. Maximum Sum of Subsequence With Non-adjacent Elements
  • 45. 跳跃游戏 II
  • 剑指 Offer II 113. 课程顺序
  • 3490. 统计美丽整数的数目
  • 61. Rotate List
  • 1707. 与数组中元素的最大异或值
  • 542. 01 矩阵
  • 2555. Maximize Win From Two Segments
  • 面试题 31. 栈的压入、弹出序列
  • 1254. 统计封闭岛屿的数目
  • 2388. Change Null Values in a Table to the Previous Value 🔒
  • 3550. 数位和等于下标的最小下标
  • 3131. Find the Integer Added to Array I
  • 859. Buddy Strings
  • 2529. 正整数和负整数的最大计数
  • 2668. 查询员工当前薪水 🔒
  • 3307. 找出第 K 个字符 II
  • 1160. 拼写单词
  • 2383. 赢得比赛需要的最少训练时长
  • 1501. Countries You Can Safely Invest In 🔒
  • 1013. 将数组分成和相等的三个部分
  • 933. Number of Recent Calls
  • 3232. Find if Digit Game Can Be Won
  • 242. Valid Anagram
  • 面试题 17.05. 字母与数字
  • 105. Construct Binary Tree from Preorder and Inorder Traversal
  • 763. 划分字母区间
  • 533. 孤独像素 II 🔒
  • 1713. Minimum Operations to Make a Subsequence
  • 246. Strobogrammatic Number 🔒
  • 2112. 最繁忙的机场 🔒
  • 2042. Check if Numbers Are Ascending in a Sentence
  • 3190. Find Minimum Operations to Make All Elements Divisible by Three
  • 228. 汇总区间
  • Coding Interviews, 2nd Edition
  • 1735. Count Ways to Make Array With Product
  • LCP 65. 舒适的湿度
  • 3427. Sum of Variable Length Subarrays
  • 1510. Stone Game IV
  • 3129. Find All Possible Stable Binary Arrays I
  • 75. 颜色分类
  • 1158. Market Analysis I
  • 593. 有效的正方形
  • 1048. 最长字符串链
  • 1544. Make The String Great
  • 2432. 处理用时最长的那个任务的员工
  • 344. Reverse String
  • 3199. 用偶数异或设置位计数三元组 I 🔒
  • 2159. 分别排序两列 🔒
  • 682. Baseball Game
  • 面试题 18. 删除链表的节点
  • 1829. Maximum XOR for Each Query
  • 981. Time Based Key-Value Store
  • 1221. Split a String in Balanced Strings
  • 2111. Minimum Operations to Make the Array K-Increasing
  • 3329. 字符至少出现 K 次的子字符串 II 🔒
  • 2790. Maximum Number of Groups With Increasing Length
  • 1395. 统计作战单位数
  • 2557. 从一个范围内选择最多整数 II 🔒
  • 3470. 全排列 IV
  • 2002. Maximum Product of the Length of Two Palindromic Subsequences
  • 2942. Find Words Containing Character
  • 2553. 分割数组中数字的数位
  • 227. 基本计算器 II
  • 2413. Smallest Even Multiple
  • 3505. Minimum Operations to Make Elements Within K Subarrays Equal
  • 905. 按奇偶排序数组
  • 3333. 找到初始输入字符串 II
  • 1174. 即时食物配送 II
  • 3356. Zero Array Transformation II
  • 630. Course Schedule III
  • 2223. Sum of Scores of Built Strings
  • 872. Leaf-Similar Trees
  • LeetCode
  • 1403. Minimum Subsequence in Non-Increasing Order
  • 999. 可以被一步捕获的棋子数
  • 08.05. Recursive Mulitply
  • 08.04. Power Set
  • 42. 接雨水
  • 2833. Furthest Point From Origin
  • 1189. “气球” 的最大数量
  • 1559. Detect Cycles in 2D Grid
  • 1850. 邻位交换的最小次数
  • 1883. Minimum Skips to Arrive at Meeting On Time
  • 数据库专项练习
  • 2476. Closest Nodes Queries in a Binary Search Tree
  • 1524. 和为奇数的子数组数目
  • 3015. 按距离统计房屋对数目 I
  • 1593. Split a String Into the Max Number of Unique Substrings
  • 3509. Maximum Product of Subsequences With an Alternating Sum Equal to K
  • 372. 超级次方
  • 1561. 你可以获得的最大硬币数目
  • 1761. Minimum Degree of a Connected Trio in a Graph
  • 106. 从中序与后序遍历序列构造二叉树
  • 3229. 使数组等于目标数组所需的最少操作次数
  • 979. 在二叉树中分配硬币
  • 2230. 查找可享受优惠的用户 🔒
  • 1310. XOR Queries of a Subarray
  • 3110. 字符串的分数
  • 2343. 裁剪数字后查询第 K 小的数字
  • 658. Find K Closest Elements
  • 3238. 求出胜利玩家的数目
  • 1016. 子串能表示从 1 到 N 数字的二进制串
  • 3002. 移除后集合的最多元素数
  • 1547. 切棍子的最小成本
  • 2591. 将钱分给最多的儿童
  • LCP 42. 玩具套圈
  • 2439. Minimize Maximum of Array
  • 944. 删列造序
  • 2185. 统计包含给定前缀的字符串
  • 580. Count Student Number in Departments 🔒
  • 1608. 特殊数组的特征值
  • 2276. 统计区间中的整数数目
  • 3115. 质数的最大距离
  • 2752. 在连续天数上进行了最多交易次数的顾客 🔒
  • 123. 买卖股票的最佳时机 III
  • 2153. The Number of Passengers in Each Bus II 🔒
  • 1889. Minimum Space Wasted From Packaging
  • 684. 冗余连接
  • 82. Remove Duplicates from Sorted List II
  • 2699. 修改图中的边权
  • 1450. Number of Students Doing Homework at a Given Time
  • 67. Add Binary
  • 1444. Number of Ways of Cutting a Pizza
  • 1639. 通过给定词典构造目标字符串的方案数
  • 3452. 好数字之和
  • 3234. Count the Number of Substrings With Dominant Ones
  • 874. 模拟行走机器人
  • 2957. 消除相邻近似相等字符
  • 1211. Queries Quality and Percentage
  • 2600. K Items With the Maximum Sum
  • 883. Projection Area of 3D Shapes
  • 433. Minimum Genetic Mutation
  • 2847. 给定数字乘积的最小数字 🔒
  • 124. 二叉树中的最大路径和
  • 面试题 10.03. 搜索旋转数组
  • 988. 从叶结点开始的最小字符串
  • 1751. Maximum Number of Events That Can Be Attended II
  • 2874. Maximum Value of an Ordered Triplet II
  • 1061. Lexicographically Smallest Equivalent String
  • 108. 将有序数组转换为二叉搜索树
  • 33. 搜索旋转排序数组
  • 2938. 区分黑球与白球
  • 3285. Find Indices of Stable Mountains
  • 630. 课程表 III
  • 1740. Find Distance in a Binary Tree 🔒
  • 1586. Binary Search Tree Iterator II 🔒
  • 670. Maximum Swap
  • 1909. Remove One Element to Make the Array Strictly Increasing
  • 2399. 检查相同字母间的距离
  • 587. Erect the Fence
  • 2213. Longest Substring of One Repeating Character
  • 830. Positions of Large Groups
  • 1572. Matrix Diagonal Sum
  • 1843. Suspicious Bank Accounts 🔒
  • 1660. 纠正二叉树 🔒
  • 2395. 和相等的子数组
  • 1927. Sum Game
  • 230. Kth Smallest Element in a BST
  • LCP 45. 自行车炫技赛场
  • 1442. Count Triplets That Can Form Two Arrays of Equal XOR
  • 1467. 两个盒子中球的颜色数相同的概率
  • 3395. 唯一中间众数子序列 I
  • LCS 02. 完成一半题目
  • 2912. Number of Ways to Reach Destination in the Grid 🔒
  • 1403. 非递增顺序的最小子序列
  • 1856. Maximum Subarray Min-Product
  • 2037. Minimum Number of Moves to Seat Everyone
  • 653. Two Sum IV - Input is a BST
  • 605. Can Place Flowers
  • 剑指 Offer II 020. 回文子字符串的个数
  • 2055. Plates Between Candles
  • 剑指 Offer II 014. 字符串中的变位词
  • 1637. 两点之间不包含任何点的最宽垂直区域
  • 面试题 16.16. 部分排序
  • 面试题 52. 两个链表的第一个公共节点
  • 996. 平方数组的数目
  • 477. 汉明距离总和
  • 3350. 检测相邻递增子数组 II
  • 199. 二叉树的右视图
  • 379. Design Phone Directory 🔒
  • 1080. 根到叶路径上的不足节点
  • 1499. Max Value of Equation
  • 2178. 拆分成最多数目的正偶数之和
  • 2549. Count Distinct Numbers on Board
  • 2480. 形成化学键 🔒
  • 2269. Find the K-Beauty of a Number
  • 3539. Find Sum of Array Product of Magical Sequences
  • 3271. 哈希分割字符串
  • 2193. Minimum Number of Moves to Make Palindrome
  • 1224. 最大相等频率
  • 1719. Number Of Ways To Reconstruct A Tree
  • 621. 任务调度器
  • 3338. 第二高的薪水 II 🔒
  • 1179. 重新格式化部门表
  • 2674. 拆分循环链表 🔒
  • 3477. Fruits Into Baskets II
  • 345. Reverse Vowels of a String
  • 1105. 填充书架
  • 1225. Report Contiguous Dates 🔒
  • 776. 拆分二叉搜索树 🔒
  • 1287. Element Appearing More Than 25% In Sorted Array
  • 1660. Correct a Binary Tree 🔒
  • 416. Partition Equal Subset Sum
  • 2730. Find the Longest Semi-Repetitive Substring
  • 1720. Decode XORed Array
  • 2361. 乘坐火车路线的最少费用 🔒
  • 150. 逆波兰表达式求值
  • 面试题 16.06. 最小差
  • 1541. 平衡括号字符串的最少插入次数
  • 511. 游戏玩法分析 I
  • 3345. Smallest Divisible Digit Product I
  • 3543. Maximum Weighted K-Edge Path
  • 2126. Destroying Asteroids
  • 2774. Array Upper Bound 🔒
  • 2192. All Ancestors of a Node in a Directed Acyclic Graph
  • 3491. Phone Number Prefix 🔒
  • 2566. Maximum Difference by Remapping a Digit
  • 3114. Latest Time You Can Obtain After Replacing Characters
  • 980. Unique Paths III
  • 25. Reverse Nodes in k-Group
  • 1008. 前序遍历构造二叉搜索树
  • 2426. 满足不等式的数对数目
  • 2610. 转换二维数组
  • 3101. Count Alternating Subarrays
  • 2117. 一个区间内所有数乘积的缩写
  • 481. Magical String
  • 2132. Stamping the Grid
  • 3216. Lexicographically Smallest String After a Swap
  • 2081. k 镜像数字的和
  • 2332. The Latest Time to Catch a Bus
  • 449. 序列化和反序列化二叉搜索树
  • 2518. Number of Great Partitions
  • 261. 以图判树 🔒
  • 3374. 首字母大写 II
  • 3321. Find X-Sum of All K-Long Subarrays II
  • 3543. K 条边路径的最大边权和
  • 1003. 检查替换后的词是否有效
  • 465. 最优账单平衡 🔒
  • 371. 两整数之和
  • 1306. 跳跃游戏 III
  • 2179. Count Good Triplets in an Array
  • 3117. 划分数组得到最小的值之和
  • 1063. 有效子数组的数目 🔒
  • 1839. Longest Substring Of All Vowels in Order
  • 29. 两数相除
  • 2999. Count the Number of Powerful Integers
  • 488. 祖玛游戏
  • LCP 37. 最小矩形面积
  • 974. Subarray Sums Divisible by K
  • 476. Number Complement
  • 1702. 修改后的最大二进制字符串
  • 3494. 酿造药水需要的最少总时间
  • 2947. 统计美丽子字符串 I
  • 1753. Maximum Score From Removing Stones
  • 1102. 得分最高的路径 🔒
  • 2720. 受欢迎度百分比 🔒
  • 面试题 17.14. 最小 K 个数
  • 1734. 解码异或后的排列
  • 183. 从不订购的客户
  • 581. Shortest Unsorted Continuous Subarray
  • 2749. 得到整数零需要执行的最少操作数
  • 2076. 处理含限制条件的好友请求
  • 3471. Find the Largest Almost Missing Integer
  • 1877. Minimize Maximum Pair Sum in Array
  • 面试题 42. 连续子数组的最大和
  • 294. 翻转游戏 II 🔒
  • 2047. Number of Valid Words in a Sentence
  • 3083. 字符串及其反转中是否存在同一子字符串
  • 2531. Make Number of Distinct Characters Equal
  • 2370. 最长理想子序列
  • 3483. Unique 3-Digit Even Numbers
  • 3260. 找出最大的 N 位 K 回文数
  • 149. Max Points on a Line
  • 2864. Maximum Odd Binary Number
  • 447. Number of Boomerangs
  • 965. Univalued Binary Tree
  • 3404. 统计特殊子序列的数目
  • 777. 在 LR 字符串中交换相邻字符
  • 1483. 树节点的第 K 个祖先
  • 剑指 Offer II 112. 最长递增路径
  • 2265. Count Nodes Equal to Average of Subtree
  • 1902. 给定二叉搜索树的插入顺序求深度 🔒
  • 1282. Group the People Given the Group Size They Belong To
  • 3534. 针对图的路径存在性查询 II
  • 601. Human Traffic of Stadium
  • 10.03. Search Rotate Array
  • 820. Short Encoding of Words
  • 726. Number of Atoms
  • 1068. Product Sales Analysis I
  • 2618. Check if Object Instance of Class
  • 3532. 针对图的路径存在性查询 I
  • 170. 两数之和 III - 数据结构设计 🔒
  • 2190. Most Frequent Number Following Key In an Array
  • 345. 反转字符串中的元音字母
  • 2280. Minimum Lines to Represent a Line Chart
  • 2218. Maximum Value of K Coins From Piles
  • 3326. 使数组非递减的最少除法操作次数
  • 176. 第二高的薪水
  • 2897. 对数组执行操作使平方和最大
  • 1503. Last Moment Before All Ants Fall Out of a Plank
  • 802. 找到最终的安全状态
  • 剑指 Offer II 088. 爬楼梯的最少成本
  • 851. 喧闹和富有
  • 2173. Longest Winning Streak 🔒
  • 05.08. Draw Line
  • 789. Escape The Ghosts
  • 1369. Get the Second Most Recent Activity 🔒
  • 1574. Shortest Subarray to be Removed to Make Array Sorted
  • 719. Find K-th Smallest Pair Distance
  • 987. Vertical Order Traversal of a Binary Tree
  • 3349. Adjacent Increasing Subarrays Detection I
  • 605. 种花问题
  • 2868. The Wording Game 🔒
  • 174. Dungeon Game
  • 1032. 字符流
  • 782. 变为棋盘
  • 3214. 同比增长率 🔒
  • 269. 火星词典 🔒
  • 1173. Immediate Food Delivery I 🔒
  • 1172. 餐盘栈
  • 1603. Design Parking System
  • 1746. Maximum Subarray Sum After One Operation 🔒
  • 1433. 检查一个字符串是否可以打破另一个字符串
  • 53. Maximum Subarray
  • 2405. 子字符串的最优划分
  • 1161. 最大层内元素和
  • 1426. Counting Elements 🔒
  • 1088. Confusing Number II 🔒
  • 426. 将二叉搜索树转化为排序的双向链表 🔒
  • 17.13. Re-Space
  • 1549. The Most Recent Orders for Each Product 🔒
  • 102. Binary Tree Level Order Traversal
  • 1472. 设计浏览器历史记录
  • 1191. K-Concatenation Maximum Sum
  • 1490. Clone N-ary Tree 🔒
  • 1987. Number of Unique Good Subsequences
  • 1693. Daily Leads and Partners
  • 496. Next Greater Element I
  • 3344. Maximum Sized Array 🔒
  • 2850. Minimum Moves to Spread Stones Over Grid
  • 1833. Maximum Ice Cream Bars
  • 1921. Eliminate Maximum Number of Monsters
  • 2065. 最大化一张图中的路径价值
  • 1552. Magnetic Force Between Two Balls
  • 2932. Maximum Strong Pair XOR I
  • 626. Exchange Seats
  • 剑指 Offer II 041. 滑动窗口的平均值
  • 3033. Modify the Matrix
  • 2735. 收集巧克力
  • 28. 找出字符串中第一个匹配项的下标
  • 2441. Largest Positive Integer That Exists With Its Negative
  • 3387. Maximize Amount After Two Days of Conversions
  • 2423. 删除字符使频率相同
  • 2595. 奇偶位数
  • 2433. Find The Original Array of Prefix Xor
  • 2452. 距离字典两次编辑以内的单词
  • 2729. 判断一个数是否迷人
  • 1985. 找出数组中的第 K 大整数
  • 1165. 单行键盘 🔒
  • 2832. 每个元素为最大值的最大范围 🔒
  • 590. N 叉树的后序遍历
  • 2586. Count the Number of Vowel Strings in Range
  • 1056. 易混淆数 🔒
  • 2145. 统计隐藏数组数目
  • 2562. Find the Array Concatenation Value
  • 2218. 从栈中取出 K 个硬币的最大面值和
  • 1582. 二进制矩阵中的特殊位置
  • 2711. Difference of Number of Distinct Values on Diagonals
  • 513. Find Bottom Left Tree Value
  • 426. Convert Binary Search Tree to Sorted Doubly Linked List 🔒
  • 3318. 计算子数组的 x-sum I
  • 1000. 合并石头的最低成本
  • 816. 模糊坐标
  • 2687. Bikes Last Time Used 🔒
  • 836. 矩形重叠
  • 1867. Orders With Maximum Quantity Above Average 🔒
  • 1262. 可被三整除的最大和
  • 1867. 最大数量高于平均水平的订单 🔒
  • 799. Champagne Tower
  • 817. Linked List Components
  • 544. 输出比赛匹配对 🔒
  • 2796. 重复字符串 🔒
  • 1231. Divide Chocolate 🔒
  • 1453. 圆形靶内的最大飞镖数量
  • 02.03. Delete Middle Node
  • 2087. Minimum Cost Homecoming of a Robot in a Grid
  • 17.09. Get Kth Magic Number
  • 2873. 有序三元组中的最大值 I
  • 2015. Average Height of Buildings in Each Segment 🔒
  • 23. Merge k Sorted Lists
  • 1725. 可以形成最大正方形的矩形数目
  • 3547. Maximum Sum of Edge Values in a Graph
  • 3159. Find Occurrences of an Element in an Array
  • 2056. 棋盘上有效移动组合的数目
  • 2096. Step-By-Step Directions From a Binary Tree Node to Another
  • 2419. Longest Subarray With Maximum Bitwise AND
  • 3100. Water Bottles II
  • 655. Print Binary Tree
  • 420. 强密码检验器
  • 2604. Minimum Time to Eat All Grains 🔒
  • 3262. Find Overlapping Shifts 🔒
  • 1218. 最长定差子序列
  • 2400. 恰好移动 k 步到达某一位置的方法数目
  • 978. 最长湍流子数组
  • 面试题 01.05. 一次编辑
  • 1479. 周内每天的销售情况 🔒
  • 3167. 字符串的更好压缩 🔒
  • 3105. Longest Strictly Increasing or Strictly Decreasing Subarray
  • 82. 删除排序链表中的重复元素 II
  • 309. Best Time to Buy and Sell Stock with Cooldown
  • 2162. Minimum Cost to Set Cooking Time
  • 1834. Single-Threaded CPU
  • 3486. Longest Special Path II
  • 2356. Number of Unique Subjects Taught by Each Teacher
  • 3199. Count Triplets with Even XOR Set Bits I 🔒
  • 2197. 替换数组中的非互质数
  • 1904. The Number of Full Rounds You Have Played
  • 565. Array Nesting
  • 1245. 树的直径 🔒
  • 164. Maximum Gap
  • 1822. Sign of the Product of an Array
  • 144. 二叉树的前序遍历
  • 3515. Shortest Path in a Weighted Tree
  • 2641. Cousins in Binary Tree II
  • 1259. 不相交的握手 🔒
  • 3391. Design a 3D Binary Matrix with Efficient Layer Tracking 🔒
  • 1710. 卡车上的最大单元数
  • 3238. Find the Number of Winning Players
  • 2917. 找出数组中的 K-or 值
  • 2053. 数组中第 K 个独一无二的字符串
  • 2062. 统计字符串中的元音子字符串
  • 863. 二叉树中所有距离为 K 的结点
  • 280. Wiggle Sort 🔒
  • 2336. 无限集中的最小数字
  • 2229. 检查数组是否连贯 🔒
  • 1774. 最接近目标价格的甜点成本
  • 17.06. Number Of 2s In Range
  • 2662. Minimum Cost of a Path With Special Roads
  • 1647. Minimum Deletions to Make Character Frequencies Unique
  • 151. Reverse Words in a String
  • 2304. 网格中的最小路径代价
  • 3294. Convert Doubly Linked List to Array II 🔒
  • 1361. Validate Binary Tree Nodes
  • 1901. Find a Peak Element II
  • 439. Ternary Expression Parser 🔒
  • 1860. 增长的内存泄露
  • 878. Nth Magical Number
  • 3129. 找出所有稳定的二进制数组 I
  • 2214. 通关游戏所需的最低生命值 🔒
  • 3474. 字典序最小的生成字符串
  • 1308. 不同性别每日分数总计 🔒
  • 2916. 子数组不同元素数目的平方和 II
  • 3305. Count of Substrings Containing Every Vowel and K Consonants I
  • 946. Validate Stack Sequences
  • 3401. 寻找环形礼物交换链 🔒
  • 222. 完全二叉树的节点个数
  • 3522. Calculate Score After Performing Instructions
  • 2275. 按位与结果大于零的最长组合
  • 15. 三数之和
  • 2564. Substring XOR Queries
  • 323. 无向图中连通分量的数目 🔒
  • 339. Nested List Weight Sum 🔒
  • 2711. 对角线上不同值的数量差
  • 539. 最小时间差
  • 面试题 30. 包含 min 函数的栈
  • 831. Masking Personal Information
  • 643. 子数组最大平均数 I
  • 1298. Maximum Candies You Can Get from Boxes
  • 2335. Minimum Amount of Time to Fill Cups
  • 351. Android Unlock Patterns 🔒
  • 1733. 需要教语言的最少人数
  • 2956. 找到两个数组中的公共元素
  • 1577. 数的平方等于两数乘积的方法数
  • 3222. 求出硬币游戏的赢家
  • 3225. Maximum Score From Grid Operations
  • 2502. 设计内存分配器
  • 2059. 转化数字的最小运算数
  • 2424. Longest Uploaded Prefix
  • 3314. 构造最小位运算数组 I
  • 2103. 环和杆
  • 925. 长按键入
  • 1501. 可以放心投资的国家 🔒
  • 2716. Minimize String Length
  • 3176. 求出最长好子序列 I
  • 1662. Check If Two String Arrays are Equivalent
  • 3499. 操作后最大活跃区段数 I
  • 218. 天际线问题
  • 1574. 删除最短的子数组使剩余数组有序
  • 2404. 出现最频繁的偶数元素
  • 3311. 构造符合图结构的二维矩阵
  • 1543. 产品名称格式修复 🔒
  • 2896. 执行操作使两个字符串相等
  • 1554. Strings Differ by One Character 🔒
  • 1212. 查询球队积分 🔒
  • 2151. 基于陈述统计最多好人数
  • 1905. 统计子岛屿
  • 02.08. Linked List Cycle
  • 1478. Allocate Mailboxes
  • 919. Complete Binary Tree Inserter
  • 662. Maximum Width of Binary Tree
  • 60. 排列序列
  • 268. Missing Number
  • 515. Find Largest Value in Each Tree Row
  • 302. 包含全部黑色像素的最小矩形 🔒
  • 2100. Find Good Days to Rob the Bank
  • 3023. 在无限流中寻找模式 I 🔒
  • 1507. 转变日期格式
  • 3292. 形成目标字符串需要的最少字符串数 II
  • 1544. 整理字符串
  • 2073. 买票需要的时间
  • 面试题 40. 最小的 k 个数
  • 2409. 统计共同度过的日子数
  • 1837. Sum of Digits in Base K
  • 2588. 统计美丽子数组数目
  • 722. 删除注释
  • 1827. 最少操作使数组递增
  • 3039. 进行操作使字符串为空
  • 3247. Number of Subsequences with Odd Sum 🔒
  • 2362. 生成发票 🔒
  • 1113. Reported Posts 🔒
  • 549. 二叉树最长连续序列 II 🔒
  • 1630. Arithmetic Subarrays
  • 1838. 最高频元素的频数
  • 2241. 设计一个 ATM 机器
  • 490. The Maze 🔒
  • 3476. Maximize Profit from Task Assignment 🔒
  • 2472. Maximum Number of Non-overlapping Palindrome Substrings
  • 2093. Minimum Cost to Reach City With Discounts 🔒
  • 1935. 可以输入的最大单词数
  • 1947. Maximum Compatibility Score Sum
  • 791. 自定义字符串排序
  • 2853. Highest Salaries Difference 🔒
  • 2555. 两个线段获得的最多奖品
  • 3059. 找到所有不同的邮件域名 🔒
  • 2720. Popularity Percentage 🔒
  • 2347. 最好的扑克手牌
  • 1033. 移动石子直到连续
  • 1982. 从子集的和还原数组
  • 484. 寻找排列 🔒
  • 2172. Maximum AND Sum of Array
  • 17.25. Word Rectangle
  • 631. 设计 Excel 求和公式 🔒
  • 2090. 半径为 k 的子数组平均值
  • 2708. Maximum Strength of a Group
  • 2662. 前往目标的最小代价
  • 2667. 创建 Hello World 函数
  • 703. 数据流中的第 K 大元素
  • 2184. 建造坚实的砖墙的方法数 🔒
  • 2418. Sort the People
  • 2491. Divide Players Into Teams of Equal Skill
  • 1007. Minimum Domino Rotations For Equal Row
  • 3540. Minimum Time to Visit All Houses 🔒
  • 2888. Reshape Data Concatenate
  • 2055. 蜡烛之间的盘子
  • 16.02. Words Frequency
  • 3095. Shortest Subarray With OR at Least K I
  • 3411. Maximum Subarray With Equal Products
  • 3518. 最小回文排列 II
  • 2958. 最多 K 个重复元素的最长子数组
  • 1943. 描述绘画结果
  • 351. 安卓系统手势解锁 🔒
  • 3268. Find Overlapping Shifts II 🔒
  • 2121. Intervals Between Identical Elements
  • 889. 根据前序和后序遍历构造二叉树
  • 539. Minimum Time Difference
  • 1623. 三人国家代表队 🔒
  • 1599. 经营摩天轮的最大利润
  • LCP 33. 蓄水
  • 2214. Minimum Health to Beat Game 🔒
  • 2060. Check if an Original String Exists Given Two Encoded Strings
  • 225. Implement Stack using Queues
  • 2978. 对称坐标 🔒
  • 1045. 买下所有产品的客户
  • 2882. Drop Duplicate Rows
  • 2140. Solving Questions With Brainpower
  • 960. 删列造序 III
  • 3084. Count Substrings Starting and Ending with Given Character
  • 2107. Number of Unique Flavors After Sharing K Candies 🔒
  • 1539. 第 k 个缺失的正整数
  • 1054. 距离相等的条形码
  • 3297. 统计重新排列后包含另一个字符串的子字符串数目 I
  • 393. UTF-8 Validation
  • 499. 迷宫 III 🔒
  • 1196. 最多可以买到的苹果数量 🔒
  • 1247. 交换字符使得字符串相同
  • 617. Merge Two Binary Trees
  • 2266. 统计打字方案数
  • 897. Increasing Order Search Tree
  • 2183. Count Array Pairs Divisible by K
  • 372. Super Pow
  • 796. 旋转字符串
  • 2982. Find Longest Special Substring That Occurs Thrice II
  • 1558. 得到目标数组的最少函数调用次数
  • 148. 排序链表
  • 2958. Length of Longest Subarray With at Most K Frequency
  • 1134. Armstrong Number 🔒
  • 1606. 找到处理最多请求的服务器
  • 2333. Minimum Sum of Squared Difference
  • 2585. Number of Ways to Earn Points
  • LCP 79. 提取咒文
  • 936. Stamping The Sequence
  • 2960. Count Tested Devices After Test Operations
  • 3287. 求出数组中最大序列值
  • 1078. Bigram 分词
  • 74. 搜索二维矩阵
  • 3218. Minimum Cost for Cutting Cake I
  • 1281. 整数的各位积和之差
  • 2919. Minimum Increment Operations to Make Array Beautiful
  • 1978. Employees Whose Manager Left the Company
  • 508. Most Frequent Subtree Sum
  • 575. 分糖果
  • 2971. 找到最大周长的多边形
  • 1057. 校园自行车分配 🔒
  • 3237. Alt 和 Tab 模拟 🔒
  • 1535. 找出数组游戏的赢家
  • 3221. Maximum Array Hopping Score II 🔒
  • 2979. Most Expensive Item That Can Not Be Bought 🔒
  • 247. 中心对称数 II 🔒
  • 283. 移动零
  • 1588. 所有奇数长度子数组的和
  • 282. Expression Add Operators
  • 2446. Determine if Two Events Have Conflict
  • 185. 部门工资前三高的所有员工
  • 435. 无重叠区间
  • 3175. Find The First Player to win K Games in a Row
  • 1830. 使字符串有序的最少操作次数
  • 1790. 仅执行一次字符串交换能否使两个字符串相等
  • 2817. Minimum Absolute Difference Between Elements With Constraint
  • 278. First Bad Version
  • 2346. Compute the Rank as a Percentage 🔒
  • 面试题 48. 最长不含重复字符的子字符串
  • 3242. Design Neighbor Sum Service
  • 541. 反转字符串 II
  • 2782. 唯一类别的数量 🔒
  • 3140. 连续空余座位 II 🔒
  • 3350. Adjacent Increasing Subarrays Detection II
  • 1357. Apply Discount Every n Orders
  • 2927. 给小朋友们分糖果 III 🔒
  • 3269. 构建两个递增数组 🔒
  • 1706. Where Will the Ball Fall
  • 85. 最大矩形
  • 801. 使序列递增的最小交换次数
  • 1722. Minimize Hamming Distance After Swap Operations
  • 1019. 链表中的下一个更大节点
  • 3315. 构造最小位运算数组 II
  • 3506. Find Time Required to Eliminate Bacterial Strains 🔒
  • 549. Binary Tree Longest Consecutive Sequence II 🔒
  • 824. 山羊拉丁文
  • 1395. Count Number of Teams
  • 864. Shortest Path to Get All Keys
  • 2524. 子数组的最大频率分数 🔒
  • 2510. Check if There is a Path With Equal Number of 0's And 1's 🔒
  • 1265. Print Immutable Linked List in Reverse 🔒
  • 2363. Merge Similar Items
  • 455. 分发饼干
  • 1110. Delete Nodes And Return Forest
  • 2061. 扫地机器人清扫过的空间个数 🔒
  • 830. 较大分组的位置
  • 1707. Maximum XOR With an Element From Array
  • 剑指 Offer II 085. 生成匹配的括号
  • 1777. 每家商店的产品价格 🔒
  • 161. 相隔为 1 的编辑距离 🔒
  • 2943. Maximize Area of Square Hole in Grid
  • LCP 19. 秋叶收藏集
  • 889. Construct Binary Tree from Preorder and Postorder Traversal
  • 3010. Divide an Array Into Subarrays With Minimum Cost I
  • 915. 分割数组
  • 1166. Design File System 🔒
  • 1977. Number of Ways to Separate Numbers
  • 2187. Minimum Time to Complete Trips
  • 3511. Make a Positive Array 🔒
  • 2501. Longest Square Streak in an Array
  • 3265. Count Almost Equal Pairs I
  • 2226. 每个小孩最多能分到多少糖果
  • 168. Excel Sheet Column Title
  • 1456. 定长子串中元音的最大数目
  • 637. Average of Levels in Binary Tree
  • 1813. Sentence Similarity III
  • 1303. 求团队人数 🔒
  • 138. Copy List with Random Pointer
  • 剑指 Offer II 032. 有效的变位词
  • 1571. Warehouse Manager 🔒
  • 3420. Count Non-Decreasing Subarrays After K Operations
  • 188. Best Time to Buy and Sell Stock IV
  • 2129. Capitalize the Title
  • 2733. 既不是最小值也不是最大值
  • 1295. 统计位数为偶数的数字
  • 面试题 17.20. 连续中值
  • 1437. 是否所有 1 都至少相隔 k 个元素
  • 1314. Matrix Block Sum
  • 2981. Find Longest Special Substring That Occurs Thrice I
  • 剑指 Offer II 091. 粉刷房子
  • 2038. Remove Colored Pieces if Both Neighbors are the Same Color
  • 2292. 连续两年有 3 个及以上订单的产品 🔒
  • 1756. Design Most Recently Used Queue 🔒
  • 1440. 计算布尔表达式的值 🔒
  • 319. Bulb Switcher
  • 1513. Number of Substrings With Only 1s
  • 2740. Find the Value of the Partition
  • 1998. 数组的最大公因数排序
  • 3057. 员工项目分配 🔒
  • 486. Predict the Winner
  • 1591. Strange Printer II
  • 1692. Count Ways to Distribute Candies 🔒
  • 279. 完全平方数
  • 1466. 重新规划路线
  • LCP 25. 古董键盘
  • 1715. 苹果和橘子的个数 🔒
  • 333. 最大二叉搜索子树 🔒
  • 458. 可怜的小猪
  • 1942. The Number of the Smallest Unoccupied Chair
  • 110. 平衡二叉树
  • 2113. 查询删除和添加元素后的数组 🔒
  • 1520. Maximum Number of Non-Overlapping Substrings
  • 01.03. String to URL
  • 973. 最接近原点的 K 个点
  • 764. Largest Plus Sign
  • 面试题 16.11. 跳水板
  • 2907. 价格递增的最大利润三元组 I 🔒
  • 2108. 找出数组中的第一个回文字符串
  • 1399. Count Largest Group
  • 2866. Beautiful Towers II
  • 1549. 每件商品的最新订单 🔒
  • 2630. Memoize II
  • 720. 词典中最长的单词
  • 1026. 节点与其祖先之间的最大差值
  • 2523. 范围内最接近的两个质数
  • 3087. Find Trending Hashtags 🔒
  • 3073. 最大递增三元组 🔒
  • 2098. 长度为 K 的最大偶数和子序列 🔒
  • 1971. Find if Path Exists in Graph
  • 749. Contain Virus
  • 1428. 至少有一个 1 的最左端列 🔒
  • 800. 相似 RGB 颜色 🔒
  • 1134. 阿姆斯特朗数 🔒
  • 1718. Construct the Lexicographically Largest Valid Sequence
  • 501. 二叉搜索树中的众数
  • 2253. Dynamic Unpivoting of a Table 🔒
  • 1646. Get Maximum in Generated Array
  • 526. 优美的排列
  • 1738. 找出第 K 大的异或坐标值
  • 765. 情侣牵手
  • 114. 二叉树展开为链表
  • 27. Remove Element
  • 1933. Check if String Is Decomposable Into Value-Equal Substrings 🔒
  • 1080. Insufficient Nodes in Root to Leaf Paths
  • 面试题 38. 字符串的排列
  • 2823. Deep Object Filter 🔒
  • 1037. Valid Boomerang
  • 182. Duplicate Emails
  • 2857. Count Pairs of Points With Distance k
  • 1074. Number of Submatrices That Sum to Target
  • 1296. 划分数组为连续数字的集合
  • 2120. 执行所有后缀指令
  • 3467. Transform Array by Parity
  • 3472. 至多 K 次操作后的最长回文子序列
  • 2933. 高访问员工
  • 面试题 03.06. 动物收容所
  • 1703. 得到连续 K 个 1 的最少相邻交换次数
  • 18. 4Sum
  • 面试题 16.25. LRU 缓存
  • 2487. 从链表中移除节点
  • 3023. Find Pattern in Infinite Stream I 🔒
  • 1880. Check if Word Equals Summation of Two Words
  • 2867. 统计树中的合法路径数目
  • 579. 查询员工的累计薪水 🔒
  • 1322. Ads Performance 🔒
  • 79. 单词搜索
  • 3126. Server Utilization Time 🔒
  • 3149. 找出分数最低的排列
  • 3150. Invalid Tweets II 🔒
  • 2307. Check for Contradictions in Equations 🔒
  • 1922. 统计好数字的数目
  • 3071. 在矩阵上写出字母 Y 所需的最少操作次数
  • 369. 给单链表加一 🔒
  • 3231. 要删除的递增子序列的最小数量 🔒
  • 677. Map Sum Pairs
  • 1837. K 进制表示下的各位数字总和
  • 2689. Extract Kth Character From The Rope Tree 🔒
  • 894. 所有可能的真二叉树
  • 2605. 从两个数字数组里生成最小数字
  • 1955. 统计特殊子序列的数目
  • 977. Squares of a Sorted Array
  • 2805. 自定义间隔 🔒
  • 3196. 最大化子数组的总成本
  • 1609. 奇偶树
  • 655. 输出二叉树
  • 1698. 字符串的不同子字符串个数 🔒
  • 95. Unique Binary Search Trees II
  • 2346. 以百分比计算排名 🔒
  • 2123. 使矩阵中的 1 互不相邻的最小操作数 🔒
  • 面试题 10.05. 稀疏数组搜索
  • 402. 移掉 K 位数字
  • 2602. Minimum Operations to Make All Array Elements Equal
  • 917. 仅仅反转字母
  • 2920. 收集所有金币可获得的最大积分
  • 2914. 使二进制字符串变美丽的最少修改次数
  • 3256. 放三个车的价值之和最大 I
  • 1757. 可回收且低脂的产品
  • 761. Special Binary String
  • 821. 字符的最短距离
  • 3083. Existence of a Substring in a String and Its Reverse
  • 3375. Minimum Operations to Make Array Values Equal to K
  • 2425. Bitwise XOR of All Pairings
  • 2984. 找到每座城市的高峰通话时间 🔒
  • 907. Sum of Subarray Minimums
  • 407. Trapping Rain Water II
  • 983. Minimum Cost For Tickets
  • 2767. Partition String Into Minimum Beautiful Substrings
  • 258. Add Digits
  • 2295. 替换数组中的元素
  • 2467. 树上最大得分和路径
  • 2766. 重新放置石块
  • 1619. 删除某些元素后的数组均值
  • 532. 数组中的 k-diff 数对
  • 3034. Number of Subarrays That Match a Pattern I
  • 1895. Largest Magic Square
  • 3228. 将 1 移动到末尾的最大操作次数
  • 521. 最长特殊序列 Ⅰ
  • 116. Populating Next Right Pointers in Each Node
  • 2276. Count Integers in Intervals
  • 2258. 逃离火灾
  • 面试题 04. 二维数组中的查找
  • 424. 替换后的最长重复字符
  • 2589. Minimum Time to Complete All Tasks
  • 3335. 字符串转换后的长度 I
  • 1797. 设计一个验证系统
  • 2976. Minimum Cost to Convert String I
  • 3457. 吃披萨
  • 1946. 子字符串突变后可能得到的最大整数
  • 1908. Nim 游戏 II 🔒
  • 1416. 恢复数组
  • 347. Top K Frequent Elements
  • 2768. 黑格子的数目
  • 710. Random Pick with Blacklist
  • 21. 合并两个有序链表
  • 2119. A Number After a Double Reversal
  • 146. LRU Cache
  • 4. 寻找两个正序数组的中位数
  • 1166. 设计文件系统 🔒
  • 2271. Maximum White Tiles Covered by a Carpet
  • 869. Reordered Power of 2
  • 869. 重新排序得到 2 的幂
  • 面试题 16.07. 最大数值
  • 1737. 满足三条件之一需改变的最少字符数
  • 531. 孤独像素 I 🔒
  • 723. Candy Crush 🔒
  • 2770. 达到末尾下标所需的最大跳跃次数
  • 453. Minimum Moves to Equal Array Elements
  • 2008. 出租车的最大盈利
  • 1552. 两球之间的磁力
  • 3132. Find the Integer Added to Array II
  • 516. Longest Palindromic Subsequence
  • 1458. 两个子序列的最大点积
  • 881. Boats to Save People
  • 2048. 下一个更大的数值平衡数
  • 557. 反转字符串中的单词 III
  • 807. Max Increase to Keep City Skyline
  • 1336. 每次访问的交易次数 🔒
  • 面试题 02.08. 环路检测
  • 1832. 判断句子是否为全字母句
  • 2088. Count Fertile Pyramids in a Land
  • 2347. Best Poker Hand
  • 3390. Longest Team Pass Streak 🔒
  • 1773. 统计匹配检索规则的物品数量
  • 576. Out of Boundary Paths
  • 2444. 统计定界子数组的数目
  • 2782. Number of Unique Categories 🔒
  • Database Practice
  • 2695. Array Wrapper
  • 3391. 设计一个高效的层跟踪三维二进制矩阵 🔒
  • 剑指 Offer II 109. 开密码锁
  • 927. 三等分
  • 3429. Paint House IV
  • 剑指 Offer II 103. 最少的硬币数目
  • 595. 大的国家
  • 2149. 按符号重排数组
  • 1967. Number of Strings That Appear as Substrings in Word
  • 剑指 Offer II 075. 数组相对排序
  • 1148. 文章浏览 I
  • 3366. Minimum Array Sum
  • 3177. Find the Maximum Length of a Good Subsequence II
  • 1542. 找出最长的超赞子字符串
  • 3425. 最长特殊路径
  • 1759. 统计同质子字符串的数目
  • 729. My Calendar I
  • 2253. 动态取消表的旋转 🔒
  • 面试题 16.22. 兰顿蚂蚁
  • 3512. Minimum Operations to Make Array Sum Divisible by K
  • 2969. 购买水果需要的最少金币数 II 🔒
  • 3251. 单调数组对的数目 II
  • 797. All Paths From Source to Target
  • 1175. 质数排列
  • 3141. Maximum Hamming Distances 🔒
  • 1606. Find Servers That Handled Most Number of Requests
  • 2092. Find All People With Secret
  • 663. Equal Tree Partition 🔒
  • 1042. 不邻接植花
  • 1336. Number of Transactions per Visit 🔒
  • 1238. Circular Permutation in Binary Representation
  • 3477. 水果成篮 II
  • 1468. 计算税后工资 🔒
  • 17.26. Sparse Similarity
  • 1208. 尽可能使字符串相等
  • 628. 三个数的最大乘积
  • 3000. 对角线最长的矩形的面积
  • 1361. 验证二叉树
  • 1384. 按年度列出销售总额 🔒
  • 2760. 最长奇偶子数组
  • 1605. 给定行和列的和求可行矩阵
  • 1358. 包含所有三种字符的子字符串数目
  • 1405. 最长快乐字符串
  • 526. Beautiful Arrangement
  • 708. 循环有序列表的插入 🔒
  • 1375. Number of Times Binary String Is Prefix-Aligned
  • 面试题 15. 二进制中 1 的个数
  • 1608. Special Array With X Elements Greater Than or Equal X
  • 676. 实现一个魔法字典
  • 1310. 子数组异或查询
  • 1611. 使整数变为 0 的最少操作次数
  • 2747. 统计没有收到请求的服务器数目
  • 53. 最大子数组和
  • 1550. 存在连续三个奇数的数组
  • 1959. Minimum Total Space Wasted With K Resizing Operations
  • 337. House Robber III
  • 2378. 选择边来最大化树的得分 🔒
  • 剑指 Offer II 084. 含有重复元素集合的全排列
  • 2116. Check if a Parentheses String Can Be Valid
  • 15. 3Sum
  • 面试题 16.03. 交点
  • 1528. 重新排列字符串
  • 2858. Minimum Edge Reversals So Every Node Is Reachable
  • 3459. Length of Longest V-Shaped Diagonal Segment
  • 982. Triples with Bitwise AND Equal To Zero
  • 413. Arithmetic Slices
  • 2009. 使数组连续的最少操作数
  • 666. 路径总和 IV 🔒
  • 162. Find Peak Element
  • 733. 图像渲染
  • 16.01. Swap Numbers
  • 2535. 数组元素和与数字和的绝对差
  • 3151. 特殊数组 I
  • 1900. The Earliest and Latest Rounds Where Players Compete
  • 1399. 统计最大组的数目
  • 552. Student Attendance Record II
  • 1614. 括号的最大嵌套深度
  • 2590. Design a Todo List 🔒
  • 3125. Maximum Number That Makes Result of Bitwise AND Zero 🔒
  • 37. 解数独
  • LCP 73. 探险营地
  • 面试题 16.13. 平分正方形
  • 999. Available Captures for Rook
  • 538. 把二叉搜索树转换为累加树
  • 248. Strobogrammatic Number III 🔒
  • 2334. Subarray With Elements Greater Than Varying Threshold
  • 1968. Array With Elements Not Equal to Average of Neighbors
  • 325. 和等于 k 的最长子数组长度 🔒
  • LCP 31. 变换的迷宫
  • 97. 交错字符串
  • 2844. 生成特殊数字的最少操作
  • 444. Sequence Reconstruction 🔒
  • 709. To Lower Case
  • 2733. Neither Minimum nor Maximum
  • 1553. Minimum Number of Days to Eat N Oranges
  • 面试题 14- II. 剪绳子 II
  • 面试题 32 - III. 从上到下打印二叉树 III
  • 2881. 创建新列
  • 1912. 设计电影租借系统
  • 1467. Probability of a Two Boxes Having The Same Number of Distinct Balls
  • 2003. Smallest Missing Genetic Value in Each Subtree
  • 2717. 半有序排列
  • 1928. Minimum Cost to Reach Destination in Time
  • 1562. Find Latest Group of Size M
  • 2995. Viewers Turned Streamers 🔒
  • 2855. Minimum Right Shifts to Sort the Array
  • 146. LRU 缓存
  • 194. 转置文件
  • 2514. 统计同位异构字符串数目
  • 2814. Minimum Time Takes to Reach Destination Without Drowning 🔒
  • 813. 最大平均值和的分组
  • 2631. Group By
  • 1696. 跳跃游戏 VI
  • 3226. Number of Bit Changes to Make Two Integers Equal
  • 600. Non-negative Integers without Consecutive Ones
  • 219. Contains Duplicate II
  • 3198. Find Cities in Each State 🔒
  • 619. Biggest Single Number
  • 3515. 带权树中的最短路径
  • 1326. Minimum Number of Taps to Open to Water a Garden
  • 2051. The Category of Each Member in the Store 🔒
  • 695. Max Area of Island
  • 3383. Minimum Runes to Add to Cast Spell 🔒
  • 172. Factorial Trailing Zeroes
  • 3328. 查找每个州的城市 II 🔒
  • 1644. Lowest Common Ancestor of a Binary Tree II 🔒
  • 面试题 08.01. 三步问题
  • 2079. Watering Plants
  • 467. 环绕字符串中唯一的子字符串
  • 507. 完美数
  • 955. 删列造序 II
  • 1345. Jump Game IV
  • 1694. Reformat Phone Number
  • 1988. 找出每所学校的最低分数要求 🔒
  • 2032. 至少在两个数组中出现的值
  • 1107. 每日新用户统计 🔒
  • 2084. 为订单类型为 0 的客户删除类型为 1 的订单 🔒
  • 3495. Minimum Operations to Make Array Elements Zero
  • 3325. 字符至少出现 K 次的子字符串 I
  • 858. 镜面反射
  • 2372. 计算每个销售人员的影响力 🔒
  • 263. Ugly Number
  • 1810. Minimum Path Cost in a Hidden Grid 🔒
  • 3026. Maximum Good Subarray Sum
  • 3012. Minimize Length of Array Using Operations
  • 766. Toeplitz Matrix
  • 2581. Count Number of Possible Root Nodes
  • 2598. 执行操作后的最大 MEX
  • 537. Complex Number Multiplication
  • 1460. Make Two Arrays Equal by Reversing Subarrays
  • 2512. Reward Top K Students
  • 1844. 将所有数字用字符替换
  • 1990. 统计实验的数量 🔒
  • 3290. Maximum Multiplication Score
  • 546. Remove Boxes
  • 2556. 二进制矩阵中翻转最多一次使路径不连通
  • 3237. Alt and Tab Simulation 🔒
  • 3385. 破解锁的最少时间 II 🔒
  • 2089. 找出数组排序后的目标下标
  • 1880. 检查某单词是否等于两单词之和
  • 2854. Rolling Average Steps 🔒
  • 剑指 Offer II 028. 展平多级双向链表
  • 3313. Find the Last Marked Nodes in Tree 🔒
  • 3415. Find Products with Three Consecutive Digits 🔒
  • 367. 有效的完全平方数
  • 3457. Eat Pizzas!
  • 3099. Harshad Number
  • 1064. 不动点 🔒
  • 411. 最短独占单词缩写 🔒
  • 1661. Average Time of Process per Machine
  • 3024. 三角形类型
  • 2917. Find the K-or of an Array
  • 2425. 所有数对的异或和
  • 1932. Merge BSTs to Create Single BST
  • 1814. 统计一个数组中好对子的数目
  • 148. Sort List
  • 1212. Team Scores in Football Tournament 🔒
  • 1654. 到家的最少跳跃次数
  • 1558. Minimum Numbers of Function Calls to Make Target Array
  • 力扣竞赛
  • 1724. 检查边长度限制的路径是否存在 II 🔒
  • 2624. Snail Traversal
  • 3437. 全排列 III 🔒
  • 308. 二维区域和检索 - 矩阵可修改 🔒
  • 2954. 统计感冒序列的数目
  • 1386. 安排电影院座位
  • 1735. 生成乘积数组的方案数
  • 998. Maximum Binary Tree II
  • 752. 打开转盘锁
  • 336. Palindrome Pairs
  • 1436. 旅行终点站
  • 1181. Before and After Puzzle 🔒
  • 剑指 Offer II 054. 所有大于等于节点的值之和
  • 182. 查找重复的电子邮箱
  • 3085. Minimum Deletions to Make String K-Special
  • 3053. 根据长度分类三角形 🔒
  • 2115. Find All Possible Recipes from Given Supplies
  • 2517. Maximum Tastiness of Candy Basket
  • 3449. Maximize the Minimum Game Score
  • 3250. Find the Count of Monotonic Pairs I
  • 1226. 哲学家进餐
  • 455. Assign Cookies
  • 02.04. Partition List
  • 3446. 按对角线进行矩阵排序
  • 2865. Beautiful Towers I
  • 3173. Bitwise OR of Adjacent Elements 🔒
  • 2966. Divide Array Into Arrays With Max Difference
  • 2506. Count Pairs Of Similar Strings
  • 311. 稀疏矩阵的乘法 🔒
  • 721. Accounts Merge
  • 742. Closest Leaf in a Binary Tree 🔒
  • 2101. 引爆最多的炸弹
  • 1638. 统计只差一个字符的子串数目
  • 195. 第十行
  • 569. Median Employee Salary 🔒
  • 2541. 使数组中所有元素相等的最小操作数 II
  • 205. Isomorphic Strings
  • 1546. 和为目标值且不重叠的非空子数组的最大数目
  • 176. Second Highest Salary
  • 117. Populating Next Right Pointers in Each Node II
  • 面试题 01.02. 判定是否互为字符重排
  • 1508. Range Sum of Sorted Subarray Sums
  • 1270. All People Report to the Given Manager 🔒
  • 846. 一手顺子
  • 1590. 使数组和能被 P 整除
  • 3542. 将所有元素变为 0 的最少操作次数
  • 面试题 49. 丑数
  • 1384. Total Sales Amount by Year 🔒
  • 1988. Find Cutoff Score for Each School 🔒
  • 剑指 Offer II 090. 环形房屋偷盗
  • 1683. 无效的推文
  • 剑指 Offer II 042. 最近请求次数
  • 1342. Number of Steps to Reduce a Number to Zero
  • 3512. 使数组和能被 K 整除的最少操作次数
  • 1521. 找到最接近目标值的函数值
  • 2419. 按位与最大的最长子数组
  • 1064. Fixed Point 🔒
  • 646. Maximum Length of Pair Chain
  • 2442. 反转之后不同整数的数目
  • 2581. 统计可能的树根数目
  • 649. Dota2 参议院
  • 1472. Design Browser History
  • 面试题 08.11. 硬币
  • 16.05. Factorial Zeros
  • 475. Heaters
  • 面试题 16.15. 珠玑妙算
  • 1023. Camelcase Matching
  • 1972. 同一天的第一个电话和最后一个电话 🔒
  • 1689. 十-二进制数的最少数目
  • 1629. 按键持续时间最长的键
  • 2773. Height of Special Binary Tree 🔒
  • 3303. Find the Occurrence of First Almost Equal Substring
  • 3206. Alternating Groups I
  • 834. 树中距离之和
  • 1124. Longest Well-Performing Interval
  • 3506. Find Time Required to Eliminate Bacterial Strains II 🔒
  • 2602. 使数组元素全部相等的最少操作次数
  • 08.10. Color Fill
  • 剑指 Offer II 100. 三角形中最小路径之和
  • 115. 不同的子序列
  • 1790. Check if One String Swap Can Make Strings Equal
  • 975. 奇偶跳
  • 1090. Largest Values From Labels
  • 3310. 移除可疑的方法
  • 2939. 最大异或乘积
  • 1178. Number of Valid Words for Each Puzzle
  • 1091. Shortest Path in Binary Matrix
  • 1452. 收藏清单
  • 1131. 绝对值表达式的最大值
  • 2057. 值相等的最小索引
  • 519. 随机翻转矩阵
  • 1603. 设计停车系统
  • 2. Add Two Numbers
  • 2322. Minimum Score After Removals on a Tree
  • LCP 52. 二叉搜索树染色
  • 2005. 斐波那契树的移除子树游戏 🔒
  • 388. 文件的最长绝对路径
  • 758. Bold Words in String 🔒
  • 608. Tree Node
  • 1117. H2O 生成
  • 1996. 游戏中弱角色的数量
  • 2035. Partition Array Into Two Arrays to Minimize Sum Difference
  • 2719. Count of Integers
  • 3126. 服务器利用时间 🔒
  • 1615. 最大网络秩
  • 3476. 最大化任务分配的利润 🔒
  • 1548. The Most Similar Path in a Graph 🔒
  • 1746. 经过一次操作后的最大子数组和 🔒
  • 1934. 确认率
  • 2344. Minimum Deletions to Make Array Divisible
  • 2206. 将数组划分成相等数对
  • 2423. Remove Letter To Equalize Frequency
  • 523. 连续的子数组和
  • 2046. 给按照绝对值排序的链表排序 🔒
  • 308. Range Sum Query 2D - Mutable 🔒
  • 1947. 最大兼容性评分和
  • 1525. Number of Good Ways to Split a String
  • 939. 最小面积矩形
  • 1359. 有效的快递序列数目
  • 1473. 粉刷房子 III
  • LCP 11. 期望个数统计
  • 2098. Subsequence of Size K With the Largest Even Sum 🔒
  • 2806. 取整购买后的账户余额
  • 3368. First Letter Capitalization 🔒
  • 2334. 元素值大于变化阈值的子数组
  • 382. 链表随机节点
  • 1870. 准时到达的列车最小时速
  • 1300. 转变数组后最接近目标值的数组和
  • 剑指 Offer II 045. 二叉树最底层最左边的值
  • 122. 买卖股票的最佳时机 II
  • 3365. 重排子字符串以形成目标字符串
  • 剑指 Offer II 049. 从根节点到叶节点的路径数字之和
  • 3106. 满足距离约束且字典序最小的字符串
  • 1020. Number of Enclaves
  • 1393. 股票的资本损益
  • 3402. 使每一列严格递增的最少操作次数
  • 2922. 市场分析 III 🔒
  • 584. 寻找用户推荐人
  • 2130. Maximum Twin Sum of a Linked List
  • 254. 因子的组合 🔒
  • 343. 整数拆分
  • 2827. 范围中美丽整数的数目
  • 1812. Determine Color of a Chessboard Square
  • 2624. 蜗牛排序
  • 1345. 跳跃游戏 IV
  • 3220. Odd and Even Transactions
  • 1182. Shortest Distance to Target Color 🔒
  • LCP 01. 猜数字
  • 1063. Number of Valid Subarrays 🔒
  • 1284. Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
  • 374. 猜数字大小
  • 3261. 统计满足 K 约束的子字符串数量 II
  • 2839. Check if Strings Can be Made Equal With Operations I
  • 2281. Sum of Total Strength of Wizards
  • 2850. 将石头分散到网格图的最少移动次数
  • 1498. 满足条件的子序列数目
  • 899. Orderly Queue
  • 3309. 连接二进制表示可形成的最大数值
  • LCP 04. 覆盖
  • 1004. Max Consecutive Ones III
  • 1803. Count Pairs With XOR in a Range
  • 08.14. Boolean Evaluation
  • 950. 按递增顺序显示卡牌
  • 2206. Divide Array Into Equal Pairs
  • 1250. Check If It Is a Good Array
  • 1214. Two Sum BSTs 🔒
  • 2539. 好子序列的个数 🔒
  • 3337. Total Characters in String After Transformations II
  • 2150. Find All Lonely Numbers in the Array
  • 48. 旋转图像
  • 855. Exam Room
  • 582. Kill Process 🔒
  • 2695. 包装数组
  • 1273. Delete Tree Nodes 🔒
  • 469. Convex Polygon 🔒
  • 2652. 倍数求和
  • 1265. 逆序打印不可变链表 🔒
  • 2499. Minimum Total Cost to Make Arrays Unequal
  • 937. 重新排列日志文件
  • 2536. Increment Submatrices by One
  • LCP 64. 二叉树灯饰
  • 1949. Strong Friendship 🔒
  • 223. 矩形面积
  • 3394. 判断网格图能否被切割成块
  • 3444. 使数组包含目标值倍数的最少增量
  • 812. 最大三角形面积
  • 1961. 检查字符串是否为数组前缀
  • 3245. 交替组 III
  • 578. 查询回答率最高的问题 🔒
  • 1396. Design Underground System
  • 1459. Rectangles Area 🔒
  • 2475. 数组中不等三元组的数目
  • 1457. Pseudo-Palindromic Paths in a Binary Tree
  • 01.01. Is Unique
  • 1167. 连接木棍的最低费用 🔒
  • 2750. Ways to Split Array Into Good Subarrays
  • 1047. Remove All Adjacent Duplicates In String
  • 2039. 网络空闲的时刻
  • 2679. Sum in a Matrix
  • 1958. Check if Move is Legal
  • 2564. 子字符串异或查询
  • 2767. 将字符串分割为最少的美丽子字符串
  • 2244. Minimum Rounds to Complete All Tasks
  • 2327. Number of People Aware of a Secret
  • 1948. Delete Duplicate Folders in System
  • 2655. Find Maximal Uncovered Ranges 🔒
  • 891. Sum of Subsequence Widths
  • 861. Score After Flipping Matrix
  • 2408. 设计 SQL 🔒
  • 2096. 从二叉树一个节点到另一个节点每一步的方向
  • 3536. Maximum Product of Two Digits
  • 17.05. Find Longest Subarray
  • 1569. Number of Ways to Reorder Array to Get Same BST
  • 3527. Find the Most Common Response
  • 555. 分割连接字符串 🔒
  • 3180. 执行操作可获得的最大总奖励 I
  • 1784. 检查二进制字符串字段
  • 326. 3 的幂
  • 1456. Maximum Number of Vowels in a Substring of Given Length
  • 801. Minimum Swaps To Make Sequences Increasing
  • 2104. Sum of Subarray Ranges
  • 2243. Calculate Digit Sum of a String
  • 2899. Last Visited Integers
  • 709. 转换成小写字母
  • 2573. Find the String with LCP
  • 3524. Find X Value of Array I
  • 1670. 设计前中后队列
  • 747. Largest Number At Least Twice of Others
  • 675. 为高尔夫比赛砍树
  • 49. Group Anagrams
  • 579. Find Cumulative Salary of an Employee 🔒
  • 3137. Minimum Number of Operations to Make Word K-Periodic
  • 3386. 按下时间最长的按钮
  • 3516. Find Closest Person
  • 2691. Immutability Helper 🔒
  • 2326. 螺旋矩阵 IV
  • 面试题 63. 股票的最大利润
  • 2813. Maximum Elegance of a K-Length Subsequence
  • 621. Task Scheduler
  • 47. Permutations II
  • 2588. Count the Number of Beautiful Subarrays
  • 1716. 计算力扣银行的钱
  • 2505. Bitwise OR of All Subsequence Sums 🔒
  • 809. 情感丰富的文字
  • 3316. 从原字符串里进行删除操作的最多次数
  • 2171. Removing Minimum Number of Magic Beans
  • 2912. 在网格上移动到目的地的方法数 🔒
  • 408. 有效单词缩写 🔒
  • 3046. Split the Array
  • 2890. Reshape Data Melt
  • 55. 跳跃游戏
  • 2340. Minimum Adjacent Swaps to Make a Valid Array 🔒
  • 2955. Number of Same-End Substrings 🔒
  • 2285. Maximum Total Importance of Roads
  • 612. Shortest Distance in a Plane 🔒
  • 890. Find and Replace Pattern
  • 2077. 殊途同归 🔒
  • 2675. 将对象数组转换为矩阵 🔒
  • 3097. 或值至少为 K 的最短子数组 II
  • 1980. Find Unique Binary String
  • 1173. 即时食物配送 I 🔒
  • 2396. Strictly Palindromic Number
  • 1280. Students and Examinations
  • 1875. Group Employees of the Same Salary 🔒
  • 3162. 优质数对的总数 I
  • 1726. 同积元组
  • 2952. Minimum Number of Coins to be Added
  • 588. 设计内存文件系统 🔒
  • 923. 3Sum With Multiplicity
  • 446. 等差数列划分 II - 子序列
  • 1085. Sum of Digits in the Minimum Number 🔒
  • 2401. Longest Nice Subarray
  • 1710. Maximum Units on a Truck
  • 72. 编辑距离
  • 2749. Minimum Operations to Make the Integer Zero
  • 05.04. Closed Number
  • 405. Convert a Number to Hexadecimal
  • 1065. 字符串的索引对 🔒
  • 1077. 项目员工 III 🔒
  • 08.01. Three Steps Problem
  • 1429. 第一个唯一数字 🔒
  • 3065. Minimum Operations to Exceed Threshold Value I
  • 1425. 带限制的子序列和
  • 2874. 有序三元组中的最大值 II
  • 413. 等差数列划分
  • 1242. 多线程网页爬虫 🔒
  • 664. 奇怪的打印机
  • 2152. 穿过所有点的所需最少直线数量 🔒
  • 2837. Total Traveled Distance 🔒
  • 2659. 将数组清空
  • 1185. Day of the Week
  • 727. Minimum Window Subsequence 🔒
  • 3020. 子集中元素的最大数量
  • 940. 不同的子序列 II
  • 3329. Count Substrings With K-Frequency Characters II 🔒
  • 32. 最长有效括号
  • 212. Word Search II
  • 978. Longest Turbulent Subarray
  • 853. Car Fleet
  • 3440. 重新安排会议得到最多空余时间 II
  • 1471. 数组中的 k 个最强值
  • 2859. 计算 K 置位下标对应元素的和
  • 39. 组合总和
  • 1570. Dot Product of Two Sparse Vectors 🔒
  • 2031. 1 比 0 多的子数组个数 🔒
  • 1393. Capital GainLoss
  • 1926. 迷宫中离入口最近的出口
  • 3524. 求出数组的 X 值 I
  • 3334. 数组的最大因子得分
  • 3514. Number of Unique XOR Triplets II
  • 573. Squirrel Simulation 🔒
  • 1168. Optimize Water Distribution in a Village 🔒
  • 2252. 表的动态旋转 🔒
  • 3022. Minimize OR of Remaining Elements Using Operations
  • 694. 不同岛屿的数量 🔒
  • 1346. 检查整数及其两倍数是否存在
  • 2545. Sort the Students by Their Kth Score
  • 1071. Greatest Common Divisor of Strings
  • 1566. 重复至少 K 次且长度为 M 的模式
  • 1066. 校园自行车分配 II 🔒
  • 2820. 选举结果 🔒
  • 3107. Minimum Operations to Make Median of Array Equal to K
  • 949. Largest Time for Given Digits
  • 2898. Maximum Linear Stock Score 🔒
  • 面试题 17.25. 单词矩阵
  • 面试题 02.06. 回文链表
  • LCP 07. 传递信息
  • 3274. 检查棋盘方格颜色是否相同
  • 2527. Find Xor-Beauty of Array
  • 1894. 找到需要补充粉笔的学生编号
  • 2250. Count Number of Rectangles Containing Each Point
  • 2722. 根据 ID 合并两个数组
  • 2914. Minimum Number of Changes to Make Binary String Beautiful
  • 594. Longest Harmonious Subsequence
  • 1555. Bank Account Summary 🔒
  • 2620. 计数器
  • 3031. Minimum Time to Revert Word to Initial State II
  • 3454. Separate Squares II
  • 面试题 01.04. 回文排列
  • 1434. Number of Ways to Wear Different Hats to Each Other
  • 56. Merge Intervals
  • 2532. 过桥的时间
  • 461. Hamming Distance
  • 1276. 不浪费原料的汉堡制作方案
  • 1873. 计算特殊奖金
  • 2354. Number of Excellent Pairs
  • 174. 地下城游戏
  • 2494. Merge Overlapping Events in the Same Hall 🔒
  • 1274. 矩形内船只的数目 🔒
  • 2629. Function Composition
  • 545. Boundary of Binary Tree 🔒
  • 3422. Minimum Operations to Make Subarray Elements Equal 🔒
  • 2775. 将 undefined 转为 null 🔒
  • 3398. Smallest Substring With Identical Characters I
  • 17.21. Volume of Histogram
  • 511. Game Play Analysis I
  • 202. 快乐数
  • 2097. 合法重新排列数对
  • 33. Search in Rotated Sorted Array
  • 1492. The kth Factor of n
  • 656. 成本最小路径 🔒
  • 2282. 在一个网格中可以看到的人数 🔒
  • 3526. 范围异或查询与子数组反转 🔒
  • 911. 在线选举
  • 2067. 等计数子串的数量 🔒
  • 3003. Maximize the Number of Partitions After Operations
  • 1769. Minimum Number of Operations to Move All Balls to Each Box
  • 2895. Minimum Processing Time
  • 252. 会议室 🔒
  • 1888. Minimum Number of Flips to Make the Binary String Alternating
  • 3102. Minimize Manhattan Distances
  • 2291. 最大股票收益 🔒
  • 2243. 计算字符串的数字和
  • 2251. Number of Flowers in Full Bloom
  • 2484. 统计回文子序列数目
  • 437. 路径总和 III
  • 860. Lemonade Change
  • 2248. Intersection of Multiple Arrays
  • 1779. 找到最近的有相同 X 或 Y 坐标的点
  • 1743. Restore the Array From Adjacent Pairs
  • 3367. Maximize Sum of Weights after Edge Removals
  • 1793. 好子数组的最大分数
  • 剑指 Offer II 110. 所有路径
  • 3065. 超过阈值的最少操作数 I
  • 3479. 将水果装入篮子 III
  • 349. 两个数组的交集
  • 1634. 求两个多项式链表的和 🔒
  • 249. Group Shifted Strings 🔒
  • 1247. Minimum Swaps to Make Strings Equal
  • 803. 打砖块
  • 2653. Sliding Subarray Beauty
  • 3510. 移除最小数对使数组有序 II
  • 1469. 寻找所有的独生节点 🔒
  • 1991. Find the Middle Index in Array
  • 2299. Strong Password Checker II
  • 509. Fibonacci Number
  • 1150. 检查一个数是否在数组中占绝大多数 🔒
  • LCP 66. 最小展台数量
  • 338. 比特位计数
  • 2049. Count Nodes With the Highest Score
  • 2226. Maximum Candies Allocated to K Children
  • 3320. Count The Number of Winning Sequences
  • 3485. 删除元素后 K 个字符串的最长公共前缀
  • 面试题 06. 从尾到头打印链表
  • 2715. 执行可取消的延迟函数
  • 107. Binary Tree Level Order Traversal II
  • 16.19. Pond Sizes
  • 3111. Minimum Rectangles to Cover Points
  • 3442. Maximum Difference Between Even and Odd Frequency I
  • 面试题 59 - I. 滑动窗口的最大值
  • 2647. 把三角形染成红色 🔒
  • 2033. Minimum Operations to Make a Uni-Value Grid
  • 1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence
  • 2474. 购买量严格增加的客户 🔒
  • 1015. Smallest Integer Divisible by K
  • 2200. Find All K-Distant Indices in an Array
  • 2184. Number of Ways to Build Sturdy Brick Wall 🔒
  • 1563. Stone Game V
  • 2394. Employees With Deductions 🔒
  • 1387. Sort Integers by The Power Value
  • 2207. 字符串中最多数目的子序列
  • 1062. 最长重复子串 🔒
  • 1223. Dice Roll Simulation
  • 3001. Minimum Moves to Capture The Queen
  • 面试题 08.06. 汉诺塔问题
  • 剑指 Offer II 065. 最短的单词编码
  • 2019. 解出数学表达式的学生分数
  • 585. 2016年的投资
  • 3103. Find Trending Hashtags II 🔒
  • 327. 区间和的个数
  • 125. Valid Palindrome
  • 2176. 统计数组中相等且可以被整除的数对
  • 2493. 将节点分成尽可能多的组
  • 1401. Circle and Rectangle Overlapping
  • 16.14. Best Line
  • 1732. Find the Highest Altitude
  • 44. Wildcard Matching
  • 1034. Coloring A Border
  • 65. Valid Number
  • 3122. 使矩阵满足条件的最少操作次数
  • 848. Shifting Letters
  • 1243. 数组变换 🔒
  • 1303. Find the Team Size 🔒
  • 2727. Is Object Empty
  • 2418. 按身高排序
  • 3217. 从链表中移除在数组中存在的节点
  • 3439. 重新安排会议得到最多空余时间 I
  • 318. Maximum Product of Word Lengths
  • 1995. 统计特殊四元组
  • 剑指 Offer II 069. 山峰数组的顶部
  • 2063. Vowels of All Substrings
  • 2577. Minimum Time to Visit a Cell In a Grid
  • 718. 最长重复子数组
  • 面试题 16.14. 最佳直线
  • 112. 路径总和
  • 面试题 17.23. 最大黑方阵
  • 1751. 最多可以参加的会议数目 II
  • 47. 全排列 II
  • 561. 数组拆分
  • 1353. Maximum Number of Events That Can Be Attended
  • 1639. Number of Ways to Form a Target String Given a Dictionary
  • 137. 只出现一次的数字 II
  • 502. IPO
  • 596. 超过 5 名学生的课
  • {}专项练习
  • {} Practice
  • LeetCode
  • LeetCode
  • 力扣竞赛
  • LeetCode Contest
  • {}. {}
  • {}. {}
  • {}. {}
  • {}. {}
  • {}. {}
  • {}. {}
  • {}. {}
  • {}. {}
  • 2421. Number of Good Paths
  • 981. 基于时间的键值存储
  • 2382. Maximum Segment Sum After Removals
  • 1317. 将整数转换为两个无零整数的和
  • 791. Custom Sort String
  • 3173. 相邻元素的按位或 🔒
  • 2523. Closest Prime Numbers in Range
  • 2058. 找出临界点之间的最小和最大距离
  • 1123. Lowest Common Ancestor of Deepest Leaves
  • 2131. 连接两字母单词得到的最长回文串
  • 3189. Minimum Moves to Get a Peaceful Board 🔒
  • 1094. Car Pooling
  • 1853. Convert Date Format 🔒
  • 2507. Smallest Value After Replacing With Sum of Prime Factors
  • 1799. N 次操作后的最大分数和
  • 98. 验证二叉搜索树
  • 面试题 55 - I. 二叉树的深度
  • 3222. Find the Winning Player in Coin Game
  • 2504. Concatenate the Name and the Profession 🔒
  • 3029. 将单词恢复初始状态所需的最短时间 I
  • 256. Paint House 🔒
  • 772. 基本计算器 III 🔒
  • 2885. Rename Columns
  • 1129. Shortest Path with Alternating Colors
  • 594. 最长和谐子序列
  • 745. Prefix and Suffix Search
  • 3029. Minimum Time to Revert Word to Initial State I
  • 953. Verifying an Alien Dictionary
  • 495. Teemo Attacking
  • 面试题 60. n 个骰子的点数
  • 1515. Best Position for a Service Centre
  • 1798. Maximum Number of Consecutive Values You Can Make
  • 剑指 Offer II 093. 最长斐波那契数列
  • 1829. 每个查询的最大异或值
  • 3438. 找到字符串中合法的相邻数字
  • 2242. 节点序列的最大得分
  • 2398. Maximum Number of Robots Within Budget
  • 3185. Count Pairs That Form a Complete Day II
  • 2983. Palindrome Rearrangement Queries
  • 面试题 10.10. 数字流的秩
  • 2835. 使子序列的和等于目标的最少操作次数
  • 2811. 判断是否能拆分数组
  • 1286. 字母组合迭代器
  • 3342. Find Minimum Time to Reach Last Room II
  • 剑指 Offer II 106. 二分图
  • 3031. 将单词恢复初始状态所需的最短时间 II
  • 1446. Consecutive Characters
  • 1217. Minimum Cost to Move Chips to The Same Position
  • 2429. Minimize XOR
  • 668. Kth Smallest Number in Multiplication Table
  • 926. Flip String to Monotone Increasing
  • 425. 单词方块 🔒
  • 2332. 坐上公交的最晚时间
  • 1896. Minimum Cost to Change the Final Value of Expression
  • 171. Excel 表列序号
  • 299. Bulls and Cows
  • 1015. 可被 K 整除的最小整数
  • 1301. 最大得分的路径数目
  • 1620. 网络信号最好的坐标
  • 3074. 重新分装苹果
  • 3520. 逆序对计数的最小阈值 🔒
  • 3337. 字符串转换后的长度 II
  • 剑指 Offer II 040. 矩阵中最大的矩形
  • 480. Sliding Window Median
  • 3330. Find the Original Typed String I
  • 1547. Minimum Cost to Cut a Stick
  • 3417. Zigzag Grid Traversal With Skip
  • 2724. Sort By
  • 2379. Minimum Recolors to Get K Consecutive Black Blocks
  • 3020. Find the Maximum Number of Elements in Subset
  • 2895. 最小处理时间
  • 1213. 三个有序数组的交集 🔒
  • 226. Invert Binary Tree
  • 2840. 判断通过操作能否让字符串相等 II
  • 面试题 33. 二叉搜索树的后序遍历序列
  • 3013. 将数组分成最小总代价的子数组 II
  • 面试题 36. 二叉搜索树与双向链表
  • 2012. Sum of Beauty in the Array
  • 2794. 从两个数组中创建对象 🔒
  • 2599. 使前缀和数组非负 🔒
  • 3431. Minimum Unlocked Indices to Sort Nums 🔒
  • 872. 叶子相似的树
  • 2286. 以组为单位订音乐会的门票
  • 79. Word Search
  • 2986. 找到第三笔交易 🔒
  • 812. Largest Triangle Area
  • 面试题 17.09. 第 k 个数
  • 2511. 最多可以摧毁的敌人城堡数目
  • LCP 54. 夺回据点
  • 1238. 循环码排列
  • 377. Combination Sum IV
  • 2451. Odd String Difference
  • 3107. 使数组中位数等于 K 的最少操作数
  • JavaScript专项练习
  • 793. Preimage Size of Factorial Zeroes Function
  • 1481. Least Number of Unique Integers after K Removals
  • 2180. 统计各位数字之和为偶数的整数个数
  • 3504. 子字符串连接后的最长回文串 II
  • 27. 移除元素
  • 803. Bricks Falling When Hit
  • 3063. 链表频率 🔒
  • 1482. 制作 m 束花所需的最少天数
  • LCP 03. 机器人大冒险
  • 8. 字符串转换整数 (atoi)
  • 1919. Leetcodify Similar Friends 🔒
  • 3508. Implement Router
  • 2945. 找到最大非递减数组的长度
  • 1287. 有序数组中出现次数超过25%的元素
  • 2257. Count Unguarded Cells in the Grid
  • 2845. 统计趣味子数组的数目
  • 3426. 所有安放棋子方案的曼哈顿距离
  • 3522. 执行指令后的得分
  • 3482. Analyze Organization Hierarchy
  • 3210. Find the Encrypted String
  • 1235. Maximum Profit in Job Scheduling
  • 181. 超过经理收入的员工
  • 1965. 丢失信息的雇员
  • 291. 单词规律 II 🔒
  • 635. Design Log Storage System 🔒
  • 1536. Minimum Swaps to Arrange a Binary Grid
  • 2819. Minimum Relative Loss After Buying Chocolates 🔒
  • 638. 大礼包
  • 面试题 32 - II. 从上到下打印二叉树 II
  • 2571. Minimum Operations to Reduce an Integer to 0
  • 2385. Amount of Time for Binary Tree to Be Infected
  • 75. Sort Colors
  • 1253. 重构 2 行二进制矩阵
  • 1207. 独一无二的出现次数
  • 2086. 喂食仓鼠的最小食物桶数
  • 1230. 抛掷硬币 🔒
  • 剑指 Offer II 048. 序列化与反序列化二叉树
  • 2087. 网格图中机器人回家的最小代价
  • 2903. 找出满足差值条件的下标 I
  • 2780. Minimum Index of a Valid Split
  • 1098. 小众书籍 🔒
  • 180. Consecutive Numbers
  • 17.15. Longest Word
  • LCP 02. 分式化简
  • 2219. 数组的最大总分 🔒
  • 1417. 重新格式化字符串
  • 3164. Find the Number of Good Pairs II
  • 170. Two Sum III - Data structure design 🔒
  • 1431. Kids With the Greatest Number of Candies
  • 面试题 55 - II. 平衡二叉树
  • 13. Roman to Integer
  • 780. 到达终点
  • 3386. Button with Longest Push Time
  • 1118. 一月有多少天 🔒
  • 599. Minimum Index Sum of Two Lists
  • 3369. 设计数组统计跟踪器 🔒
  • 2170. 使数组变成交替数组的最少操作数
  • 982. 按位与为零的三元组
  • 362. Design Hit Counter 🔒
  • 1866. 恰有 K 根木棍可以看到的排列数目
  • 1668. 最大重复子字符串
  • 2934. 最大化数组末位元素的最少操作次数
  • 04.01. Route Between Nodes
  • 2036. Maximum Alternating Subarray Sum 🔒
  • 剑指 Offer II 047. 二叉树剪枝
  • 2762. 不间断子数组
  • 1562. 查找大小为 M 的最新分组
  • 2052. Minimum Cost to Separate Sentence Into Rows 🔒
  • 面试题 17.07. 婴儿名字
  • 3123. Find Edges in Shortest Paths
  • 3032. 统计各位数字都不同的数字个数 II 🔒
  • 1470. Shuffle the Array
  • 705. 设计哈希集合
  • 2104. 子数组范围和
  • 2598. Smallest Missing Non-negative Integer After Operations
  • 2117. Abbreviating the Product of a Range
  • 2633. Convert Object to JSON String 🔒
  • 1776. 车队 II
  • 1885. Count Pairs in Two Arrays 🔒
  • 1152. 用户网站访问行为分析 🔒
  • 2610. Convert an Array Into a 2D Array With Conditions
  • 2996. 大于等于顺序前缀和的最小缺失整数
  • 764. 最大加号标志
  • 2748. 美丽下标对的数目
  • 2420. 找到所有好下标
  • 509. 斐波那契数
  • 1841. League Statistics 🔒
  • 459. Repeated Substring Pattern
  • 16.13. Bisect Squares
  • 2122. 还原原数组
  • 2682. 找出转圈游戏输家
  • 2136. Earliest Possible Day of Full Bloom
  • 3062. Winner of the Linked List Game 🔒
  • 130. 被围绕的区域
  • 2007. Find Original Array From Doubled Array
  • 2526. Find Consecutive Integers from a Data Stream
  • 739. Daily Temperatures
  • 841. 钥匙和房间
  • 2689. 从 Rope 树中提取第 K 个字符 🔒
  • 1261. 在受污染的二叉树中查找元素
  • 2873. Maximum Value of an Ordered Triplet I
  • 1846. Maximum Element After Decreasing and Rearranging
  • 2488. Count Subarrays With Median K
  • 158. Read N Characters Given read4 II - Call Multiple Times 🔒
  • 338. Counting Bits
  • 909. 蛇梯棋
  • 394. 字符串解码
  • 456. 132 模式
  • 1206. 设计跳表
  • 985. 查询后的偶数和
  • 1483. Kth Ancestor of a Tree Node
  • 2045. 到达目的地的第二短时间
  • 2896. Apply Operations to Make Two Strings Equal
  • 469. 凸多边形 🔒
  • 1008. Construct Binary Search Tree from Preorder Traversal
  • 2448. 使数组相等的最小开销
  • 1130. Minimum Cost Tree From Leaf Values
  • 2964. Number of Divisible Triplet Sums 🔒
  • 1184. Distance Between Bus Stops
  • 796. Rotate String
  • 1269. Number of Ways to Stay in the Same Place After Some Steps
  • 2140. 解决智力问题
  • 1463. 摘樱桃 II
  • 3092. Most Frequent IDs
  • 14. Longest Common Prefix
  • 2474. Customers With Strictly Increasing Purchases 🔒
  • 面试题 17.06. 2 出现的次数
  • 3378. Count Connected Components in LCM Graph
  • 449. Serialize and Deserialize BST
  • 768. Max Chunks To Make Sorted II
  • 166. 分数到小数
  • 2231. 按奇偶性交换后的最大数字
  • 231. Power of Two
  • 2112. The Airport With the Most Traffic 🔒
  • 518. 零钱兑换 II
  • 190. Reverse Bits
  • 1799. Maximize Score After N Operations
  • 1666. 改变二叉树的根节点 🔒
  • 1857. Largest Color Value in a Directed Graph
  • 3154. 到达第 K 级台阶的方案数
  • 262. 行程和用户
  • 面试题 68 - I. 二叉搜索树的最近公共祖先
  • 面试题 41. 数据流中的中位数
  • 1963. 使字符串平衡的最小交换次数
  • 532. K-diff Pairs in an Array
  • 1984. Minimum Difference Between Highest and Lowest of K Scores
  • 面试题 02.05. 链表求和
  • 2551. 将珠子放入背包中
  • 948. Bag of Tokens
  • 1654. Minimum Jumps to Reach Home
  • 1095. 山脉数组中查找目标值
  • 1597. Build Binary Expression Tree From Infix Expression 🔒
  • 2255. 统计是给定字符串前缀的字符串数目
  • 2431. Maximize Total Tastiness of Purchased Fruits 🔒
  • 1657. Determine if Two Strings Are Close
  • 2219. Maximum Sum Score of Array 🔒
  • 3392. Count Subarrays of Length Three With a Condition
  • 2498. Frog Jump II
  • 1775. Equal Sum Arrays With Minimum Number of Operations
  • 558. Logical OR of Two Binary Grids Represented as Quad-Trees
  • 剑指 Offer II 022. 链表中环的入口节点
  • 624. Maximum Distance in Arrays
  • 3295. 举报垃圾信息
  • 2974. Minimum Number Game
  • 78. Subsets
  • 1313. 解压缩编码列表
  • 16.20. T9
  • 624. 数组列表中的最大距离
  • 749. 隔离病毒
  • 1973. 值等于子节点值之和的节点数量 🔒
  • 1398. Customers Who Bought Products A and B but Not C 🔒
  • 3050. Pizza Toppings Cost Analysis 🔒
  • 2824. Count Pairs Whose Sum is Less than Target
  • 2435. 矩阵中和能被 K 整除的路径
  • 2403. Minimum Time to Kill All Monsters 🔒
  • 192. 统计词频
  • 1012. Numbers With Repeated Digits
  • 1278. Palindrome Partitioning III
  • 530. Minimum Absolute Difference in BST
  • 1826. 有缺陷的传感器 🔒
  • 2930. 重新排列后包含指定子字符串的字符串数目
  • 1239. Maximum Length of a Concatenated String with Unique Characters
  • 1704. 判断字符串的两半是否相似
  • 2222. Number of Ways to Select Buildings
  • 334. 递增的三元子序列
  • 962. 最大宽度坡
  • 2168. 每个数字的频率都相同的独特子字符串的数量 🔒
  • 350. Intersection of Two Arrays II
  • 738. 单调递增的数字
  • 2258. Escape the Spreading Fire
  • 1803. 统计异或值在范围内的数对有多少
  • 1979. Find Greatest Common Divisor of Array
  • 1783. Grand Slam Titles 🔒
  • 1884. Egg Drop With 2 Eggs and N Floors
  • 2759. 将 JSON 字符串转换为对象 🔒
  • 2957. Remove Adjacent Almost-Equal Characters
  • 1421. NPV Queries 🔒
  • 2734. Lexicographically Smallest String After Substring Operation
  • 2924. Find Champion II
  • 2788. 按分隔符拆分字符串
  • 1700. Number of Students Unable to Eat Lunch
  • 2838. Maximum Coins Heroes Can Collect 🔒
  • 161. One Edit Distance 🔒
  • 1240. Tiling a Rectangle with the Fewest Squares
  • 2337. 移动片段得到字符串
  • 1215. Stepping Numbers 🔒
  • 1970. Last Day Where You Can Still Cross
  • 面试题 03.05. 栈排序
  • 971. 翻转二叉树以匹配先序遍历
  • 596. Classes More Than 5 Students
  • 998. 最大二叉树 II
  • 3178. Find the Child Who Has the Ball After K Seconds
  • 2534. 通过门的时间 🔒
  • 224. 基本计算器
  • 3555. Smallest Subarray to Sort in Every Sliding Window 🔒
  • 50. Pow(x, n)
  • 697. Degree of an Array
  • 1994. The Number of Good Subsets
  • 1178. 猜字谜
  • 2713. 矩阵中严格递增的单元格数
  • 2950. Number of Divisible Substrings 🔒
  • 2195. Append K Integers With Minimal Sum
  • 1537. Get the Maximum Score
  • 412. Fizz Buzz
  • 3048. Earliest Second to Mark Indices I
  • 3480. 删除一个冲突对后最大子数组数目
  • 1890. The Latest Login in 2020
  • 1602. 找到二叉树中最近的右侧节点 🔒
  • 3494. Find the Minimum Amount of Time to Brew Potions
  • 2387. 行排序矩阵的中位数 🔒
  • 3387. 两天自由外汇交易后的最大货币数
  • 644. Maximum Average Subarray II 🔒
  • 685. Redundant Connection II
  • 2124. 检查是否所有 A 都在 B 之前
  • 563. Binary Tree Tilt
  • 513. 找树左下角的值
  • 2681. 英雄的力量
  • 面试题 17.24. 最大子矩阵
  • 169. 多数元素
  • 1036. Escape a Large Maze
  • 剑指 Offer II 072. 求平方根
  • 2515. 到目标字符串的最短距离
  • 3435. 最短公共超序列的字母出现频率
  • 536. Construct Binary Tree from String 🔒
  • 1061. 按字典序排列最小的等效字符串
  • 2985. 计算订单平均商品数量 🔒
  • 2136. 全部开花的最早一天
  • 991. 坏了的计算器
  • 3080. Mark Elements on Array by Performing Queries
  • 2808. 使循环数组所有元素相等的最少秒数
  • 2266. Count Number of Texts
  • 629. K Inverse Pairs Array
  • 939. Minimum Area Rectangle
  • 2774. 数组的上界 🔒
  • 2889. Reshape Data Pivot
  • 957. N 天后的牢房
  • 744. Find Smallest Letter Greater Than Target
  • 2259. 移除指定数字得到的最大结果
  • 1648. Sell Diminishing-Valued Colored Balls
  • 1138. 字母板上的路径
  • 2450. Number of Distinct Binary Strings After Applying Operations 🔒
  • 2025. 分割数组的最多方案数
  • 3183. The Number of Ways to Make the Sum 🔒
  • 2451. 差值数组不同的字符串
  • 773. Sliding Puzzle
  • 2040. Kth Smallest Product of Two Sorted Arrays
  • 727. 最小窗口子序列 🔒
  • 2938. Separate Black and White Balls
  • 362. 敲击计数器 🔒
  • 1711. Count Good Meals
  • 1945. Sum of Digits of String After Convert
  • 3301. 高度互不相同的最大塔高和
  • 1294. Weather Type in Each Country 🔒
  • 3495. 使数组元素都变为零的最少操作次数
  • 3395. Subsequences with a Unique Middle Mode I
  • 1521. Find a Value of a Mysterious Function Closest to Target
  • 124. Binary Tree Maximum Path Sum
  • 3235. Check if the Rectangle Corner Is Reachable
  • 130. Surrounded Regions
  • 282. 给表达式添加运算符
  • 2872. 可以被 K 整除连通块的最大数目
  • 1964. Find the Longest Valid Obstacle Course at Each Position
  • 1323. Maximum 69 Number
  • 589. N 叉树的前序遍历
  • 2016. 增量元素之间的最大差值
  • 1246. 删除回文子数组 🔒
  • 3105. 最长的严格递增或递减子数组
  • 495. 提莫攻击
  • 676. Implement Magic Dictionary
  • LCP 39. 无人机方阵
  • 2433. 找出前缀异或的原始数组
  • 剑指 Offer II 111. 计算除法
  • 695. 岛屿的最大面积
  • 822. Card Flipping Game
  • 967. 连续差相同的数字
  • 面试题 05.03. 翻转数位
  • 1051. Height Checker
  • 1437. Check If All 1's Are at Least Length K Places Away
  • 401. 二进制手表
  • 2966. 划分数组并满足最大差限制
  • 665. 非递减数列
  • 760. Find Anagram Mappings 🔒
  • 160. Intersection of Two Linked Lists
  • 1993. 树上的操作
  • 1599. Maximum Profit of Operating a Centennial Wheel
  • 08.02. Robot in a Grid
  • 2317. Maximum XOR After Operations
  • 3061. Calculate Trapping Rain Water 🔒
  • 1473. Paint House III
  • 890. 查找和替换模式
  • 1407. Top Travellers
  • 3182. 查找得分最高的学生 🔒
  • 1162. As Far from Land as Possible
  • 1067. 范围内的数字计数 🔒
  • 1869. Longer Contiguous Segments of Ones than Zeros
  • 2422. Merge Operations to Turn Array Into a Palindrome 🔒
  • 1848. 到目标元素的最小距离
  • 1771. Maximize Palindrome Length From Subsequences
  • 2697. Lexicographically Smallest Palindrome
  • 80. 删除有序数组中的重复项 II
  • 2724. 排序方式
  • 2044. Count Number of Maximum Bitwise-OR Subsets
  • 201. Bitwise AND of Numbers Range
  • 2965. 找出缺失和重复的数字
  • 2285. 道路的最大总重要性
  • 2486. Append Characters to String to Make Subsequence
  • 1925. 统计平方和三元组的数目
  • 3380. Maximum Area Rectangle With Point Constraints I
  • 651. 4 Keys Keyboard 🔒
  • 479. 最大回文数乘积
  • 1332. Remove Palindromic Subsequences
  • 2941. 子数组的最大 GCD-Sum 🔒
  • 1823. Find the Winner of the Circular Game
  • 622. Design Circular Queue
  • 755. 倒水 🔒
  • 3545. 不同字符数量最多为 K 时的最少删除数
  • 1721. 交换链表中的节点
  • 3178. 找出 K 秒后拿着球的孩子
  • 3143. 正方形中的最多点数
  • 1882. 使用服务器处理任务
  • 3202. 找出有效子序列的最大长度 II
  • 2041. Accepted Candidates From the Interviews 🔒
  • 1157. 子数组中占绝大多数的元素
  • 324. 摆动排序 II
  • 2157. Groups of Strings
  • 3357. 最小化相邻元素的最大差值
  • 903. DI 序列的有效排列
  • 1850. Minimum Adjacent Swaps to Reach the Kth Smallest Number
  • 183. Customers Who Never Order
  • 3197. 包含所有 1 的最小矩形面积 II
  • 2600. K 件物品的最大和
  • 447. 回旋镖的数量
  • 1519. 子树中标签相同的节点数
  • 2245. 转角路径的乘积中最多能有几个尾随零
  • 1711. 大餐计数
  • 2249. Count Lattice Points Inside a Circle
  • 1493. Longest Subarray of 1's After Deleting One Element
  • 2623. 记忆函数
  • 1772. Sort Features by Popularity 🔒
  • 237. 删除链表中的节点
  • 2615. 等值距离和
  • 2518. 好分区的数目
  • 3014. Minimum Number of Pushes to Type Word I
  • 1013. Partition Array Into Three Parts With Equal Sum
  • 3371. 识别数组中的最大异常值
  • 31. Next Permutation
  • 3077. Maximum Strength of K Disjoint Subarrays
  • 583. Delete Operation for Two Strings
  • 332. Reconstruct Itinerary
  • 1271. Hexspeak 🔒
  • 1217. 玩筹码
  • 3388. 统计数组中的美丽分割
  • 527. 单词缩写 🔒
  • 1788. Maximize the Beauty of the Garden 🔒
  • 489. 扫地机器人 🔒
  • 299. 猜数字游戏
  • 1500. Design a File Sharing System 🔒
  • 1682. 最长回文子序列 II 🔒
  • 3200. Maximum Height of a Triangle
  • 479. Largest Palindrome Product
  • 3433. Count Mentions Per User
  • 854. 相似度为 K 的字符串
  • 2901. Longest Unequal Adjacent Groups Subsequence II
  • 787. K 站中转内最便宜的航班
  • 1667. 修复表中的名字
  • 845. 数组中的最长山脉
  • 459. 重复的子字符串
  • 面试题 16.20. T9 键盘
  • 781. Rabbits in Forest
  • 面试题 34. 二叉树中和为某一值的路径
  • 1055. 形成字符串的最短路径 🔒
  • 3067. 在带权树网络中统计可连接服务器对数目
  • 2236. Root Equals Sum of Children
  • 54. 螺旋矩阵
  • 3155. Maximum Number of Upgradable Servers 🔒
  • 994. 腐烂的橘子
  • 1049. Last Stone Weight II
  • 1391. Check if There is a Valid Path in a Grid
  • 2371. Minimize Maximum Value in a Grid 🔒
  • 94. 二叉树的中序遍历
  • 3336. Find the Number of Subsequences With Equal GCD
  • 559. N 叉树的最大深度
  • 3076. Shortest Uncommon Substring in an Array
  • 2507. 使用质因数之和替换后可以取到的最小值
  • 2627. Debounce
  • 43. 字符串相乘
  • 401. Binary Watch
  • 2607. Make K-Subarray Sums Equal
  • 3245. Alternating Groups III
  • 面试题 17.12. BiNode
  • 622. 设计循环队列
  • 2278. Percentage of Letter in String
  • 2998. 使 X 和 Y 相等的最少操作次数
  • 906. 超级回文数
  • 487. Max Consecutive Ones II 🔒
  • 2094. Finding 3-Digit Even Numbers
  • 2869. Minimum Operations to Collect Elements
  • 2766. Relocate Marbles
  • 1145. 二叉树着色游戏
  • 1383. 最大的团队表现值
  • 1180. 统计只含单一字母的子串 🔒
  • 700. Search in a Binary Search Tree
  • 3183. 达到总和的方法数量 🔒
  • 45. Jump Game II
  • 267. Palindrome Permutation II 🔒
  • 560. Subarray Sum Equals K
  • 2225. Find Players With Zero or One Losses
  • 115. Distinct Subsequences
  • 1290. Convert Binary Number in a Linked List to Integer
  • 2768. Number of Black Blocks
  • 2194. Excel 表中某个范围内的单元格
  • 1888. 使二进制字符串字符交替的最少反转次数
  • 2202. Maximize the Topmost Element After K Moves
  • 468. 验证IP地址
  • 20. 有效的括号
  • 640. 求解方程
  • 2771. Longest Non-decreasing Subarray From Two Arrays
  • 1612. 检查两棵二叉表达式树是否等价 🔒
  • 2617. Minimum Number of Visited Cells in a Grid
  • 3312. 查询排序后的最大公约数
  • 2527. 查询数组异或美丽值
  • 3078. Match Alphanumerical Pattern in Matrix I 🔒
  • 2525. Categorize Box According to Criteria
  • 855. 考场就座
  • 221. Maximal Square
  • 257. Binary Tree Paths
  • 2936. 包含相等值数字块的数量 🔒
  • 1111. Maximum Nesting Depth of Two Valid Parentheses Strings
  • 1245. Tree Diameter 🔒
  • 948. 令牌放置
  • 152. 乘积最大子数组
  • 3417. 跳过交替单元格的之字形遍历
  • 3040. Maximum Number of Operations With the Same Score II
  • 678. Valid Parenthesis String
  • 2399. Check Distances Between Same Letters
  • 2663. 字典序最小的美丽字符串
  • 324. Wiggle Sort II
  • 1593. 拆分字符串使唯一子字符串的数目最大
  • 613. 直线上的最近距离 🔒
  • 3303. 第一个几乎相等子字符串的下标
  • 1508. 子数组和排序后的区间和
  • 492. 构造矩形
  • 472. Concatenated Words
  • 面试题 08.09. 括号
  • 200. Number of Islands
  • 2268. Minimum Number of Keypresses 🔒
  • 3531. 统计被覆盖的建筑
  • 3442. 奇偶频次间的最大差值 I
  • 229. Majority Element II
  • 面试题 19. 正则表达式匹配
  • 3070. 元素和小于等于 k 的子矩阵的数目
  • 2490. Circular Sentence
  • 2701. Consecutive Transactions with Increasing Amounts 🔒
  • 1418. 点菜展示表
  • 1454. Active Users 🔒
  • 701. 二叉搜索树中的插入操作
  • 398. Random Pick Index
  • 2777. 日期范围生成器 🔒
  • 1335. 工作计划的最低难度
  • 2375. 根据模式串构造最小数字
  • 3256. Maximum Value Sum by Placing Three Rooks I
  • 1197. 进击的骑士 🔒
  • 11. 盛最多水的容器
  • 69. x 的平方根
  • 2455. 可被三整除的偶数的平均值
  • 1140. Stone Game II
  • 1861. 旋转盒子
  • 2978. Symmetric Coordinates 🔒
  • 467. Unique Substrings in Wraparound String
  • 1481. 不同整数的最少数目
  • 806. 写字符串需要的行数
  • 368. Largest Divisible Subset
  • 964. 表示数字的最少运算符
  • 620. 有趣的电影
  • 3148. Maximum Difference Score in a Grid
  • 2199. 找到每篇文章的主题 🔒
  • 1386. Cinema Seat Allocation
  • 1331. Rank Transform of an Array
  • 244. Shortest Word Distance II 🔒
  • 2625. Flatten Deeply Nested Array
  • 1084. 销售分析 III
  • 637. 二叉树的层平均值
  • 2004. The Number of Seniors and Juniors to Join the Company 🔒
  • LCS 03. 主题空间
  • 609. 在系统中查找重复文件
  • 1581. 进店却未进行过交易的顾客
  • 1385. Find the Distance Value Between Two Arrays
  • 1349. Maximum Students Taking Exam
  • 3487. Maximum Unique Subarray Sum After Deletion
  • 10.11. Peaks and Valleys
  • 625. Minimum Factorization 🔒
  • 2377. Sort the Olympic Table 🔒
  • 2013. Detect Squares
  • 2536. 子矩阵元素加 1
  • 2680. Maximum OR
  • 2392. Build a Matrix With Conditions
  • 1396. 设计地铁系统
  • 3205. 最大数组跳跃得分 I 🔒
  • 1740. 找到二叉树中的距离 🔒
  • 1758. Minimum Changes To Make Alternating Binary String
  • 1227. 飞机座位分配概率
  • 85. Maximal Rectangle
  • 1800. Maximum Ascending Subarray Sum
  • 2010. 职员招聘人数 II 🔒
  • 1678. 设计 Goal 解析器
  • 2261. K Divisible Elements Subarrays
  • 2350. Shortest Impossible Sequence of Rolls
  • 1376. 通知所有员工所需的时间
  • 731. 我的日程安排表 II
  • 2645. Minimum Additions to Make Valid String
  • 1653. Minimum Deletions to Make String Balanced
  • 482. License Key Formatting
  • 2310. 个位数字为 K 的整数之和
  • 867. 转置矩阵
  • 2988. 最大部门的经理 🔒
  • 1453. Maximum Number of Darts Inside of a Circular Dartboard
  • 3246. Premier League Table Ranking 🔒
  • 2611. Mice and Cheese
  • 2297. Jump Game VIII 🔒
  • 剑指 Offer II 006. 排序数组中两个数字之和
  • 2147. 分隔长廊的方案数
  • 2944. Minimum Number of Coins for Fruits
  • 2064. 分配给商店的最多商品的最小值
  • 1183. 矩阵中 1 的最大数量 🔒
  • 2759. Convert JSON String to Object 🔒
  • 1723. Find Minimum Time to Finish All Jobs
  • 2113. Elements in Array After Removing and Replacing Elements 🔒
  • 1450. 在既定时间做作业的学生人数
  • 343. Integer Break
  • 650. 两个键的键盘
  • 2999. 统计强大整数的数目
  • 3228. Maximum Number of Operations to Move Ones to the End
  • 619. 只出现一次的最大数字
  • 2698. 求一个整数的惩罚数
  • 2973. Find Number of Coins to Place in Tree Nodes
  • 1627. 带阈值的图连通性
  • 1154. 一年中的第几天
  • 2992. Number of Self-Divisible Permutations 🔒
  • 2167. 移除所有载有违禁货物车厢所需的最少时间
  • 1360. Number of Days Between Two Dates
  • 1388. Pizza With 3n Slices
  • 528. Random Pick with Weight
  • 1371. Find the Longest Substring Containing Vowels in Even Counts
  • 2168. Unique Substrings With Equal Digit Frequency 🔒
  • 剑指 Offer II 026. 重排链表
  • 3120. 统计特殊字母的数量 I
  • 1489. Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree
  • 面试题 03.02. 栈的最小值
  • 2880. 数据选取
  • 1855. Maximum Distance Between a Pair of Values
  • 2876. 有向图访问计数
  • 662. 二叉树最大宽度
  • 3081. Replace Question Marks in String to Minimize Its Value
  • 195. Tenth Line
  • 169. Majority Element
  • 3373. Maximize the Number of Target Nodes After Connecting Trees II
  • 1729. Find Followers Count
  • 222. Count Complete Tree Nodes
  • 2892. Minimizing Array After Replacing Pairs With Their Product 🔒
  • 3093. Longest Common Suffix Queries
  • 2891. 方法链
  • 2963. 统计好分割方案的数目
  • 62. Unique Paths
  • 3345. 最小可整除数位乘积 I
  • 2414. 最长的字母序连续子字符串的长度
  • 《剑指 Offer(专项突击版)》系列
  • 330. 按要求补齐数组
  • 356. Line Reflection 🔒
  • 3398. 字符相同的最短子字符串 I
  • 1090. 受标签影响的最大值
  • 1083. 销售分析 II 🔒
  • 3419. 图的最大边权的最小值
  • 1561. Maximum Number of Coins You Can Get
  • 149. 直线上最多的点数
  • 403. Frog Jump
  • 1019. Next Greater Node In Linked List
  • 69. Sqrt(x)
  • 1236. Web Crawler 🔒
  • 1150. Check If a Number Is Majority Element in a Sorted Array 🔒
  • 684. Redundant Connection
  • 3504. Longest Palindrome After Substring Concatenation II
  • 1770. 执行乘法运算的最大分数
  • LCP 46. 志愿者调配
  • 1540. Can Convert String in K Moves
  • 1748. Sum of Unique Elements
  • 1332. 删除回文子序列
  • 2645. 构造有效字符串的最少插入数
  • 3137. K 周期字符串需要的最少操作次数
  • 3280. 将日期转换为二进制表示
  • 2430. Maximum Deletions on a String
  • 2723. 两个 Promise 对象相加
  • 358. Rearrange String k Distance Apart 🔒
  • 面试题 08.12. 八皇后
  • 1182. 与目标颜色间的最短距离 🔒
  • 667. Beautiful Arrangement II
  • 458. Poor Pigs
  • 2663. Lexicographically Smallest Beautiful String
  • 2606. Find the Substring With Maximum Cost
  • 3313. 查找树中最后标记的节点 🔒
  • 1325. 删除给定值的叶子节点
  • 2879. 显示前三行
  • 389. Find the Difference
  • 2311. 小于等于 K 的最长二进制子序列
  • 面试题 16. 数值的整数次方
  • 1338. 数组大小减半
  • 2099. 找到和最大的长度为 K 的子序列
  • 3413. Maximum Coins From K Consecutive Bags
  • 1049. 最后一块石头的重量 II
  • 292. Nim Game
  • 2622. Cache With Time Limit
  • 135. Candy
  • 86. Partition List
  • 200. 岛屿数量
  • 3281. 范围内整数的最大得分
  • LCP 78. 城墙防线
  • 1027. Longest Arithmetic Subsequence
  • 2893. Calculate Orders Within Each Interval 🔒
  • 284. 窥视迭代器
  • 3400. Maximum Number of Matching Indices After Right Shifts 🔒
  • 1848. Minimum Distance to the Target Element
  • 1745. 分割回文串 IV
  • 955. Delete Columns to Make Sorted II
  • 1451. Rearrange Words in a Sentence
  • 2708. 一个小组的最大实力值
  • 3304. 找出第 K 个字符 I
  • LCP 30. 魔塔游戏
  • 1462. 课程表 IV
  • 3397. Maximum Number of Distinct Elements After Operations
  • 2404. Most Frequent Even Element
  • 1816. 截断句子
  • 3347. Maximum Frequency of an Element After Performing Operations II
  • 2894. 分类求和并作差
  • 1405. Longest Happy String
  • 2633. 将对象转换为 JSON 字符串 🔒
  • 1601. Maximum Number of Achievable Transfer Requests
  • 2364. Count Number of Bad Pairs
  • 1699. Number of Calls Between Two Persons 🔒
  • 329. Longest Increasing Path in a Matrix
  • 102. 二叉树的层序遍历
  • 1921. 消灭怪物的最大数量
  • 3000. Maximum Area of Longest Diagonal Rectangle
  • 2770. Maximum Number of Jumps to Reach the Last Index
  • 1861. Rotating the Box
  • 152. Maximum Product Subarray
  • 598. 区间加法 II
  • 2629. 复合函数
  • 902. Numbers At Most N Given Digit Set
  • 3537. Fill a Special Grid
  • 2860. 让所有学生保持开心的分组方法数
  • 2533. 好二进制字符串的数量 🔒
  • 642. 设计搜索自动补全系统 🔒
  • 519. Random Flip Matrix
  • 3227. Vowels Game in a String
  • 03.01. Three in One
  • 2989. 班级表现 🔒
  • 229. 多数元素 II
  • 1409. 查询带键的排列
  • 3215. 用偶数异或设置位计数三元组 II 🔒
  • 3079. Find the Sum of Encrypted Integers
  • 1969. Minimum Non-Zero Product of the Array Elements
  • LCP 24. 数字游戏
  • 1007. 行相等的最少多米诺旋转
  • 1709. 访问日期之间最大的空档期 🔒
  • 1714. 数组中特殊等间距元素的和 🔒
  • 3521. Find Product Recommendation Pairs
  • 2056. Number of Valid Move Combinations On Chessboard
  • 3088. Make String Anti-palindrome 🔒
  • 1640. 能否连接形成数组
  • 2705. 精简对象
  • 1976. 到达目的地的方案数
  • 950. Reveal Cards In Increasing Order
  • 1357. 每隔 n 个顾客打折
  • 1853. 转换日期格式 🔒
  • 748. 最短补全词
  • 2376. 统计特殊整数
  • 2979. 最贵的无法购买的商品 🔒
  • 面试题 13. 机器人的运动范围
  • LCP 80. 生物进化录
  • 剑指 Offer II 068. 查找插入位置
  • 2191. 将杂乱无章的数字排序
  • 2211. 统计道路上的碰撞次数
  • 面试题 21. 调整数组顺序使奇数位于偶数前面
  • 1895. 最大的幻方
  • 3108. 带权图里旅途的最小代价
  • 1171. 从链表中删去总和值为零的连续节点
  • 205. 同构字符串
  • 2416. 字符串的前缀分数和
  • 383. 赎金信
  • 3104. Find Longest Self-Contained Substring 🔒
  • 2373. Largest Local Values in a Matrix
  • 1130. 叶值的最小代价生成树
  • 2779. Maximum Beauty of an Array After Applying Operation
  • 2068. Check Whether Two Strings are Almost Equivalent
  • 3483. 不同三位偶数的数目
  • 645. 错误的集合
  • 2153. 每辆车的乘客人数 II 🔒
  • 2310. Sum of Numbers With Units Digit K
  • 3111. 覆盖所有点的最少矩形数目
  • 859. 亲密字符串
  • 2941. Maximum GCD-Sum of a Subarray 🔒
  • LCP 74. 最强祝福力场
  • 1843. 可疑银行账户 🔒
  • 2158. Amount of New Area Painted Each Day 🔒
  • 1099. Two Sum Less Than K 🔒
  • 3288. 最长上升路径的长度
  • 2380. Time Needed to Rearrange a Binary String
  • 2040. 两个有序数组的第 K 小乘积
  • 561. Array Partition
  • 514. 自由之路
  • 2654. 使数组所有元素变成 1 的最少操作次数
  • 823. 带因子的二叉树
  • 1402. Reducing Dishes
  • 3149. Find the Minimum Cost Array Permutation
  • 1319. Number of Operations to Make Network Connected
  • 913. Cat and Mouse
  • 2630. 记忆函数 II
  • 2280. 表示一个折线图的最少线段数
  • 剑指 Offer II 061. 和最小的 k 个数对
  • 2937. Make Three Strings Equal
  • 1828. 统计一个圆中点的数目
  • 1333. 餐厅过滤器
  • 1017. 负二进制转换
  • 2852. Sum of Remoteness of All Cells 🔒
  • LCP 40. 心算挑战
  • 3017. 按距离统计房屋对数目 II
  • 2745. 构造最长的新字符串
  • 789. 逃脱阻碍者
  • 2407. Longest Increasing Subsequence II
  • 1851. 包含每个查询的最小区间
  • 面试题 01.07. 旋转矩阵
  • 2844. Minimum Operations to Make a Special Number
  • 3336. 最大公约数相等的子序列数量
  • 3491. 电话号码前缀 🔒
  • 2685. Count the Number of Complete Components
  • 2411. 按位或最大的最小子数组长度
  • LCP 35. 电动车游城市
  • 1502. Can Make Arithmetic Progression From Sequence
  • 3273. Minimum Amount of Damage Dealt to Bob
  • 2725. Interval Cancellation
  • 153. 寻找旋转排序数组中的最小值
  • 3131. 找出与数组相加的整数 I
  • 2575. 找出字符串的可整除数组
  • 2626. 数组归约运算
  • 1948. 删除系统中的重复文件夹
  • 1046. 最后一块石头的重量
  • 933. 最近的请求次数
  • 3534. Path Existence Queries in a Graph II
  • 3025. Find the Number of Ways to Place People I
  • 3087. 查找热门话题标签 🔒
  • 1836. 从未排序的链表中移除重复元素 🔒
  • 3409. 最长相邻绝对差递减子序列
  • 1428. Leftmost Column with at Least a One 🔒
  • 17.11. Find Closest
  • 2887. 填充缺失值
  • 581. 最短无序连续子数组
  • 3152. 特殊数组 II
  • 2841. 几乎唯一子数组的最大和
  • 120. Triangle
  • 3206. 交替组 I
  • 2649. Nested Array Generator
  • 1909. 删除一个元素使数组严格递增
  • 3548. Equal Sum Grid Partition II
  • 2751. 机器人碰撞
  • 3179. Find the N-th Value After K Seconds
  • 191. Number of 1 Bits
  • 577. 员工奖金
  • 3257. Maximum Value Sum by Placing Three Rooks II
  • 173. 二叉搜索树迭代器
  • 2846. 边权重均等查询
  • 1748. 唯一元素的和
  • 2381. Shifting Letters II
  • 2929. 给小朋友们分糖果 II
  • 534. 游戏玩法分析 III 🔒
  • 2971. Find Polygon With the Largest Perimeter
  • 485. 最大连续 1 的个数
  • 1476. Subrectangle Queries
  • 473. 火柴拼正方形
  • 829. 连续整数求和
  • 2603. Collect Coins in a Tree
  • 471. Encode String with Shortest Length 🔒
  • 503. Next Greater Element II
  • 1423. Maximum Points You Can Obtain from Cards
  • LCP 69. Hello LeetCode!
  • 1616. 分割两个字符串得到回文串
  • 2671. Frequency Tracker
  • 2819. 购买巧克力后的最小相对损失 🔒
  • 1767. 寻找没有被执行的任务对 🔒
  • 2111. 使数组 K 递增的最少操作次数
  • 704. 二分查找
  • LCP 06. 拿硬币
  • 2967. Minimum Cost to Make Array Equalindromic
  • 1005. K 次取反后最大化的数组和
  • 841. Keys and Rooms
  • 2756. 批处理查询 🔒
  • 2275. Largest Combination With Bitwise AND Greater Than Zero
  • 2279. 装满石头的背包的最大数量
  • 143. Reorder List
  • 348. 设计井字棋 🔒
  • 1572. 矩阵对角线元素的和
  • 1589. 所有排列中的最大和
  • 968. Binary Tree Cameras
  • 23. 合并 K 个升序链表
  • 2541. Minimum Operations to Make Array Equal II
  • 2712. 使所有字符相等的最小成本
  • 1036. 逃离大迷宫
  • 286. Walls and Gates 🔒
  • 574. Winning Candidate 🔒
  • 1856. 子数组最小乘积的最大值
  • 3044. 出现频率最高的质数
  • 1910. 删除一个字符串中所有出现的给定子字符串
  • 1339. 分裂二叉树的最大乘积
  • 2547. Minimum Cost to Split an Array
  • 870. 优势洗牌
  • 2147. Number of Ways to Divide a Long Corridor
  • 2325. 解密消息
  • 394. Decode String
  • 714. 买卖股票的最佳时机含手续费
  • 602. 好友申请 II :谁有最多的好友
  • 270. Closest Binary Search Tree Value 🔒
  • 1701. Average Waiting Time
  • 剑指 Offer II 001. 整数除法
  • 1838. Frequency of the Most Frequent Element
  • 17.12. BiNode
  • 3497. 分析订阅转化
  • 3286. 穿越网格图的安全路径
  • 1714. Sum Of Special Evenly-Spaced Elements In Array 🔒
  • 剑指 Offer II 007. 数组中和为 0 的三个数
  • 3120. Count the Number of Special Characters I
  • 3113. Find the Number of Subarrays Where Boundary Elements Are Maximum
  • 627. Swap Salary
  • 2758. 下一天 🔒
  • 1251. Average Selling Price
  • 1587. Bank Account Summary II
  • 1259. Handshakes That Don't Cross 🔒
  • 2301. 替换字符后匹配
  • 1228. 等差数列中缺失的数字 🔒
  • 1465. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
  • 1484. 按日期分组销售产品
  • 2014. 重复 K 次的最长子序列
  • 732. My Calendar III
  • 1975. Maximum Matrix Sum
  • 3399. Smallest Substring With Identical Characters II
  • 3481. Apply Substitutions 🔒
  • 2229. Check if an Array Is Consecutive 🔒
  • 1270. 向公司 CEO 汇报工作的所有人 🔒
  • 2550. 猴子碰撞的方法数
  • 3353. Minimum Total Operations 🔒
  • 2543. Check if Point Is Reachable
  • 1864. Minimum Number of Swaps to Make the Binary String Alternating
  • 1753. 移除石子的最大得分
  • 剑指 Offer II 114. 外星文字典
  • 250. Count Univalue Subtrees 🔒
  • 1649. Create Sorted Array through Instructions
  • 1370. 上升下降字符串
  • 414. 第三大的数
  • 1787. Make the XOR of All Segments Equal to Zero
  • 418. Sentence Screen Fitting 🔒
  • 1218. Longest Arithmetic Subsequence of Given Difference
  • 582. 杀掉进程 🔒
  • 912. 排序数组
  • 3511. 构造正数组 🔒
  • 2651. 计算列车到站时间
  • 13. 罗马数字转整数
  • 1141. User Activity for the Past 30 Days I
  • 461. 汉明距离
  • 703. Kth Largest Element in a Stream
  • 1887. 使数组元素相等的减少操作次数
  • 404. 左叶子之和
  • 1807. Evaluate the Bracket Pairs of a String
  • 1684. 统计一致字符串的数目
  • 1509. 三次操作后最大值与最小值的最小差
  • 1047. 删除字符串中的所有相邻重复项
  • 2817. 限制条件下元素之间的最小绝对差
  • 1169. 查询无效交易
  • 2397. Maximum Rows Covered by Columns
  • 1105. Filling Bookcase Shelves
  • 1881. Maximum Value after Insertion
  • 1626. 无矛盾的最佳球队
  • 1849. 将字符串拆分为递减的连续值
  • 2596. 检查骑士巡视方案
  • 306. Additive Number
  • 2867. Count Valid Paths in a Tree
  • 1546. Maximum Number of Non-Overlapping Subarrays With Sum Equals Target
  • 2725. 间隔取消
  • 1517. Find Users With Valid E-Mails
  • 973. K Closest Points to Origin
  • 188. 买卖股票的最佳时机 IV
  • 2763. 所有子数组中不平衡数字之和
  • 2314. 每个城市最高气温的第一天 🔒
  • 2586. 统计范围内的元音字符串数
  • 2665. 计数器 II
  • 989. 数组形式的整数加法
  • 558. 四叉树交集
  • 2777. Date Range Generator 🔒
  • 3089. 查找突发行为 🔒
  • 3035. Maximum Palindromes After Operations
  • 1575. 统计所有可行路径
  • 1569. 将子数组重新排序得到同一个二叉搜索树的方案数
  • 1485. 克隆含随机指针的二叉树 🔒
  • 3096. Minimum Levels to Gain More Points
  • 1233. Remove Sub-Folders from the Filesystem
  • 2205. The Number of Users That Are Eligible for Discount 🔒
  • 606. 根据二叉树创建字符串
  • 2155. All Divisions With the Highest Score of a Binary Array
  • 08.08. Permutation II
  • 3223. Minimum Length of String After Operations
  • 1519. Number of Nodes in the Sub-Tree With the Same Label
  • 1796. Second Largest Digit in a String
  • 623. 在二叉树中增加一行
  • 2694. 事件发射器
  • 3148. 矩阵中的最大得分
  • 1658. Minimum Operations to Reduce X to Zero
  • 1121. Divide Array Into Increasing Sequences 🔒
  • 1440. Evaluate Boolean Expression 🔒
  • 2330. Valid Palindrome IV 🔒
  • 2578. 最小和分割
  • 49. 字母异位词分组
  • 480. 滑动窗口中位数
  • 1227. Airplane Seat Assignment Probability
  • 992. Subarrays with K Different Integers
  • 3018. Maximum Number of Removal Queries That Can Be Processed I 🔒
  • 686. Repeated String Match
  • 2585. 获得分数的方法数
  • 597. Friend Requests I Overall Acceptance Rate 🔒
  • 2700. Differences Between Two Objects 🔒
  • 3272. 统计好整数的数目
  • 2033. 获取单值网格的最小操作数
  • 2747. Count Zero Request Servers
  • 2274. 不含特殊楼层的最大连续楼层数
  • 451. Sort Characters By Frequency
  • 44. 通配符匹配
  • 3374. First Letter Capitalization II
  • 5. 最长回文子串
  • 剑指 Offer II 050. 向下的路径节点之和
  • 875. 爱吃香蕉的珂珂
  • 216. Combination Sum III
  • 3403. 从盒子中找出字典序最大的字符串 I
  • 2823. 深度对象筛选 🔒
  • 3475. DNA 模式识别
  • 2097. Valid Arrangement of Pairs
  • 2. 两数相加
  • 615. 平均工资:部门与公司比较 🔒
  • 1341. Movie Rating
  • 3203. Find Minimum Diameter After Merging Two Trees
  • 2339. All the Matches of the League 🔒
  • 1531. String Compression II
  • 3213. Construct String with Minimum Cost
  • 1177. Can Make Palindrome from Substring
  • 1828. Queries on Number of Points Inside a Circle
  • 947. Most Stones Removed with Same Row or Column
  • 997. 找到小镇的法官
  • 466. Count The Repetitions
  • 1893. 检查是否区域内所有整数都被覆盖
  • 1931. Painting a Grid With Three Different Colors
  • 481. 神奇字符串
  • 3343. 统计平衡排列的数目
  • 1769. 移动所有球到每个盒子所需的最小操作数
  • 1300. Sum of Mutated Array Closest to Target
  • 404. Sum of Left Leaves
  • 737. 句子相似性 II 🔒
  • 93. Restore IP Addresses
  • 121. 买卖股票的最佳时机
  • 2915. 和为目标值的最长子序列的长度
  • 729. 我的日程安排表 I
  • 02.05. Sum Lists
  • 3003. 执行操作后的最大分割数量
  • 1537. 最大得分
  • 562. 矩阵中最长的连续1线段 🔒
  • 3197. Find the Minimum Area to Cover All Ones II
  • 1913. 两个数对之间的最大乘积差
  • 17.16. The Masseuse
  • 1513. 仅含 1 的子串数
  • 2457. Minimum Addition to Make Integer Beautiful
  • 837. 新 21 点
  • 面试题 43. 1 ~ n 整数中 1 出现的次数
  • 1827. Minimum Operations to Make the Array Increasing
  • 2990. Loan Types 🔒
  • 20. Valid Parentheses
  • 691. Stickers to Spell Word
  • 1874. 两个数组的最小乘积和 🔒
  • 1346. Check If N and Its Double Exist
  • 591. Tag Validator
  • 2821. 延迟每个 Promise 对象的解析 🔒
  • 2899. 上一个遍历的整数
  • 3254. 长度为 K 的子数组的能量值 I
  • 373. Find K Pairs with Smallest Sums
  • 530. 二叉搜索树的最小绝对差
  • 3482. 分析组织层级
  • 2826. 将三个组排序
  • 884. Uncommon Words from Two Sentences
  • 3179. K 秒后第 N 个元素的值
  • 952. 按公因数计算最大组件大小
  • 2037. 使每位学生都有座位的最少移动次数
  • 1024. 视频拼接
  • 3049. 标记所有下标的最早秒数 II
  • 剑指 Offer II 055. 二叉搜索树迭代器
  • 1053. Previous Permutation With One Swap
  • 2386. 找出数组的第 K 大和
  • 2849. 判断能否在给定时间到达单元格
  • 3500. 将数组分割为子数组的最小代价
  • 3203. 合并两棵树后的最小直径
  • 2828. 判别首字母缩略词
  • 2264. Largest 3-Same-Digit Number in String
  • 1031. Maximum Sum of Two Non-Overlapping Subarrays
  • 17. 电话号码的字母组合
  • 2116. 判断一个括号字符串是否有效
  • 7. Reverse Integer
  • 1916. 统计为蚁群构筑房间的不同顺序
  • 1916. Count Ways to Build Rooms in an Ant Colony
  • 2718. Sum of Matrix After Queries
  • 1557. 可以到达所有点的最少点数目
  • 2648. Generate Fibonacci Sequence
  • 932. Beautiful Array
  • 3488. 距离最小相等元素查询
  • 1180. Count Substrings with Only One Distinct Letter 🔒
  • 1802. Maximum Value at a Given Index in a Bounded Array
  • 9. Palindrome Number
  • 2905. Find Indices With Index and Value Difference II
  • 1320. 二指输入的的最小距离
  • 448. 找到所有数组中消失的数字
  • 2074. 反转偶数长度组的节点
  • 668. 乘法表中第k小的数
  • 552. 学生出勤记录 II
  • 3287. Find the Maximum Sequence Value of Array
  • 320. 列举单词的全部缩写 🔒
  • 1854. 人口最多的年份
  • 1534. 统计好三元组
  • 2176. Count Equal and Divisible Pairs in an Array
  • 1605. Find Valid Matrix Given Row and Column Sums
  • 840. Magic Squares In Grid
  • 2927. Distribute Candies Among Children III 🔒
  • 68. Text Justification
  • 1878. 矩阵中最大的三个菱形和
  • 剑指 Offer II 002. 二进制加法
  • 2180. Count Integers With Even Digit Sum
  • 1846. 减小和重新排列数组后的最大元素
  • 1293. 网格中的最短路径
  • 2114. Maximum Number of Words Found in Sentences
  • 3265. 统计近似相等数对 I
  • 2155. 分组得分最高的所有下标
  • 2878. 获取 DataFrame 的大小
  • 1697. Checking Existence of Edge Length Limited Paths
  • 2372. Calculate the Influence of Each Salesperson 🔒
  • 3158. Find the XOR of Numbers Which Appear Twice
  • 2360. 图中的最长环
  • 3507. Minimum Pair Removal to Sort Array I
  • 2508. Add Edges to Make Degrees of All Nodes Even
  • 2005. Subtree Removal Game with Fibonacci Tree 🔒
  • 1565. Unique Orders and Customers Per Month 🔒
  • 2830. 销售利润最大化
  • 剑指 Offer II 033. 变位词组
  • 775. 全局倒置与局部倒置
  • 2260. Minimum Consecutive Cards to Pick Up
  • 2300. 咒语和药水的成功对数
  • 2020. 无流量的帐户数 🔒
  • 235. Lowest Common Ancestor of a Binary Search Tree
  • 2181. 合并零之间的节点
  • 40. 组合总和 II
  • 2082. 富有客户的数量 🔒
  • 2587. Rearrange Array to Maximize Prefix Score
  • 782. Transform to Chessboard
  • 2478. Number of Beautiful Partitions
  • 3498. Reverse Degree of a String
  • 1109. 航班预订统计
  • 3091. 执行操作使数据元素之和大于等于 K
  • 1728. 猫和老鼠 II
  • 2913. 子数组不同元素数目的平方和 I
  • 219. 存在重复元素 II
  • 2175. The Change in Global Rankings 🔒
  • LeetCode
  • 215. 数组中的第K个最大元素
  • 1229. Meeting Scheduler 🔒
  • 3262. 查找重叠的班次 🔒
  • 2731. Movement of Robots
  • 2260. 必须拿起的最小连续卡牌数
  • 2522. Partition String Into Substrings With Values at Most K
  • 366. Find Leaves of Binary Tree 🔒
  • 1994. 好子集的数目
  • 30. Substring with Concatenation of All Words
  • 827. 最大人工岛
  • 245. 最短单词距离 III 🔒
  • 471. 编码最短长度的字符串 🔒
  • 2495. 乘积为偶数的子数组数 🔒
  • 2385. 感染二叉树需要的总时间
  • 627. 变更性别
  • 2821. Delay the Resolution of Each Promise 🔒
  • 1523. 在区间范围内统计奇数数目
  • 2558. 从数量最多的堆取走礼物
  • 2389. 和有限的最长子序列
  • 3450. 一张长椅上的最多学生 🔒
  • 1165. Single-Row Keyboard 🔒
  • 2173. 最多连胜的次数 🔒
  • 1554. 只有一个不同字符的字符串 🔒
  • 2548. Maximum Price to Fill a Bag 🔒
  • 322. Coin Change
  • 740. Delete and Earn
  • 1096. 花括号展开 II
  • 979. Distribute Coins in Binary Tree
  • 2804. Array Prototype ForEach 🔒
  • 2990. 贷款类型 🔒
  • 2650. 设计可取消函数
  • 1697. 检查边长度限制的路径是否存在
  • 2795. Parallel Execution of Promises for Individual Results Retrieval 🔒
  • 3421. Find Students Who Improved
  • 985. Sum of Even Numbers After Queries
  • 528. 按权重随机选择
  • 189. Rotate Array
  • 1277. Count Square Submatrices with All Ones
  • 3004. Maximum Subtree of the Same Color 🔒
  • 304. Range Sum Query 2D - Immutable
  • 1152. Analyze User Website Visit Pattern 🔒
  • 3239. Minimum Number of Flips to Make Binary Grid Palindromic I
  • 706. 设计哈希映射
  • 1598. 文件夹操作日志搜集器
  • 2000. 反转单词前缀
  • 2428. Maximum Sum of an Hourglass
  • 22. 括号生成
  • 3393. Count Paths With the Given XOR Value
  • 1939. Users That Actively Request Confirmation Messages 🔒
  • 665. Non-decreasing Array
  • 1929. 数组串联
  • 3192. 使二进制数组全部等于 1 的最少操作次数 II
  • 3368. 首字母大写 🔒
  • 368. 最大整除子集
  • 783. 二叉搜索树节点最小距离
  • 3215. Count Triplets with Even XOR Set Bits II 🔒
  • 958. Check Completeness of a Binary Tree
  • 1932. 合并多棵二叉搜索树
  • 364. 嵌套列表加权和 II 🔒
  • 1120. Maximum Average Subtree 🔒
  • 2465. 不同的平均值数目
  • 2750. 将数组划分成若干好子数组的方式
  • 2306. 公司命名
  • 3147. Taking Maximum Energy From the Mystic Dungeon
  • 247. Strobogrammatic Number II 🔒
  • 686. 重复叠加字符串匹配
  • 3159. 查询数组中元素的出现位置
  • 460. LFU Cache
  • 3139. 使数组中所有元素相等的最小开销
  • 面试题 17.19. 消失的两个数字
  • 1382. 将二叉搜索树变平衡
  • 1926. Nearest Exit from Entrance in Maze
  • 1815. 得到新鲜甜甜圈的最多组数
  • 17.24. Max Submatrix
  • 3169. Count Days Without Meetings
  • 1621. Number of Sets of K Non-Overlapping Line Segments
  • 2060. 同源字符串检测
  • 98. Validate Binary Search Tree
  • 3090. 每个字符最多出现两次的最长子字符串
  • 2023. Number of Pairs of Strings With Concatenation Equal to Target
  • 185. Department Top Three Salaries
  • 3408. Design Task Manager
  • 2127. Maximum Employees to Be Invited to a Meeting
  • 1600. 王位继承顺序
  • 2692. 使对象不可变 🔒
  • 2121. 相同元素的间隔之和
  • 3028. Ant on the Boundary
  • 1901. 寻找峰值 II
  • 2499. 让数组不相等的最小总代价
  • 3047. 求交集区域内的最大正方形面积
  • 2129. 将标题首字母大写
  • 1202. 交换字符串中的元素
  • 232. 用栈实现队列
  • 2240. Number of Ways to Buy Pens and Pencils
  • 2839. 判断通过操作能否让字符串相等 I
  • 305. Number of Islands II 🔒
  • 剑指 Offer II 027. 回文链表
  • 230. 二叉搜索树中第 K 小的元素
  • 3361. 两个字符串的切换距离
  • 1760. 袋子里最少数目的球
  • 2894. Divisible and Non-divisible Sums Difference
  • 1060. Missing Element in Sorted Array 🔒
  • 376. 摆动序列
  • 1079. 活字印刷
  • 14. 最长公共前缀
  • 656. Coin Path 🔒
  • 434. Number of Segments in a String
  • 2625. 扁平化嵌套数组
  • 3410. 删除所有值为某个元素后的最大子数组和
  • 1752. Check if Array Is Sorted and Rotated
  • 1075. 项目员工 I
  • 1045. Customers Who Bought All Products
  • 1021. 删除最外层的括号
  • 2546. 执行逐位运算使字符串相等
  • 1527. 患某种疾病的患者
  • 03.04. Implement Queue using Stacks
  • 1093. Statistics from a Large Sample
  • 3082. 求出所有子序列的能量和
  • 289. Game of Life
  • LCP 14. 切分数组
  • 02.06. Palindrome Linked List
  • 616. 给字符串添加加粗标签 🔒
  • 103. Binary Tree Zigzag Level Order Traversal
  • 2558. Take Gifts From the Richest Pile
  • 2949. Count Beautiful Substrings II
  • 2611. 老鼠和奶酪
  • 281. Zigzag Iterator 🔒
  • 面试题 17. 打印从 1 到最大的 n 位数
  • 55. Jump Game
  • 1898. 可移除字符的最大数目
  • 1594. Maximum Non Negative Product in a Matrix
  • 650. 2 Keys Keyboard
  • 237. Delete Node in a Linked List
  • 1495. 上月播放的儿童适宜电影 🔒
  • 1527. Patients With a Condition
  • 2726. 使用方法链的计算器
  • 2063. 所有子字符串中的元音
  • 2172. 数组的最大与和
  • 215. Kth Largest Element in an Array
  • 288. Unique Word Abbreviation 🔒
  • 1351. 统计有序矩阵中的负数
  • 1597. 根据中缀表达式构造二叉表达式树 🔒
  • 3039. Apply Operations to Make String Empty
  • 1617. Count Subtrees With Max Distance Between Cities
  • 1815. Maximum Number of Groups Getting Fresh Donuts
  • 1498. Number of Subsequences That Satisfy the Given Sum Condition
  • 3523. Make Array Non-decreasing
  • 2951. 找出峰值
  • 1567. Maximum Length of Subarray With Positive Product
  • 3523. 非递减数组的最大长度
  • 3471. 找出最大的几近缺失整数
  • 598. Range Addition II
  • 2814. 避免淹死并到达目的地的最短时间 🔒
  • 1448. Count Good Nodes in Binary Tree
  • 剑指 Offer II 119. 最长连续序列
  • 1656. Design an Ordered Stream
  • 405. 数字转换为十六进制数
  • 3535. Unit Conversion II 🔒
  • 1391. 检查网格中是否存在有效路径
  • 2080. 区间内查询数字的频率
  • 3241. 标记所有节点需要的时间
  • 2273. 移除字母异位词后的结果数组
  • 296. 最佳的碰头地点 🔒
  • 320. Generalized Abbreviation 🔒
  • 969. 煎饼排序
  • 3194. 最小元素和最大元素的最小平均值
  • 1385. 两个数组间的距离值
  • 3172. 第二天验证 🔒
  • 1795. 每个产品在不同商店的价格
  • 1961. Check If String Is a Prefix of Array
  • 1738. Find Kth Largest XOR Coordinate Value
  • 534. Game Play Analysis III 🔒
  • 784. 字母大小写全排列
  • 1900. 最佳运动员的比拼回合
  • 46. 全排列
  • 3451. Find Invalid IP Addresses
  • 1307. Verbal Arithmetic Puzzle
  • 366. 寻找二叉树的叶子节点 🔒
  • 3467. 将数组按照奇偶性转化
  • 187. Repeated DNA Sequences
  • 862. Shortest Subarray with Sum at Least K
  • 255. Verify Preorder Sequence in Binary Search Tree 🔒
  • 990. Satisfiability of Equality Equations
  • 3376. Minimum Time to Break Locks I
  • 694. Number of Distinct Islands 🔒
  • 1059. All Paths from Source Lead to Destination 🔒
  • 剑指 Offer II 098. 路径的数目
  • 2003. 每棵子树内缺失的最小基因值
  • 1796. 字符串中第二大的数字
  • 497. 非重叠矩形中的随机点
  • 688. Knight Probability in Chessboard
  • 2975. Maximum Square Area by Removing Fences From a Field
  • 剑指 Offer II 086. 分割回文子字符串
  • 3204. Bitwise User Permissions Analysis 🔒
  • 2387. Median of a Row Wise Sorted Matrix 🔒
  • 3349. 检测相邻递增子数组 I
  • 2366. 将数组排序的最少替换次数
  • 1762. 能看到海景的建筑物 🔒
  • 2145. Count the Hidden Sequences
  • 2254. Design Video Sharing Platform 🔒
  • 1069. Product Sales Analysis II 🔒
  • 1059. 从始点到终点的所有路径 🔒
  • 2071. Maximum Number of Tasks You Can Assign
  • 3547. 图中边值的最大和
  • 面试题 10.09. 排序矩阵查找
  • 1752. 检查数组是否经排序和轮转得到
  • 331. 验证二叉树的前序序列化
  • 1003. Check If Word Is Valid After Substitutions
  • 1564. Put Boxes Into the Warehouse I 🔒
  • 2445. Number of Nodes With Value One 🔒
  • 剑指 Offer II 108. 单词演变
  • 2910. Minimum Number of Groups to Create a Valid Assignment
  • 363. 矩形区域不超过 K 的最大数值和
  • 2080. Range Frequency Queries
  • 3001. 捕获黑皇后需要的最少移动次数
  • 1318. Minimum Flips to Make a OR b Equal to c
  • 268. 丢失的数字
  • 2876. Count Visited Nodes in a Directed Graph
  • 2072. 赢得比赛的大学 🔒
  • 1821. Find Customers With Positive Revenue this Year 🔒
  • 3157. 找到具有最小和的树的层数 🔒
  • 628. Maximum Product of Three Numbers
  • 3133. Minimum Array End
  • 3098. Find the Sum of Subsequence Powers
  • 面试题 62. 圆圈中最后剩下的数字
  • 2058. Find the Minimum and Maximum Number of Nodes Between Critical Points
  • 217. Contains Duplicate
  • 1114. Print in Order
  • 3293. Calculate Product Final Price 🔒
  • 3352. Count K-Reducible Numbers Less Than N
  • 1139. 最大的以 1 为边界的正方形
  • 2731. 移动机器人
  • 面试题 24. 反转链表
  • 586. 订单最多的客户
  • 3116. Kth Smallest Amount With Single Denomination Combination
  • 1172. Dinner Plate Stacks
  • 811. Subdomain Visit Count
  • 3408. 设计任务管理器
  • 1497. 检查数组对是否可以被 k 整除
  • 2607. 使子数组元素和相等
  • 2681. Power of Heroes
  • 851. Loud and Rich
  • 1712. Ways to Split Array Into Three Subarrays
  • 3142. Check if Grid Satisfies Conditions
  • 276. Paint Fence 🔒
  • 3521. 查找推荐产品对
  • 1785. Minimum Elements to Add to Form a Given Sum
  • 1663. 具有给定数值的最小字符串
  • 3409. Longest Subsequence With Decreasing Adjacent Difference
  • 70. 爬楼梯
  • 2210. 统计数组中峰和谷的数量
  • 956. Tallest Billboard
  • 1997. First Day Where You Have Been in All the Rooms
  • 522. 最长特殊序列 II
  • 3201. Find the Maximum Length of Valid Subsequence I
  • 3362. 零数组变换 III
  • 3018. 可处理的最大删除操作数 I 🔒
  • 3195. 包含所有 1 的最小矩形面积 I
  • 557. Reverse Words in a String III
  • 51. N 皇后
  • 207. Course Schedule
  • 249. 移位字符串分组 🔒
  • 2054. 两个最好的不重叠活动
  • 738. Monotone Increasing Digits
  • 805. 数组的均值分割
  • 970. 强整数
  • 1235. 规划兼职工作
  • 2109. 向字符串添加空格
  • 2843. Count Symmetric Integers
  • 1142. 过去30天的用户活动 II 🔒
  • 2189. 建造纸牌屋的方法数 🔒
  • 906. Super Palindromes
  • 2649. 嵌套数组生成器
  • 2331. Evaluate Boolean Binary Tree
  • 02.01. Remove Duplicate Node
  • 2472. 不重叠回文子字符串的最大数目
  • 1286. Iterator for Combination
  • 879. Profitable Schemes
  • 2704. To Be Or Not To Be
  • 2395. Find Subarrays With Equal Sum
  • 2481. 分割圆的最少切割次数
  • 面试题 46. 把数字翻译成字符串
  • 2754. 将函数绑定到上下文 🔒
  • 2793. Status of Flight Tickets 🔒
  • 3536. 两个数字的最大乘积
  • 415. 字符串相加
  • 355. Design Twitter
  • 1747. 应该被禁止的 Leetflex 账户 🔒
  • 403. 青蛙过河
  • 1899. Merge Triplets to Form Target Triplet
  • 2601. 质数减法运算
  • 326. Power of Three
  • 3180. Maximum Total Reward Using Operations I
  • 3146. 两个字符串的排列差
  • 1764. 通过连接另一个数组的子数组得到一个数组
  • 2185. Counting Words With a Given Prefix
  • 1267. Count Servers that Communicate
  • 面试题 57. 和为 s 的两个数字
  • 面试题 02.03. 删除中间节点
  • 1337. 矩阵中战斗力最弱的 K 行
  • 1969. 数组元素的最小非零乘积
  • 329. 矩阵中的最长递增路径
  • 3109. Find the Index of Permutation 🔒
  • 1852. 每个子数组的数字种类数 🔒
  • 2262. Total Appeal of A String
  • 剑指 Offer II 096. 字符串交织
  • 208. Implement Trie (Prefix Tree)
  • 1731. The Number of Employees Which Report to Each Employee
  • 2319. 判断矩阵是否是一个 X 矩阵
  • 291. Word Pattern II 🔒
  • 2146. 价格范围内最高排名的 K 样物品
  • 3252. 英超积分榜排名 II 🔒
  • 474. 一和零
  • 2668. Find Latest Salaries 🔒
  • 2427. Number of Common Factors
  • 147. Insertion Sort List
  • 1708. Largest Subarray Length K 🔒
  • 1188. Design Bounded Blocking Queue 🔒
  • 1619. Mean of Array After Removing Some Elements
  • 1618. 找出适应屏幕的最大字号 🔒
  • 3174. Clear Digits
  • 1865. Finding Pairs With a Certain Sum
  • 252. Meeting Rooms 🔒
  • LCP 70. 沙地治理
  • 1339. Maximum Product of Splitted Binary Tree
  • 1350. 院系无效的学生 🔒
  • 2542. Maximum Subsequence Score
  • 面试题 01.01. 判定字符是否唯一
  • 73. Set Matrix Zeroes
  • 2355. 你能拿走的最大图书数量 🔒
  • 1699. 两人之间的通话次数 🔒
  • 984. 不含 AAA 或 BBB 的字符串
  • 3540. 访问所有房屋的最短时间 🔒
  • 690. Employee Importance
  • 1204. 最后一个能进入巴士的人
  • 388. Longest Absolute File Path
  • 1992. Find All Groups of Farmland
  • 445. Add Two Numbers II
  • 1669. Merge In Between Linked Lists
  • 2443. Sum of Number and Its Reverse
  • 2619. 数组原型对象的最后一个元素
  • 297. 二叉树的序列化与反序列化
  • 451. 根据字符出现频率排序
  • 3438. Find Valid Pair of Adjacent Digits in String
  • 2886. 改变数据类型
  • 2972. Count the Number of Incremovable Subarrays II
  • 2409. Count Days Spent Together
  • 1503. 所有蚂蚁掉下来前的最后一刻
  • 669. Trim a Binary Search Tree
  • 3517. Smallest Palindromic Rearrangement I
  • 573. 松鼠模拟 🔒
  • 256. 粉刷房子 🔒
  • 3005. 最大频率元素计数
  • 1425. Constrained Subsequence Sum
  • 321. Create Maximum Number
  • 1420. Build Array Where You Can Find The Maximum Exactly K Comparisons
  • 3136. Valid Word
  • 843. 猜猜这个单词
  • 2323. Find Minimum Time to Finish All Jobs II 🔒
  • 1366. 通过投票对团队排名
  • 428. 序列化和反序列化 N 叉树 🔒
  • 3351. 好子序列的元素之和
  • 1155. 掷骰子等于目标和的方法数
  • 面试题 04.01. 节点间通路
  • 1812. 判断国际象棋棋盘中一个格子的颜色
  • 3091. Apply Operations to Make Sum of Array Greater Than or Equal to k
  • 2753. 计算一个环形街道上的房屋数量 II 🔒
  • 2203. 得到要求路径的最小带权子图
  • 687. 最长同值路径
  • 2525. 根据规则将箱子分类
  • 2302. Count Subarrays With Score Less Than K
  • 1175. Prime Arrangements
  • 3308. 寻找表现最佳的司机 🔒
  • 3464. 正方形上的点之间的最大距离
  • 2569. Handling Sum Queries After Update
  • 3112. Minimum Time to Visit Disappearing Nodes
  • 491. 非递减子序列
  • LCP 17. 速算机器人
  • 1076. Project Employees II 🔒
  • 559. Maximum Depth of N-ary Tree
  • 3448. Count Substrings Divisible By Last Digit
  • 298. Binary Tree Longest Consecutive Sequence 🔒
  • 1615. Maximal Network Rank
  • 1148. Article Views I
  • 剑指 Offer II 017. 含有所有字符的最短字符串
  • 1577. Number of Ways Where Square of Number Is Equal to Product of Two Numbers
  • 3177. 求出最长好子序列 II
  • 1908. Game of Nim 🔒
  • 757. 设置交集大小至少为2
  • 995. Minimum Number of K Consecutive Bit Flips
  • 91. 解码方法
  • 1488. 避免洪水泛滥
  • 3014. 输入单词需要的最少按键次数 I
  • 131. Palindrome Partitioning
  • 2911. 得到 K 个半回文串的最少修改次数
  • 2848. Points That Intersect With Cars
  • 718. Maximum Length of Repeated Subarray
  • 743. 网络延迟时间
  • 1849. Splitting a String Into Descending Consecutive Values
  • 3010. 将数组分成最小总代价的子数组 I
  • 1642. Furthest Building You Can Reach
  • 2787. 将一个数字表示成幂的和的方案数
  • 132. 分割回文串 II
  • 514. Freedom Trail
  • 1858. Longest Word With All Prefixes 🔒
  • 1043. 分隔数组以得到最大和
  • 2085. Count Common Words With One Occurrence
  • 724. 寻找数组的中心下标
  • 113. Path Sum II
  • 3389. Minimum Operations to Make Character Frequencies Equal
  • 713. 乘积小于 K 的子数组
  • 3140. Consecutive Available Seats II 🔒
  • 2509. Cycle Length Queries in a Tree
  • 1914. Cyclically Rotating a Grid
  • 407. 接雨水 II
  • 2504. 把名字和职业联系起来 🔒
  • 1298. 你能从盒子里获得的最大糖果数
  • 2842. Count K-Subsequences of a String With Maximum Beauty
  • 12. Integer to Roman
  • 1275. Find Winner on a Tic Tac Toe Game
  • 1923. 最长公共子路径
  • 2660. Determine the Winner of a Bowling Game
  • 2434. Using a Robot to Print the Lexicographically Smallest String
  • 306. 累加数
  • 1656. 设计有序流
  • 2816. 翻倍以链表形式表示的数字
  • 16.26. Calculator
  • 925. Long Pressed Name
  • 面试题 10.01. 合并排序的数组
  • 2151. Maximum Good People Based on Statements
  • 3441. Minimum Cost Good Caption
  • 2664. The Knight’s Tour 🔒
  • 3255. Find the Power of K-Size Subarrays II
  • 1757. Recyclable and Low Fat Products
  • 3124. Find Longest Calls 🔒
  • 2010. The Number of Seniors and Juniors to Join the Company II 🔒
  • 700. 二叉搜索树中的搜索
  • 1645. Hopper 公司查询 II 🔒
  • 357. Count Numbers with Unique Digits
  • 1474. Delete N Nodes After M Nodes of a Linked List 🔒
  • 1592. 重新排列单词间的空格
  • 面试题 50. 第一个只出现一次的字符
  • 1780. Check if Number is a Sum of Powers of Three
  • 846. Hand of Straights
  • 2560. House Robber IV
  • 3210. 找出加密后的字符串
  • 138. 随机链表的复制
  • 207. 课程表
  • 1657. 确定两个字符串是否接近
  • 3187. Peaks in Array
  • 2303. Calculate Amount Paid in Taxes
  • 301. Remove Invalid Parentheses
  • 3040. 相同分数的最大操作数目 II
  • 01.04. Palindrome Permutation
  • 674. 最长连续递增序列
  • 面试题 39. 数组中出现次数超过一半的数字
  • 986. Interval List Intersections
  • 2884. Modify Columns
  • 877. Stone Game
  • 1659. 最大化网格幸福感
  • 157. 用 Read4 读取 N 个字符 🔒
  • 1132. Reported Posts II 🔒
  • 808. Soup Servings
  • 742. 二叉树最近的叶节点 🔒
  • 1413. 逐步求和得到正数的最小值
  • 524. Longest Word in Dictionary through Deleting
  • 2373. 矩阵中的局部最大值
  • 面试题 07. 重建二叉树
  • 2732. 找到矩阵中的好子集
  • 1526. 形成目标数组的子数组最少增加次数
  • 1480. Running Sum of 1d Array
  • 1585. 检查字符串是否可以通过排序子字符串得到另一个字符串
  • 1142. User Activity for the Past 30 Days II 🔒
  • 2524. Maximum Frequency Score of a Subarray 🔒
  • 1780. 判断一个数字是否可以表示成三的幂的和
  • 3009. 折线图上的最大交点数量 🔒
  • 2937. 使三个字符串相等
  • 1924. 安装栅栏 II 🔒
  • 2594. 修车的最少时间
  • 2059. Minimum Operations to Convert Number
  • 3294. 将双链表转换为数组 II 🔒
  • 2918. 数组的最小相等和
  • 2069. 模拟行走机器人 II
  • 2130. 链表最大孪生和
  • 444. 序列重建 🔒
  • 10.05. Sparse Array Search
  • 2741. Special Permutations
  • 1809. 没有广告的剧集 🔒
  • 2193. 得到回文串的最少操作次数
  • 1797. Design Authentication Manager
  • 1367. Linked List in Binary Tree
  • 1201. 丑数 III
  • 1715. Count Apples and Oranges 🔒
  • 1138. Alphabet Board Path
  • 2449. 使数组相似的最少操作次数
  • 724. Find Pivot Index
  • 76. Minimum Window Substring
  • 2438. Range Product Queries of Powers
  • 1283. Find the Smallest Divisor Given a Threshold
  • 1390. 四因数
  • 1595. Minimum Cost to Connect Two Groups of Points
  • 2290. Minimum Obstacle Removal to Reach Corner
  • 1866. Number of Ways to Rearrange Sticks With K Sticks Visible
  • 1984. 学生分数的最小差值
  • 2574. 左右元素和的差值
  • 2072. The Winner University 🔒
  • 325. Maximum Size Subarray Sum Equals k 🔒
  • 2148. 元素计数
  • 3539. 魔法序列的数组乘积之和
  • 2713. Maximum Strictly Increasing Cells in a Matrix
  • 380. O(1) 时间插入、删除和获取随机元素
  • 2393. Count Strictly Increasing Subarrays 🔒
  • 883. 三维形体投影面积
  • 116. 填充每个节点的下一个右侧节点指针
  • 剑指 Offer II 118. 多余的边
  • 541. Reverse String II
  • 961. N-Repeated Element in Size 2N Array
  • 2727. 判断对象是否为空
  • 3392. 统计符合条件长度为 3 的子数组数目
  • 3153. Sum of Digit Differences of All Pairs
  • 639. Decode Ways II
  • 1669. 合并两个链表
  • 2203. Minimum Weighted Subgraph With the Required Paths
  • 面试题 53 - II. 0 ~ n-1 中缺失的数字
  • 1305. 两棵二叉搜索树中的所有元素
  • 1636. 按照频率将数组升序排序
  • 2367. Number of Arithmetic Triplets
  • 931. Minimum Falling Path Sum
  • 460. LFU 缓存
  • 2952. 需要添加的硬币的最小数量
  • 1110. 删点成林
  • 2556. Disconnect Path in a Binary Matrix by at Most One Flip
  • 1535. Find the Winner of an Array Game
  • 3479. Fruits Into Baskets III
  • 16.25. LRU Cache
  • 2656. Maximum Sum With Exactly K Elements
  • 3243. Shortest Distance After Road Addition Queries I
  • 295. Find Median from Data Stream
  • 935. Knight Dialer
  • 1244. 力扣排行榜 🔒
  • 2632. Curry 🔒
  • 848. 字母移位
  • 2528. Maximize the Minimum Powered City
  • 657. Robot Return to Origin
  • 478. 在圆内随机生成点
  • 499. The Maze III 🔒
  • 1831. 每天的最大交易 🔒
  • 3413. 收集连续 K 个袋子可以获得的最多硬币数量
  • 3399. 字符相同的最短子字符串 II
  • 3341. 到达最后一个房间的最少时间 I
  • 1671. 得到山形数组的最少删除次数
  • 196. 删除重复的电子邮箱
  • 348. Design Tic-Tac-Toe 🔒
  • LCP 67. 装饰树
  • 1082. Sales Analysis I 🔒
  • 2861. Maximum Number of Alloys
  • 626. 换座位
  • 1419. Minimum Number of Frogs Croaking
  • 547. Number of Provinces
  • 1153. 字符串转化 🔒
  • 2406. 将区间分为最少组数
  • 314. 二叉树的垂直遍历 🔒
  • 面试题 01.09. 字符串轮转
  • 3462. Maximum Sum With at Most K Elements
  • 1784. Check if Binary String Has at Most One Segment of Ones
  • 1739. 放置盒子
  • 3289. 数字小镇中的捣蛋鬼
  • 3147. 从魔法师身上吸取的最大能量
  • 901. 股票价格跨度
  • 2468. Split Message Based on Limit
  • 323. Number of Connected Components in an Undirected Graph 🔒
  • 603. 连续空余座位 🔒
  • 2825. Make String a Subsequence Using Cyclic Increments
  • 584. Find Customer Referee
  • 1536. 排布二进制网格的最少交换次数
  • 2027. Minimum Moves to Convert String
  • 133. Clone Graph
  • 1632. 矩阵转换后的秩
  • 134. 加油站
  • 778. 水位上升的泳池中游泳
  • 3012. 通过操作使数组长度最小
  • 面试题 58 - II. 左旋转字符串
  • LCP 41. 黑白翻转棋
  • 1652. 拆炸弹
  • 1892. Page Recommendations II 🔒
  • 1990. Count the Number of Experiments 🔒
  • 497. Random Point in Non-overlapping Rectangles
  • 2296. Design a Text Editor
  • 1288. 删除被覆盖区间
  • 153. Find Minimum in Rotated Sorted Array
  • 2353. 设计食物评分系统
  • 3319. K-th Largest Perfect Subtree Size in Binary Tree
  • 520. 检测大写字母
  • LCP 43. 十字路口的交通
  • 631. Design Excel Sum Formula 🔒
  • 442. Find All Duplicates in an Array
  • 3488. Closest Equal Element Queries
  • 2686. 即时食物配送 III 🔒
  • LCP 38. 守卫城堡
  • 1213. Intersection of Three Sorted Arrays 🔒
  • 3150. 无效的推文 II 🔒
  • 1793. Maximum Score of a Good Subarray
  • 2866. 美丽塔 II
  • 3428. Maximum and Minimum Sums of at Most Size K Subsequences
  • 面试题 16.24. 数对和
  • 2490. 回环句
  • 1959. K 次调整数组大小浪费的最小总空间
  • 1406. Stone Game III
  • 1295. Find Numbers with Even Number of Digits
  • 2177. 找到和为给定整数的三个连续整数
  • 820. 单词的压缩编码
  • 3364. 最小正和子数组
  • 1997. 访问完所有房间的第一天
  • 774. 最小化去加油站的最大距离 🔒
  • 564. 寻找最近的回文数
  • 2408. Design SQL 🔒
  • 2934. Minimum Operations to Maximize Last Elements in Arrays
  • 16.24. Pairs With Sum
  • 1859. 将句子排序
  • 2166. 设计位集
  • 1845. 座位预约管理系统
  • 99. 恢复二叉搜索树
  • 3052. Maximize Items 🔒
  • 3266. Final Array State After K Multiplication Operations II
  • 1747. Leetflex Banned Accounts 🔒
  • 17.17. Multi Search
  • 1378. Replace Employee ID With The Unique Identifier
  • 1321. 餐馆营业额变化增长
  • 3134. Find the Median of the Uniqueness Array
  • 2738. 统计文本中单词的出现次数 🔒
  • 560. 和为 K 的子数组
  • 1228. Missing Number In Arithmetic Progression 🔒
  • 1156. Swap For Longest Repeated Character Substring
  • 571. Find Median Given Frequency of Numbers 🔒
  • 2009. Minimum Number of Operations to Make Array Continuous
  • 1327. 列出指定时间段内所有的下单产品
  • 604. 迭代压缩字符串 🔒
  • 3484. 设计电子表格
  • 1717. 删除子字符串的最大得分
  • 3225. 网格图操作后的最大分数
  • 16.06. Smallest Difference
  • 3455. Shortest Matching Substring
  • 2456. Most Popular Video Creator
  • 733. Flood Fill
  • 3332. Maximum Points Tourist Can Earn
  • 1649. 通过指令创建有序数组
  • 1041. 困于环中的机器人
  • 3221. 最大数组跳跃得分 II 🔒
  • 2212. Maximum Points in an Archery Competition
  • 683. K 个关闭的灯泡 🔒
  • 566. 重塑矩阵
  • 面试题 17.26. 稀疏相似度
  • 3466. Maximum Coin Collection 🔒
  • 2842. 统计一个字符串的 k 子序列美丽值最大的数目
  • 3097. Shortest Subarray With OR at Least K II
  • 2105. Watering Plants II
  • 89. 格雷编码
  • 699. Falling Squares
  • 1038. 从二叉搜索树到更大和树
  • 493. 翻转对
  • 576. 出界的路径数
  • 1342. 将数字变成 0 的操作次数
  • 1017. Convert to Base -2
  • 673. Number of Longest Increasing Subsequence
  • 842. Split Array into Fibonacci Sequence
  • 421. Maximum XOR of Two Numbers in an Array
  • 1686. 石子游戏 VI
  • 3533. Concatenated Divisibility
  • 38. Count and Say
  • 1500. 设计文件分享系统 🔒
  • 1102. Path With Maximum Minimum Value 🔒
  • 2318. Number of Distinct Roll Sequences
  • 2000. Reverse Prefix of Word
  • 551. 学生出勤记录 I
  • 1492. n 的第 k 个因子
  • 688. 骑士在棋盘上的概率
  • 面试题 08.02. 迷路的机器人
  • 63. Unique Paths II
  • 2278. 字母在字符串中的百分比
  • 339. 嵌套列表加权和 🔒
  • 2179. 统计数组中好三元组数目
  • 2859. Sum of Values at Indices With K Set Bits
  • 1288. Remove Covered Intervals
  • 3328. Find Cities in Each State II 🔒
  • 剑指 Offer II 052. 展平二叉搜索树
  • 3082. Find the Sum of the Power of All Subsequences
  • 221. 最大正方形
  • 951. 翻转等价二叉树
  • 2886. Change Data Type
  • 1195. 交替打印字符串
  • 1460. 通过翻转子数组使两个数组相等
  • 145. 二叉树的后序遍历
  • 492. Construct the Rectangle
  • 3021. Alice 和 Bob 玩鲜花游戏
  • 2900. 最长相邻不相等子序列 I
  • 346. 数据流中的移动平均值 🔒
  • 1369. 获取最近第二次的活动 🔒
  • 3007. 价值和小于等于 K 的最大数字
  • 507. Perfect Number
  • 516. 最长回文子序列
  • 503. 下一个更大元素 II
  • 2142. The Number of Passengers in Each Bus I 🔒
  • 3498. 字符串的反转度
  • 1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
  • 510. Inorder Successor in BST II 🔒
  • 193. Valid Phone Numbers
  • 210. 课程表 II
  • 1609. Even Odd Tree
  • 1103. 分糖果 II
  • 379. 电话目录管理系统 🔒
  • 1719. 重构一棵树的方案数
  • 面试题 05.01. 插入
  • 385. 迷你语法分析器
  • 1841. 联赛信息统计 🔒
  • 1585. Check If String Is Transformable With Substring Sort Operations
  • 2812. Find the Safest Path in a Grid
  • 2358. Maximum Number of Groups Entering a Competition
  • 3489. Zero Array Transformation IV
  • 2577. 在网格图中访问一个格子的最少时间
  • 2358. 分组的最大数量
  • 3070. Count Submatrices with Top-Left Element and Sum Less Than k
  • 1967. 作为子字符串出现在单词中的字符串数目
  • 2596. Check Knight Tour Configuration
  • 3036. 匹配模式数组的子数组数目 II
  • 1208. Get Equal Substrings Within Budget
  • 1267. 统计参与通信的服务器
  • 633. 平方数之和
  • 2390. Removing Stars From a String
  • 1306. Jump Game III
  • 3187. 数组中的峰值
  • 1820. 最多邀请的个数 🔒
  • 670. 最大交换
  • 1922. Count Good Numbers
  • 1742. 盒子中小球的最大数量
  • 316. 去除重复字母
  • 剑指 Offer II 025. 链表中的两数相加
  • LCP 76. 魔法棋盘
  • 2488. 统计中位数为 K 的子数组
  • 面试题 10.11. 峰与谷
  • 73. 矩阵置零
  • 1917. Leetcodify Friends Recommendations 🔒
  • 面试题 10- II. 青蛙跳台阶问题
  • 804. Unique Morse Code Words
  • 2284. 最多单词数的发件人
  • 1957. 删除字符使字符串变好
  • 2100. 适合野炊的日子
  • 1736. Latest Time by Replacing Hidden Digits
  • 1468. Calculate Salaries 🔒
  • 2256. Minimum Average Difference
  • 900. RLE Iterator
  • 121. Best Time to Buy and Sell Stock
  • 2388. 将表中的空值更改为前一个值 🔒
  • 1006. 笨阶乘
  • 895. 最大频率栈
  • 692. 前K个高频单词
  • 2526. 找到数据流中的连续整数
  • 2368. 受限条件下可到达节点的数目
  • 1292. Maximum Side Length of a Square with Sum Less than or Equal to Threshold
  • 3185. 构成整天的下标对数目 II
  • 1309. 解码字母到整数映射
  • 2606. 找到最大开销的子字符串
  • 面试题 61. 扑克牌中的顺子
  • 2102. 序列顺序查询
  • 2560. 打家劫舍 IV
  • 246. 中心对称数 🔒
  • LCP 29. 乐团站位
  • 839. Similar String Groups
  • 3401. Find Circular Gift Exchange Chains 🔒
  • 1489. 找到最小生成树里的关键边和伪关键边
  • 3130. 找出所有稳定的二进制数组 II
  • 3474. Lexicographically Smallest Generated String
  • 3300. 替换为数位和以后的最小元素
  • 1185. 一周中的第几天
  • 剑指 Offer II 019. 最多删除一个字符得到回文
  • 2410. 运动员和训练师的最大匹配数
  • 1276. Number of Burgers with No Waste of Ingredients
  • 2688. Find Active Users 🔒
  • 3316. Find Maximum Removals From Source String
  • 162. 寻找峰值
  • 2811. Check if it is Possible to Split Array
  • 2158. 每天绘制新区域的数量 🔒
  • 1482. Minimum Number of Days to Make m Bouquets
  • 2946. 循环移位后的矩阵相似检查
  • 893. Groups of Special-Equivalent Strings
  • 873. 最长的斐波那契子序列的长度
  • 2187. 完成旅途的最少时间
  • LCP 60. 力扣泡泡龙
  • 3104. 查找最长的自包含子串 🔒
  • 1949. 坚定的友谊 🔒
  • 3502. 到达每个位置的最小费用
  • 1810. 隐藏网格下的最小消耗路径 🔒
  • 1402. 做菜顺序
  • 860. 柠檬水找零
  • 868. 二进制间距
  • 989. Add to Array-Form of Integer
  • 2361. Minimum Costs Using the Train Line 🔒
  • LCP 21. 追逐游戏
  • 2030. Smallest K-Length Subsequence With Occurrences of a Letter
  • 3. 无重复字符的最长子串
  • 2988. Manager of the Largest Department 🔒
  • 2783. 航班入座率和等待名单分析 🔒
  • 64. 最小路径和
  • 3259. Maximum Energy Boost From Two Drinks
  • 1596. 每位顾客最经常订购的商品 🔒
  • 2163. 删除元素后和的最小差值
  • 2431. 最大限度地提高购买水果的口味 🔒
  • 04.05. Legal Binary Search Tree
  • 2197. Replace Non-Coprime Numbers in Array
  • 1410. HTML 实体解析器
  • 1127. User Purchase Platform 🔒
  • 254. Factor Combinations 🔒
  • 854. K-Similar Strings
  • 1873. Calculate Special Bonus
  • 1421. 净现值查询 🔒
  • 209. 长度最小的子数组
  • 2697. 字典序最小回文串
  • LCP 05. 发 LeetCoin
  • 1860. Incremental Memory Leak
  • 3181. 执行操作可获得的最大总奖励 II
  • 1674. 使数组互补的最少操作次数
  • 剑指 Offer II 097. 子序列的数目
  • 2247. Maximum Cost of Trip With K Highways 🔒
  • 1443. 收集树上所有苹果的最少时间
  • 2240. 买钢笔和铅笔的方案数
  • 476. 数字的补数
  • 61. 旋转链表
  • 3209. Number of Subarrays With AND Value of K
  • 1124. 表现良好的最长时间段
  • 1407. 排名靠前的旅行者
  • 剑指 Offer II 066. 单词之和
  • 1628. Design an Expression Tree With Evaluate Function 🔒
  • 1200. 最小绝对差
  • 1986. Minimum Number of Work Sessions to Finish the Tasks
  • LeetCode Contest
  • 1631. 最小体力消耗路径
  • 3370. 仅含置位位的最小整数
  • 3139. Minimum Cost to Equalize Array
  • 2707. Extra Characters in a String
  • 563. 二叉树的坡度
  • 10.02. Group Anagrams
  • 1442. 形成两个异或相等数组的三元组数目
  • 644. 子数组最大平均数 II 🔒
  • 398. 随机数索引
  • 3168. 候诊室中的最少椅子数
  • 3493. Properties Graph
  • 882. 细分图中的可到达节点
  • 1251. 平均售价
  • 1375. 二进制字符串前缀一致的次数
  • 1233. 删除子文件夹
  • 1319. 连通网络的操作次数
  • 1662. 检查两个字符串数组是否相等
  • 1778. 未知网格中的最短路径 🔒
  • 剑指 Offer II 058. 日程表
  • 2485. 找出中枢整数
  • 72. Edit Distance
  • 2757. Generate Circular Array Values 🔒
  • 2981. 找出出现至少三次的最长特殊子字符串 I
  • 3253. 最小代价构造字符串(简单) 🔒
  • 1487. Making File Names Unique
  • 2905. 找出满足差值条件的下标 II
  • 1957. Delete Characters to Make Fancy String
  • 02.02. Kth Node From End of List
  • 3434. 子数组操作后的最大频率
  • 239. Sliding Window Maximum
  • 2195. 向数组中追加 K 个整数
  • 2227. Encrypt and Decrypt Strings
  • 66. 加一
  • 901. Online Stock Span
  • 1032. Stream of Characters
  • 3344. 最大尺寸数组 🔒
  • 832. 翻转图像
  • 389. 找不同
  • 971. Flip Binary Tree To Match Preorder Traversal
  • 面试题 05.04. 下一个数
  • 2287. 重排字符形成目标字符串
  • 2311. Longest Binary Subsequence Less Than or Equal to K
  • 3299. Sum of Consecutive Subsequences 🔒
  • 1871. 跳跃游戏 VII
  • 828. 统计子串中的唯一字符
  • 788. Rotated Digits
  • 3317. 安排活动的方案数
  • 1269. 停在原地的方案数
  • 1893. Check if All the Integers in a Range Are Covered
  • 1685. Sum of Absolute Differences in a Sorted Array
  • 26. Remove Duplicates from Sorted Array
  • 1009. 十进制整数的反码
  • 3546. 等和矩阵分割 I
  • 05.03. Reverse Bits
  • 3339. 查找 K 偶数数组的数量 🔒
  • 3310. Remove Methods From Project
  • 1282. 用户分组
  • 227. Basic Calculator II
  • 213. House Robber II
  • 1. 两数之和
  • 2454. Next Greater Element IV
  • 1789. Primary Department for Each Employee
  • 2910. 合法分组的最少组数
  • 3118. 发生在周五的交易 III 🔒
  • 2554. Maximum Number of Integers to Choose From a Range I
  • 1459. 矩形面积 🔒
  • 3284. Sum of Consecutive Subarrays 🔒
  • 1009. Complement of Base 10 Integer
  • 2038. 如果相邻两个颜色均相同则删除当前颜色
  • 2824. 统计和小于目标的下标对数目
  • 1081. 不同字符的最小子序列
  • 1048. Longest String Chain
  • 231. 2 的幂
  • 2621. 睡眠函数
  • 2578. Split With Minimum Sum
  • 面试题 10- I. 斐波那契数列
  • 2962. 统计最大元素出现至少 K 次的子数组
  • 3062. 链表游戏的获胜者 🔒
  • 3242. 设计相邻元素求和服务
  • 954. Array of Doubled Pairs
  • 1413. Minimum Value to Get Positive Step by Step Sum
  • 2877. 从表中创建 DataFrame
  • 3510. Minimum Pair Removal to Sort Array II
  • 273. Integer to English Words
  • 1067. Digit Count in Range 🔒
  • 1002. 查找共用字符
  • 3270. 求出数字答案
  • 2344. 使数组可以被整除的最少删除次数
  • 1474. 删除链表 M 个节点之后的 N 个节点 🔒
  • 1272. Remove Interval 🔒
  • 2690. 无穷方法对象 🔒
  • 2778. 特殊元素平方和
  • 3176. Find the Maximum Length of a Good Subsequence I
  • 586. Customer Placing the Largest Number of Orders
  • 203. 移除链表元素
  • 2154. 将找到的值乘以 2
  • 3300. Minimum Element After Replacement With Digit Sum
  • 3347. 执行操作后元素的最高频率 II
  • 2959. Number of Possible Sets of Closing Branches
  • 2517. 礼盒的最大甜蜜度
  • 2044. 统计按位或能得到最大值的子集数目
  • 3230. 客户购买行为分析 🔒
  • 1222. Queens That Can Attack the King
  • 2553. Separate the Digits in an Array
  • 1318. 或运算的最小翻转次数
  • 105. 从前序与中序遍历序列构造二叉树
  • 2227. 加密解密字符串
  • LCS 01. 下载插件
  • 3298. Count Substrings That Can Be Rearranged to Contain a String II
  • 1563. 石子游戏 V
  • 610. 判断三角形
  • 587. 安装栅栏
  • 3271. Hash Divided String
  • 689. 三个无重叠子数组的最大和
  • 2813. 子序列最大优雅度
  • 3016. 输入单词需要的最少按键次数 II
  • 3211. Generate Binary Strings Without Adjacent Zeros
  • 438. 找到字符串中所有字母异位词
  • 408. Valid Word Abbreviation 🔒
  • 3267. Count Almost Equal Pairs II
  • 2018. Check if Word Can Be Placed In Crossword
  • 304. 二维区域和检索 - 矩阵不可变
  • 2869. 收集元素的最少操作次数
  • 3447. 将元素分配给有约束条件的组
  • 3016. Minimum Number of Pushes to Type Word II
  • 3063. Linked List Frequency 🔒
  • 2279. Maximum Bags With Full Capacity of Rocks
  • 2321. 拼接数组的最大分数
  • 2448. Minimum Cost to Make Array Equal
  • 3330. 找到初始输入字符串 I
  • 剑指 Offer II 053. 二叉搜索树中的中序后继
  • 3363. Find the Maximum Number of Fruits Collected
  • 面试题 17.10. 主要元素
  • 856. Score of Parentheses
  • 1383. Maximum Performance of a Team
  • 2328. 网格图中递增路径的数目
  • 3453. 分割正方形 I
  • 1685. 有序数组中差绝对值之和
  • 剑指 Offer II 059. 数据流的第 K 大数值
  • 1052. Grumpy Bookstore Owner
  • 1684. Count the Number of Consistent Strings
  • 702. 搜索长度未知的有序数组 🔒
  • 1651. Hopper Company Queries III 🔒
  • 2341. 数组能形成多少数对
  • 1945. 字符串转化后的各位数字之和
  • 2657. Find the Prefix Common Array of Two Arrays
  • 435. Non-overlapping Intervals
  • 1826. Faulty Sensor 🔒
  • 1964. 找出到每个位置为止最长的有效障碍赛跑路线
  • 572. 另一棵树的子树
  • 390. 消除游戏
  • 面试题 47. 礼物的最大价值
  • 1560. 圆形赛道上经过次数最多的扇区
  • 2831. Find the Longest Equal Subarray
  • 1830. Minimum Number of Operations to Make String Sorted
  • 1466. Reorder Routes to Make All Paths Lead to the City Zero
  • 1995. Count Special Quadruplets
  • 3079. 求出加密整数的和
  • 273. 整数转换英文表示
  • 2027. 转换字符串的最少操作次数
  • LCP 32. 批量处理任务
  • 814. 二叉树剪枝
  • 2421. 好路径的数目
  • 2901. 最长相邻不相等子序列 II
  • 938. Range Sum of BST
  • 面试题 17.04. 消失的数字
  • 2342. Max Sum of a Pair With Equal Sum of Digits
  • 3433. 统计用户被提及情况
  • 1506. 找到 N 叉树的根节点 🔒
  • 954. 二倍数对数组
  • 2305. 公平分发饼干
  • 934. Shortest Bridge
  • 2469. Convert the Temperature
  • 2008. Maximum Earnings From Taxi
  • 2263. Make Array Non-decreasing or Non-increasing 🔒
  • 2299. 强密码检验器 II
  • 2592. 最大化数组的伟大值
  • 2593. 标记所有元素后数组的分数
  • 2073. Time Needed to Buy Tickets
  • 2217. Find Palindrome With Fixed Length
  • 80. Remove Duplicates from Sorted Array II
  • 2902. 和带限制的子多重集合的数目
  • 1892. 页面推荐Ⅱ 🔒
  • 1202. Smallest String With Swaps
  • 296. Best Meeting Point 🔒
  • 857. Minimum Cost to Hire K Workers
  • 11. Container With Most Water
  • 2068. 检查两个字符串是否几乎相等
  • 387. First Unique Character in a String
  • 2306. Naming a Company
  • 1925. Count Square Sum Triples
  • 剑指 Offer II 082. 含有重复元素集合的组合
  • 517. 超级洗衣机
  • 2319. Check if Matrix Is X-Matrix
  • 852. Peak Index in a Mountain Array
  • 2383. Minimum Hours of Training to Win a Competition
  • 面试题 04.12. 求和路径
  • 2272. Substring With Largest Variance
  • 2245. Maximum Trailing Zeros in a Cornered Path
  • 剑指 Offer II 013. 二维子矩阵的和
  • 3548. 等和矩阵分割 II
  • 1718. 构建字典序最大的可行序列
  • 2949. 统计美丽子字符串 II
  • 336. 回文对
  • 2631. 分组
  • 2900. Longest Unequal Adjacent Groups Subsequence I
  • 2925. 在树上执行操作以后得到的最大分数
  • 16.15. Master Mind
  • 1956. Minimum Time For K Virus Variants to Spread 🔒
  • 352. Data Stream as Disjoint Intervals
  • 2534. Time Taken to Cross the Door 🔒
  • 3323. 通过插入区间最小化连通组 🔒
  • 1586. 二叉搜索树迭代器 II 🔒
  • 3160. Find the Number of Distinct Colors Among the Balls
  • 2293. Min Max Game
  • 2924. 找到冠军 II
  • LCP 36. 最多牌组数
  • 3551. 数位和排序需要的最小交换次数
  • 1022. Sum of Root To Leaf Binary Numbers
  • 3169. 无需开会的工作日
  • 3436. Find Valid Emails
  • 1373. 二叉搜索子树的最大键值和
  • 剑指 Offer II 011. 0 和 1 个数相同的子数组
  • 1400. 构造 K 个回文字符串
  • 1713. 得到子序列的最少操作次数
  • 3100. 换水问题 II
  • 353. 贪吃蛇 🔒
  • 666. Path Sum IV 🔒
  • 1120. 子树的最大平均值 🔒
  • 1518. 换水问题
  • 57. Insert Interval
  • 1504. Count Submatrices With All Ones
  • 202. Happy Number
  • 991. Broken Calculator
  • 34. 在排序数组中查找元素的第一个和最后一个位置
  • 2955. 同端子串的数量 🔒
  • 1241. 每个帖子的评论数 🔒
  • 2908. Minimum Sum of Mountain Triplets I
  • 2269. 找到一个数字的 K 美丽值
  • 1231. 分享巧克力 🔒
  • 2374. 边积分最高的节点
  • 486. 预测赢家
  • 2643. 一最多的行
  • 2921. 价格递增的最大利润三元组 II 🔒
  • 244. 最短单词距离 II 🔒
  • 2115. 从给定原材料中找到所有可以做出的菜
  • 992. K 个不同整数的子数组
  • 1512. Number of Good Pairs
  • 2127. 参加会议的最多员工数
  • 607. Sales Person
  • LCP 26. 导航装置
  • 2996. Smallest Missing Integer Greater Than Sequential Prefix Sum
  • 1791. Find Center of Star Graph
  • 2289. 使数组按非递减顺序排列
  • 3248. Snake in Matrix
  • 2141. Maximum Running Time of N Computers
  • 1129. 颜色交替的最短路径
  • 3342. 到达最后一个房间的最少时间 II
  • 2845. Count of Interesting Subarrays
  • 3447. Assign Elements to Groups with Constraints
  • 3086. Minimum Moves to Pick K Ones
  • 1665. Minimum Initial Energy to Finish Tasks
  • 3174. 清除数字
  • 3309. Maximum Possible Number by Binary Concatenation
  • 剑指 Offer II 067. 最大的异或
  • 1220. 统计元音字母序列的数目
  • 1313. Decompress Run-Length Encoded List
  • 2298. Tasks Count in the Weekend 🔒
  • 2714. Find Shortest Path with K Hops 🔒
  • 3480. Maximize Subarrays After Removing One Conflicting Pair
  • LCP 53. 守护太空城
  • 2462. 雇佣 K 位工人的总代价
  • 464. 我能赢吗
  • 1176. Diet Plan Performance 🔒
  • 1902. Depth of BST Given Insertion Order 🔒
  • 533. Lonely Pixel II 🔒
  • 2818. 操作使得分最大
  • 2700. 两个对象之间的差异 🔒
  • 2216. Minimum Deletions to Make Array Beautiful
  • 731. My Calendar II
  • 142. 环形链表 II
  • 2326. Spiral Matrix IV
  • 2832. Maximal Range That Each Element Is Maximum in It 🔒
  • 2228. Users With Two Purchases Within Seven Days 🔒
  • 1445. 苹果和桔子 🔒
  • 2496. 数组中字符串的最大值
  • 2879. Display the First Three Rows
  • 807. 保持城市天际线
  • 3377. 使两个整数相等的数位操作
  • 1939. 主动请求确认消息的用户 🔒
  • 2257. 统计网格图中没有被保卫的格子数
  • 396. Rotate Function
  • 1034. 边界着色
  • 2333. 最小差值平方和
  • 2552. 统计上升四元组
  • 1055. Shortest Way to Form String 🔒
  • 1863. 找出所有子集的异或总和再求和
  • 26. 删除有序数组中的重复项
  • 2204. Distance to a Cycle in Undirected Graph 🔒
  • 672. Bulb Switcher II
  • 2209. Minimum White Tiles After Covering With Carpets
  • 2430. 对字母串可执行的最大删除数
  • 452. 用最少数量的箭引爆气球
  • 2192. 有向无环图中一个节点的所有祖先
  • 1965. Employees With Missing Information
  • 3478. 选出和最大的 K 个元素
  • 04.09. BST Sequences
  • 3296. 移山所需的最少秒数
  • 1754. Largest Merge Of Two Strings
  • 1085. 最小元素各数位之和 🔒
  • 175. Combine Two Tables
  • 2608. 图中的最短环
  • 429. N 叉树的层序遍历
  • 1573. Number of Ways to Split a String
  • 1410. HTML Entity Parser
  • 3290. 最高乘法得分
  • 1695. Maximum Erasure Value
  • 2034. Stock Price Fluctuation
  • 2238. Number of Times a Driver Was a Passenger 🔒
  • 2584. 分割数组使乘积互质
  • 711. Number of Distinct Islands II 🔒
  • 2852. 所有单元格的远离程度之和 🔒
  • 2271. 毯子覆盖的最多白色砖块数
  • 1680. Concatenation of Consecutive Binary Numbers
  • 457. Circular Array Loop
  • 424. Longest Repeating Character Replacement
  • 3527. 找到最常见的回答
  • 1665. 完成所有任务的最少初始能量
  • 1907. Count Salary Categories
  • 1648. 销售价值减少的颜色球
  • 1894. Find the Student that Will Replace the Chalk
  • 1506. Find Root of N-Ary Tree 🔒
  • 3456. 找出长度为 K 的特殊子字符串
  • 3472. Longest Palindromic Subsequence After at Most K Operations
  • 2863. Maximum Length of Semi-Decreasing Subarrays 🔒
  • 707. Design Linked List
  • 772. Basic Calculator III 🔒
  • 2989. Class Performance 🔒
  • 399. Evaluate Division
  • 2849. Determine if a Cell Is Reachable at a Given Time
  • 1680. 连接连续二进制数字
  • 2165. 重排数字的最小值
  • 3103. 查找热门话题标签 II 🔒
  • 808. 分汤
  • 2829. k-avoiding 数组的最小总和
  • 1021. Remove Outermost Parentheses
  • 1688. 比赛中的配对次数
  • 2960. 统计已测试设备
  • 1360. 日期之间隔几天
  • 2447. Number of Subarrays With GCD Equal to K
  • 941. Valid Mountain Array
  • 1612. Check If Two Expression Trees are Equivalent 🔒
  • 2441. 与对应负数同时存在的最大正整数
  • 1240. 铺瓷砖
  • 1338. Reduce Array Size to The Half
  • 2552. Count Increasing Quadruplets
  • 307. Range Sum Query - Mutable
  • 2048. Next Greater Numerically Balanced Number
  • 866. Prime Palindrome
  • 16.18. Pattern Matching
  • 911. Online Election
  • 704. Binary Search
  • 779. 第K个语法符号
  • 2282. Number of People That Can Be Seen in a Grid 🔒
  • 1960. 两个回文子字符串长度的最大乘积
  • 面试题 04.09. 二叉搜索树序列
  • 3332. 旅客可以得到的最多点数
  • 3503. 子字符串连接后的最长回文串 I
  • 2931. Maximum Spending After Buying Items
  • 2543. 判断一个点是否可以到达
  • 776. Split BST 🔒
  • 2208. Minimum Operations to Halve Array Sum
  • 2233. K 次增加后的最大乘积
  • 126. Word Ladder II
  • 1237. 找出给定方程的正整数解
  • 895. Maximum Frequency Stack
  • 2317. 操作后的最大异或和
  • 1977. 划分数字的方案数
  • 380. Insert Delete GetRandom O(1)
  • 574. 当选者 🔒
  • 3007. Maximum Number That Sum of the Prices Is Less Than or Equal to K
  • 2166. Design Bitset
  • 2565. Subsequence With the Minimum Score
  • 2786. Visit Array Positions to Maximize Score
  • 2706. Buy Two Chocolates
  • 2557. Maximum Number of Integers to Choose From a Range II 🔒
  • 3549. Multiply Two Polynomials 🔒
  • 2973. 树中每个节点放置的金币数目
  • 1981. Minimize the Difference Between Target and Chosen Elements
  • 661. Image Smoother
  • 1191. K 次串联后最大子数组之和
  • 862. 和至少为 K 的最短子数组
  • 21. Merge Two Sorted Lists
  • 1461. Check If a String Contains All Binary Codes of Size K
  • 1329. Sort the Matrix Diagonally
  • 1335. Minimum Difficulty of a Job Schedule
  • 2580. Count Ways to Group Overlapping Ranges
  • 2743. 计算没有重复字符的子字符串数量 🔒
  • 1187. 使数组严格递增
  • 2634. 过滤数组中的元素
  • 228. Summary Ranges
  • 1449. Form Largest Integer With Digits That Add up to Target
  • 3184. Count Pairs That Form a Complete Day I
  • 1062. Longest Repeating Substring 🔒
  • 1938. Maximum Genetic Difference Query
  • 3554. Find Category Recommendation Pairs
  • 3550. Smallest Index With Digit Sum Equal to Index
  • 322. 零钱兑换
  • 1647. 字符频次唯一的最小删除次数
  • 2964. 可被整除的三元组数量 🔒
  • 137. Single Number II
  • 2349. 设计数字容器系统
  • 3380. 用点构造面积最大的矩形 I
  • 2015. 每段建筑物的平均高度 🔒
  • 3533. 判断连接可整除性
  • 2623. Memoize
  • 1918. Kth Smallest Subarray Sum 🔒
  • 744. 寻找比目标字母大的最小字母
  • 638. Shopping Offers
  • 2323. 完成所有工作的最短时间 II 🔒
  • 3375. 使数组的值全部为 K 的最少操作次数
  • 2935. 找出强数对的最大异或值 II
  • 1777. Product's Price for Each Store 🔒
  • 1280. 学生们参加各科测试的次数
  • 1966. Binary Searchable Numbers in an Unsorted Array 🔒
  • 266. Palindrome Permutation 🔒
  • 640. Solve the Equation
  • 1011. 在 D 天内送达包裹的能力
  • 1184. 公交站间的距离
  • 2484. Count Palindromic Subsequences
  • 3253. Construct String with Minimum Cost (Easy) 🔒
  • 443. String Compression
  • 2642. Design Graph With Shortest Path Calculator
  • 930. Binary Subarrays With Sum
  • 2657. 找到两个数组的前缀公共数组
  • 3252. Premier League Table Ranking II 🔒
  • 面试题 04.04. 检查平衡性
  • 419. 棋盘上的战舰
  • 1365. How Many Numbers Are Smaller Than the Current Number
  • 2402. Meeting Rooms III
  • 2784. Check if Array is Good
  • 125. 验证回文串
  • 剑指 Offer II 030. 插入、删除和随机访问都是 O(1) 的容器
  • 468. Validate IP Address
  • 482. 密钥格式化
  • 1320. Minimum Distance to Type a Word Using Two Fingers
  • 2391. Minimum Amount of Time to Collect Garbage
  • 2736. 最大和查询
  • 16.09. Operations
  • 1072. 按列翻转得到最大值等行数
  • 3414. Maximum Score of Non-overlapping Intervals
  • 1275. 找出井字棋的获胜者
  • 3286. Find a Safe Walk Through a Grid
  • 501. Find Mode in Binary Search Tree
  • 2274. Maximum Consecutive Floors Without Special Floors
  • 1766. Tree of Coprimes
  • 3513. 不同 XOR 三元组的数目 I
  • 475. 供暖器
  • LCP 61. 气温变化趋势
  • 1983. Widest Pair of Indices With Equal Range Sum 🔒
  • 2781. 最长合法子字符串的长度
  • LCP 71. 集水器
  • 2118. 建立方程 🔒
  • 2139. Minimum Moves to Reach Target Score
  • 2380. 二进制字符串重新安排顺序需要的时间
  • 210. Course Schedule II
  • 2329. Product Sales Analysis V 🔒
  • 1622. Fancy Sequence
  • 104. Maximum Depth of Binary Tree
  • 2420. Find All Good Indices
  • 580. 统计各专业学生人数 🔒
  • 3045. Count Prefix and Suffix Pairs II
  • 2428. 沙漏的最大总和
  • 1907. 按分类统计薪水
  • 3255. 长度为 K 的子数组的能量值 II
  • 3258. Count Substrings That Satisfy K-Constraint I
  • 758. 字符串中的加粗单词 🔒
  • 914. 卡牌分组
  • 369. Plus One Linked List 🔒
  • 1060. 有序数组中的缺失元素 🔒
  • 2640. Find the Score of All Prefixes of an Array
  • 剑指 Offer II 087. 复原 IP
  • 3348. 最小可整除数位乘积 II
  • 1096. Brace Expansion II
  • 1998. GCD Sort of an Array
  • 490. 迷宫 🔒
  • 609. Find Duplicate File in System
  • 1681. 最小不兼容性
  • 2231. Largest Number After Digit Swaps by Parity
  • 3085. 成为 K 特殊字符串需要删除的最少字符数
  • 871. 最低加油次数
  • 2359. 找到离给定两个节点最近的节点
  • 283. Move Zeroes
  • 2085. 统计出现过一次的公共字符串
  • 1352. 最后 K 个数的乘积
  • 1611. Minimum One Bit Operations to Make Integers Zero
  • 3359. Find Sorted Submatrices With Maximum Element at Most K 🔒
  • 3425. Longest Special Path
  • 2882. 删去重复的行
  • 2980. 检查按位或是否存在尾随零
  • 2167. Minimum Time to Remove All Cars Containing Illegal Goods
  • 542. 01 Matrix
  • 929. Unique Email Addresses
  • 415. Add Strings
  • 2636. Promise Pool 🔒
  • 1188. 设计有限阻塞队列 🔒
  • 3507. 移除最小数对使数组有序 I
  • 3094. 使用按位查询猜测数字 II 🔒
  • 1729. 求关注者的数量
  • 面试题 16.08. 整数的英语表示
  • 1655. 分配重复整数
  • 2144. 打折购买糖果的最小开销
  • 2926. Maximum Balanced Subsequence Sum
  • 1779. Find Nearest Point That Has the Same X or Y Coordinate
  • 1050. 合作过至少三次的演员和导演
  • 127. Word Ladder
  • 2497. Maximum Star Sum of a Graph
  • 3378. 统计最小公倍数图中的连通块数目
  • 654. 最大二叉树
  • 887. 鸡蛋掉落
  • 2469. 温度转换
  • 2131. Longest Palindrome by Concatenating Two Letter Words
  • 427. Construct Quad Tree
  • 03.06. Animal Shelter
  • 2986. Find Third Transaction 🔒
  • 422. Valid Word Square 🔒
  • 3154. Find Number of Ways to Reach the K-th Stair
  • 540. 有序数组中的单一元素
  • 1327. List the Products Ordered in a Period
  • 1709. Biggest Window Between Visits 🔒
  • 2412. 完成所有交易的初始最少钱数
  • 2232. Minimize Result by Adding Parentheses to Expression
  • 1380. 矩阵中的幸运数
  • 1771. 由子序列构造的最长回文串的长度
  • 2138. Divide a String Into Groups of Size k
  • 3011. Find if Array Can Be Sorted
  • 877. 石子游戏
  • 2049. 统计最高分的节点数目
  • 1092. 最短公共超序列
  • 2498. 青蛙过河 II
  • 38. 外观数列
  • 剑指 Offer II 064. 神奇的字典
  • 1545. 找出第 N 个二进制字符串中的第 K 位
  • 1404. Number of Steps to Reduce a Number in Binary Representation to One
  • 1962. 移除石子使总数最小
  • 179. Largest Number
  • 1331. 数组序号转换
  • 2189. Number of Ways to Build House of Cards 🔒
  • 87. Scramble String
  • 2538. Difference Between Maximum and Minimum Price Sum
  • 2246. 相邻字符不同的最长路径
  • 1462. Course Schedule IV
  • 315. Count of Smaller Numbers After Self
  • 866. 回文质数
  • 1371. 每个元音包含偶数次的最长子字符串
  • 1372. Longest ZigZag Path in a Binary Tree
  • 3354. 使数组元素等于零
  • LCP 75. 传送卷轴
  • 1196. How Many Apples Can You Put into the Basket 🔒
  • 1832. Check if the Sentence Is Pangram
  • 1944. 队列中可以看到的人数
  • 577. Employee Bonus
  • 3463. Check If Digits Are Equal in String After Operations II
  • 2704. 相等还是不相等
  • 3302. Find the Lexicographically Smallest Valid Sequence
  • 167. 两数之和 II - 输入有序数组
  • LCP 12. 小张刷题计划
  • 2107. 分享 K 个糖果后独特口味的数量 🔒
  • 1374. 生成每种字符都是奇数个的字符串
  • 2411. Smallest Subarrays With Maximum Bitwise OR
  • 1802. 有界数组中指定下标处的最大值
  • 1872. 石子游戏 VIII
  • 2755. Deep Merge of Two Objects 🔒
  • 1978. 上级经理已离职的公司员工
  • 1427. Perform String Shifts 🔒
  • 767. 重构字符串
  • 1026. Maximum Difference Between Node and Ancestor
  • 1443. Minimum Time to Collect All Apples in a Tree
  • 386. 字典序排数
  • 990. 等式方程的可满足性
  • 1627. Graph Connectivity With Threshold
  • 915. Partition Array into Disjoint Intervals
  • 671. Second Minimum Node In a Binary Tree
  • 2281. 巫师的总力量和
  • 2465. Number of Distinct Averages
  • 699. 掉落的方块
  • 1126. Active Businesses 🔒
  • 1640. Check Array Formation Through Concatenation
  • 1368. Minimum Cost to Make at Least One Valid Path in a Grid
  • 349. Intersection of Two Arrays
  • 3056. 快照分析 🔒
  • 08.13. Pile Box
  • 02.07. Intersection of Two Linked Lists
  • 77. 组合
  • 1681. Minimum Incompatibility
  • 3455. 最短匹配子字符串
  • 2885. 重命名列
  • 1229. 安排会议日程 🔒
  • 236. 二叉树的最近公共祖先
  • 05.06. Convert Integer
  • 3416. Subsequences with a Unique Middle Mode II 🔒
  • 1689. Partitioning Into Minimum Number Of Deci-Binary Numbers
  • 1726. Tuple with Same Product
  • 510. 二叉搜索树中的中序后继 II 🔒
  • 3355. 零数组变换 I
  • 2169. Count Operations to Obtain Zero
  • 1589. Maximum Sum Obtained of Any Permutation
  • 2417. Closest Fair Integer 🔒
  • 2865. 美丽塔 I
  • 1159. Market Analysis II 🔒
  • 2925. Maximum Score After Applying Operations on a Tree
  • 2296. 设计一个文本编辑器
  • 3440. Reschedule Meetings for Maximum Free Time II
  • 3529. 统计水平子串和垂直子串重叠格子的数目
  • 面试题 57 - II. 和为 s 的连续正数序列
  • 1588. Sum of All Odd Length Subarrays
  • 2669. Count Artist Occurrences On Spotify Ranking List 🔒
  • 95. 不同的二叉搜索树 II
  • 464. Can I Win
  • 2217. 找到指定长度的回文数
  • 986. 区间列表的交集
  • 1225. 报告系统状态的连续日期 🔒
  • 2439. 最小化数组中的最大值
  • 1435. Create a Session Bar Chart 🔒
  • 3423. Maximum Difference Between Adjacent Elements in a Circular Array
  • 剑指 Offer II 076. 数组中的第 k 大的数字
  • 1284. 转化为全零矩阵的最少反转次数
  • 2489. Number of Substrings With Fixed Ratio 🔒
  • 2881. Create a New Column
  • 1551. Minimum Operations to Make Array Equal
  • 2089. Find Target Indices After Sorting Array
  • 3015. Count the Number of Houses at a Certain Distance I
  • 2756. Query Batching 🔒
  • 1792. Maximum Average Pass Ratio
  • 1176. 健身计划评估 🔒
  • 1940. 排序数组之间的最长公共子序列 🔒
  • 970. Powerful Integers
  • 2357. Make Array Zero by Subtracting Equal Amounts
  • 1324. Print Words Vertically
  • 892. Surface Area of 3D Shapes
  • 2579. Count Total Number of Colored Cells
  • 3465. 查找具有有效序列号的产品
  • 815. 公交路线
  • 3285. 找到稳定山的下标
  • 2307. 检查方程中的矛盾之处 🔒
  • 1532. 最近的三笔订单 🔒
  • 173. Binary Search Tree Iterator
  • 1149. 文章浏览 II 🔒
  • 1018. 可被 5 整除的二进制前缀
  • 454. 4Sum II
  • 253. 会议室 II 🔒
  • 1882. Process Tasks Using Servers
  • 2595. Number of Even and Odd Bits
  • 剑指 Offer II 079. 所有子集
  • 1220. Count Vowels Permutation
  • 1702. Maximum Binary String After Change
  • 3462. 提取至多 K 个元素的最大总和
  • 面试题 17.15. 最长单词
  • 1352. Product of the Last K Numbers
  • 1210. Minimum Moves to Reach Target with Rotations
  • 2369. Check if There is a Valid Partition For The Array
  • 面试题 68 - II. 二叉树的最近公共祖先
  • 1805. 字符串中不同整数的数目
  • 904. Fruit Into Baskets
  • 1097. 游戏玩法分析 V 🔒
  • 3269. Constructing Two Increasing Arrays 🔒
  • 83. 删除排序链表中的重复元素
  • 3407. 子字符串匹配模式
  • 2643. Row With Maximum Ones
  • 3333. Find the Original Typed String II
  • 2320. 统计放置房子的方式数
  • 2209. 用地毯覆盖后的最少白色砖块
  • 2102. Sequentially Ordinal Rank Tracker
  • 1250. 检查「好数组」
  • 1602. Find Nearest Right Node in Binary Tree 🔒
  • 3484. Design Spreadsheet
  • 462. 最小操作次数使数组元素相等 II
  • 3359. 查找最大元素不超过 K 的有序子矩阵 🔒
  • 265. 粉刷房子 II 🔒
  • 3166. Calculate Parking Fees and Duration 🔒
  • 3123. 最短路径中的边
  • 3132. 找出与数组相加的整数 II
  • 3261. Count Substrings That Satisfy K-Constraint II
  • 483. Smallest Good Base
  • 2639. 查询网格图中每一列的宽度
  • 1824. Minimum Sideway Jumps
  • 2251. 花期内花的数目
  • 1343. 大小为 K 且平均值大于等于阈值的子数组数目
  • 2508. 添加边使所有节点度数都为偶数
  • 1708. 长度为 K 的最大子数组 🔒
  • 3469. 移除所有数组元素的最小代价
  • 2660. 保龄球游戏的获胜者
  • 剑指 Offer II 038. 每日温度
  • 1975. 最大方阵和
  • 1163. 按字典序排在最后的子串
  • 2321. Maximum Score Of Spliced Array
  • 1960. Maximum Product of the Length of Two Palindromic Substrings
  • 814. Binary Tree Pruning
  • 360. Sort Transformed Array 🔒
  • 3161. 物块放置查询
  • 2035. 将数组分成两个数组并最小化数组和的差
  • 01.08. Zero Matrix
  • 520. Detect Capital
  • 3530. Maximum Profit from Valid Topological Order in DAG
  • 361. Bomb Enemy 🔒
  • 2646. 最小化旅行的价格总和
  • 2993. 发生在周五的交易 I 🔒
  • 2446. 判断两个事件是否存在冲突
  • 1411. Number of Ways to Paint N × 3 Grid
  • 3232. 判断是否可以赢得数字游戏
  • 1302. 层数最深叶子节点的和
  • 1038. Binary Search Tree to Greater Sum Tree
  • 1694. 重新格式化电话号码
  • 2531. 使字符串中不同字符的数目相等
  • 08.06. Hanota
  • 3170. Lexicographically Minimum String After Removing Stars
  • 17. Letter Combinations of a Phone Number
  • 2496. Maximum Value of a String in an Array
  • 595. Big Countries
  • 3525. 求出数组的 X 值 II
  • 498. 对角线遍历
  • 2798. Number of Employees Who Met the Target
  • 822. 翻转卡片游戏
  • 997. Find the Town Judge
  • 2301. Match Substring After Replacement
  • 3144. 分割字符频率相等的最少子字符串
  • 101. 对称二叉树
  • 834. Sum of Distances in Tree
  • 2830. Maximize the Profit as the Salesman
  • 693. 交替位二进制数
  • 3517. 最小回文排列 I
  • 剑指 Offer II 016. 不含重复字符的最长子字符串
  • 3346. Maximum Frequency of an Element After Performing Operations I
  • 3315. Construct the Minimum Bitwise Array II
  • 716. Max Stack 🔒
  • 2783. Flight Occupancy and Waitlist Analysis 🔒
  • 316. Remove Duplicate Letters
  • 865. Smallest Subtree with all the Deepest Nodes
  • 187. 重复的DNA序列
  • 1785. 构成特定和需要添加的最少元素
  • 741. Cherry Pickup
  • 119. Pascal's Triangle II
  • 1862. 向下取整数对和
  • 1912. Design Movie Rental System
  • 3049. Earliest Second to Mark Indices II
  • 3432. Count Partitions with Even Sum Difference
  • 908. 最小差值 I
  • 2252. Dynamic Pivoting of a Table 🔒
  • 2177. Find Three Consecutive Integers That Sum to a Given Number
  • 2006. 差的绝对值为 K 的数对数目
  • 1258. Synonymous Sentences 🔒
  • 1982. Find Array Given Subset Sums
  • 127. 单词接龙
  • 1730. Shortest Path to Get Food 🔒
  • 2627. 函数防抖
  • 2737. 找到最近的标记节点 🔒
  • 2755. 深度合并两个对象 🔒
  • 112. Path Sum
  • 1897. Redistribute Characters to Make All Strings Equal
  • 1092. Shortest Common Supersequence
  • 2036. 最大交替子数组和 🔒
  • 1087. Brace Expansion 🔒
  • 40. Combination Sum II
  • 2690. Infinite Method Object 🔒
  • 2029. Stone Game IX
  • 1014. 最佳观光组合
  • 3109. 查找排列的下标 🔒
  • 2929. Distribute Candies Among Children II
  • 3402. Minimum Operations to Make Columns Strictly Increasing
  • 753. 破解保险箱
  • 1277. 统计全为 1 的正方形子矩阵
  • 2696. 删除子串后的字符串最小长度
  • 2744. Find Maximum Number of String Pairs
  • 04.08. First Common Ancestor
  • 672. 灯泡开关 Ⅱ
  • 74. Search a 2D Matrix
  • 1811. Find Interview Candidates 🔒
  • 52. N 皇后 II
  • 1106. Parsing A Boolean Expression
  • 861. 翻转矩阵后的得分
  • 3036. Number of Subarrays That Match a Pattern II
  • 2146. K Highest Ranked Items Within a Price Range
  • 剑指 Offer II 102. 加减的目标值
  • 2626. Array Reduce Transformation
  • 2432. The Employee That Worked on the Longest Task
  • 3289. The Two Sneaky Numbers of Digitville
  • 1859. Sorting the Sentence
  • 3138. Minimum Length of Anagram Concatenation
  • 562. Longest Line of Consecutive One in Matrix 🔒
  • 1143. 最长公共子序列
  • 2709. 最大公约数遍历
  • 909. Snakes and Ladders
  • 1201. Ugly Number III
  • 2926. 平衡子序列的最大和
  • 1996. The Number of Weak Characters in the Game
  • 746. 使用最小花费爬楼梯
  • 799. 香槟塔
  • 2105. 给植物浇水 II
  • 3291. 形成目标字符串需要的最少字符串数 I
  • 364. Nested List Weight Sum II 🔒
  • 847. Shortest Path Visiting All Nodes
  • 3050. 披萨配料成本分析 🔒
  • 3141. 最大汉明距离 🔒
  • 2020. Number of Accounts That Did Not Stream 🔒
  • 107. 二叉树的层序遍历 II
  • 2492. 两个城市间路径的最小分数
  • 1089. 复写零
  • 1677. 发票中的产品金额 🔒
  • 922. Sort Array By Parity II
  • 1678. Goal Parser Interpretation
  • 2519. 统计 K-Big 索引的数量 🔒
  • 599. 两个列表的最小索引总和
  • 1858. 包含所有前缀的最长单词 🔒
  • 396. 旋转函数
  • 2815. Max Pair Sum in an Array
  • 470. Implement Rand10() Using Rand7()
  • 926. 将字符串翻转到单调递增
  • 3419. Minimize the Maximum Edge Weight of Graph
  • 2174. 通过翻转行或列来去除所有的 1 II 🔒
  • 2530. 执行 K 次操作后的最大分数
  • 3201. 找出有效子序列的最大长度 I
  • 1658. 将 x 减到 0 的最小操作数
  • 2479. 两个不重叠子树的最大异或值 🔒
  • 2871. 将数组分割成最多数目的子数组
  • 842. 将数组拆分成斐波那契序列
  • 2371. 最小化网格中的最大值 🔒
  • LCP 28. 采购方案
  • 2807. 在链表中插入最大公约数
  • 1672. Richest Customer Wealth
  • 2769. Find the Maximum Achievable Number
  • 2698. Find the Punishment Number of an Integer
  • 2118. Build the Equation 🔒
  • 3323. Minimize Connected Groups by Inserting Interval 🔒
  • 17.07. Baby Names
  • 2473. 购买苹果的最低成本 🔒
  • 3119. Maximum Number of Potholes That Can Be Fixed 🔒
  • 315. 计算右侧小于当前元素的个数
  • 面试题 08.14. 布尔运算
  • 2006. Count Number of Pairs With Absolute Difference K
  • 2246. Longest Path With Different Adjacent Characters
  • JavaScript Practice
  • 1199. Minimum Time to Build Blocks 🔒
  • 1073. Adding Two Negabinary Numbers
  • 面试题 16.21. 交换和
  • 2993. Friday Purchases I 🔒
  • 3312. Sorted GCD Pair Queries
  • 3276. 选择矩阵中单元格的最大得分
  • 34. Find First and Last Position of Element in Sorted Array
  • 3116. 单面值组合的第 K 小金额
  • 1976. Number of Ways to Arrive at Destination
  • 1144. Decrease Elements To Make Array Zigzag
  • 214. 最短回文串
  • 3095. 或值至少 K 的最短子数组 I
  • 1839. 所有元音按顺序排布的最长子字符串
  • 2728. 计算一个环形街道上的房屋数量 🔒
  • 752. Open the Lock
  • 155. 最小栈
  • 171. Excel Sheet Column Number
  • 1136. Parallel Courses 🔒
  • 1297. Maximum Number of Occurrences of a Substring
  • 399. 除法求值
  • 1072. Flip Columns For Maximum Number of Equal Rows
  • 3209. 子数组按位与值为 K 的数目
  • 1299. 将每个元素替换为右侧最大元素
  • 375. 猜数字大小 II
  • 2745. Construct the Longest New String
  • 2575. Find the Divisibility Array of a String
  • 3339. Find the Number of K-Even Arrays 🔒
  • 剑指 Offer II 117. 相似的字符串
  • 1101. 彼此熟识的最早时间 🔒
  • 2898. 最大线性股票得分 🔒
  • 363. Max Sum of Rectangle No Larger Than K
  • 3451. 查找无效的 IP 地址
  • 608. 树节点
  • 863. All Nodes Distance K in Binary Tree
  • 767. Reorganize String
  • 667. 优美的排列 II
  • 1135. Connecting Cities With Minimum Cost 🔒
  • 683. K Empty Slots 🔒
  • 1739. Building Boxes
  • 2535. Difference Between Element Sum and Digit Sum of an Array
  • 2597. The Number of Beautiful Subsets
  • 154. 寻找旋转排序数组中的最小值 II
  • 1488. Avoid Flood in The City
  • 1326. 灌溉花园的最少水龙头数目
  • 1496. 判断路径是否相交
  • 1209. Remove All Adjacent Duplicates in String II
  • 面试题 16.01. 交换数字
  • 2566. 替换一个数字后的最大差值
  • 3292. Minimum Number of Valid Strings to Form Target II
  • 1125. 最小的必要团队
  • 406. Queue Reconstruction by Height
  • 1604. Alert Using Same Key-Card Three or More Times in a One Hour Period
  • 164. 最大间距
  • 825. 适龄的朋友
  • 442. 数组中重复的数据
  • 785. 判断二分图
  • 1118. Number of Days in a Month 🔒
  • 2377. 整理奥运表 🔒
  • 2572. Count the Number of Square-Free Subsets
  • 3406. 从盒子中找出字典序最大的字符串 II 🔒
  • 3420. 统计 K 次操作以内得到非递减子数组的数目
  • 1806. Minimum Number of Operations to Reinitialize a Permutation
  • 3194. Minimum Average of Smallest and Largest Elements
  • 3526. Range XOR Queries with Subarray Reversals 🔒
  • 1625. 执行操作后字典序最小的字符串
  • 904. 水果成篮
  • 92. 反转链表 II
  • 剑指 Offer II 115. 重建序列
  • 2533. Number of Good Binary Strings 🔒
  • 2308. 按性别排列表格 🔒
  • 712. Minimum ASCII Delete Sum for Two Strings
  • 2392. 给定条件下构造矩阵
  • 2520. Count the Digits That Divide a Number
  • 1633. Percentage of Users Attended a Contest
  • 3151. Special Array I
  • 2101. Detonate the Maximum Bombs
  • 3485. Longest Common Prefix of K Strings After Removal
  • 2461. Maximum Sum of Distinct Subarrays With Length K
  • 2860. Happy Students
  • 2162. 设置时间的最少代价
  • 543. 二叉树的直径
  • 1610. Maximum Number of Visible Points
  • 894. All Possible Full Binary Trees
  • 2381. 字母移位 II
  • 736. Parse Lisp Expression
  • 956. 最高的广告牌
  • 面试题 17.01. 不用加号的加法
  • 3403. Find the Lexicographically Largest String From the Box I
  • 813. Largest Sum of Averages
  • 374. Guess Number Higher or Lower
  • 2997. 使数组异或和等于 K 的最少操作次数
  • 2892. 将相邻元素相乘后得到最小化数组 🔒
  • 2362. Generate the Invoice 🔒
  • 3019. Number of Changing Keys
  • 264. Ugly Number II
  • 2303. 计算应缴税款总额
  • 42. Trapping Rain Water
  • 3053. Classifying Triangles by Lengths 🔒
  • 310. 最小高度树
  • 1624. 两个相同字符之间的最长子字符串
  • 3406. Find the Lexicographically Largest String From the Box II 🔒
  • 1570. 两个稀疏向量的点积 🔒
  • 2369. 检查数组是否存在有效划分
  • 2330. 验证回文串 IV 🔒
  • 2267. 检查是否有合法括号字符串路径
  • 3030. 找出网格的区域平均强度
  • 3377. Digit Operations to Make Two Integers Equal
  • 1548. 图中最相似的路径 🔒
  • 3431. 对数字排序的最小解锁下标 🔒
  • 500. 键盘行
  • 2551. Put Marbles in Bags
  • 462. Minimum Moves to Equal Array Elements II
  • 2264. 字符串中最大的 3 位相同数字
  • 713. Subarray Product Less Than K
  • 365. 水壶问题
  • 2893. 计算每个区间内的订单 🔒
  • 90. 子集 II
  • 3089. Find Bursty Behavior 🔒
  • 1905. Count Sub Islands
  • 523. Continuous Subarray Sum
  • 1871. Jump Game VII
  • 2090. K Radius Subarray Averages
  • 910. Smallest Range II
  • 1813. 句子相似性 III
  • 1625. Lexicographically Smallest String After Applying Operations
  • 3163. 压缩字符串 III
  • 剑指 Offer II 074. 合并区间
  • 2728. Count Houses in a Circular Street 🔒
  • 2538. 最大价值和与最小价值和的差值
  • 823. Binary Trees With Factors
  • 1216. 验证回文串 III 🔒
  • 272. 最接近的二叉搜索树值 II 🔒
  • 825. Friends Of Appropriate Ages
  • 2164. Sort Even and Odd Indices Independently
  • 3520. Minimum Threshold for Inversion Pairs Count 🔒
  • 52. N-Queens II
  • 面试题 29. 顺时针打印矩阵
  • 1610. 可见点的最大数目
  • 2022. Convert 1D Array Into 2D Array
  • 1787. 使所有区间的异或结果为零
  • 1266. 访问所有点的最小时间
  • 71. Simplify Path
  • 3074. Apple Redistribution into Boxes
  • 868. Binary Gap
  • 1622. 奇妙序列
  • 888. Fair Candy Swap
  • 3106. Lexicographically Smallest String After Operations With Constraint
  • 583. 两个字符串的删除操作
  • 897. 递增顺序搜索树
  • 面试题 16.04. 井字游戏
  • 2804. 数组原型的 forEach 方法 🔒
  • 1168. 水资源分配优化 🔒
  • 1031. 两个非重叠子数组的最大和
  • 2963. Count the Number of Good Partitions
  • 2897. Apply Operations on Array to Maximize Sum of Squares
  • 996. Number of Squareful Arrays
  • 3404. Count Special Subsequences
  • 604. Design Compressed String Iterator 🔒
  • 535. TinyURL 的加密与解密
  • 589. N-ary Tree Preorder Traversal
  • 800. Similar RGB Color 🔒
  • 414. Third Maximum Number
  • 2827. Number of Beautiful Integers in the Range
  • 2182. Construct String With Repeat Limit
  • 793. 阶乘函数后 K 个零
  • 1340. Jump Game V
  • 2948. Make Lexicographically Smallest Array by Swapping Elements
  • 3038. Maximum Number of Operations With the Same Score I
  • 2721. Execute Asynchronous Functions in Parallel
  • 677. 键值映射
  • 3235. 判断矩形的两个角落是否可达
  • 3461. 判断操作后字符串中的数字是否相等 I
  • 2795. 并行执行 Promise 以获取独有的结果 🔒
  • 剑指 Offer II 037. 小行星碰撞
  • 3188. 查找得分最高的学生 II 🔒
  • 189. 轮转数组
  • 1252. Cells with Odd Values in a Matrix
  • 2965. Find Missing and Repeated Values
  • 2047. 句子中的有效单词数
  • LCP 27. 黑盒光线反射
  • 1555. 银行账户概要 🔒
  • 1376. Time Needed to Inform All Employees
  • 3231. Minimum Number of Increasing Subsequence to Be Removed 🔒
  • 1246. Palindrome Removal 🔒
  • 3340. 检查平衡字符串
  • 966. 元音拼写检查器
  • 3099. 哈沙德数
  • 2458. 移除子树后的二叉树高度
  • 2737. Find the Closest Marked Node 🔒
  • 618. Students Report By Geography 🔒
  • 847. 访问所有节点的最短路径
  • 629. K 个逆序对数组
  • 1683. Invalid Tweets
  • 975. Odd Even Jump
  • 987. 二叉树的垂序遍历
  • 335. Self Crossing
  • 2120. Execution of All Suffix Instructions Staying in a Grid
  • 737. Sentence Similarity II 🔒
  • 1292. 元素和小于等于阈值的正方形的最大边长
  • 964. Least Operators to Express Number
  • 2308. Arrange Table by Gender 🔒
  • 905. Sort Array By Parity
  • 2984. Find Peak Calling Hours for Each City 🔒
  • 1490. 克隆 N 叉树 🔒
  • 494. Target Sum
  • 2150. 找出数组中的所有孤独数字
  • 04.03. List of Depth
  • 3541. Find Most Frequent Vowel and Consonant
  • 2138. 将字符串拆分为若干长度为 k 的组
  • 1484. Group Sold Products By The Date
  • 1576. Replace All 's to Avoid Consecutive Repeating Characters
  • 18. 四数之和
  • LCP 08. 剧情触发时间
  • 2613. Beautiful Pairs 🔒
  • 1066. Campus Bikes II 🔒
  • 3505. 使 K 个子数组内元素相等的最少操作数
  • 1820. Maximum Number of Accepted Invitations 🔒
  • 2567. Minimum Score by Changing Two Elements
  • 3397. 执行操作后不同元素的最大数量
  • 3478. Choose K Elements With Maximum Sum
  • 1022. 从根到叶的二进制数之和
  • 2026. Low-Quality Problems 🔒
  • 3073. Maximum Increasing Triplet Value 🔒
  • 2424. 最长上传前缀
  • 529. 扫雷游戏
  • 1818. 绝对差值和
  • 1889. 装包裹的最小浪费空间
  • 1414. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K
  • 3518. Smallest Palindromic Rearrangement II
  • 1422. 分割字符串的最大得分
  • 1256. 加密数字 🔒
  • 2521. 数组乘积中的不同质因数数目
  • 3367. 移除边之后的权重最大和
  • 1379. 找出克隆二叉树中的相同节点
  • 1650. Lowest Common Ancestor of a Binary Tree III 🔒
  • 1923. Longest Common Subpath
  • 1915. Number of Wonderful Substrings
  • 2083. 求以相同字母开头和结尾的子串总数 🔒
  • 1794. Count Pairs of Equal Substrings With Minimum Difference 🔒
  • 101. Symmetric Tree
  • 2272. 最大波动的子字符串
  • 2983. 回文串重新排列查询
  • 754. Reach a Number
  • 3212. 统计 X 和 Y 频数相等的子矩阵数量
  • 2580. 统计将重叠区间合并成组的方案数
  • 2342. 数位和相等数对的最大和
  • 3362. Zero Array Transformation III
  • 2703. Return Length of Arguments Passed
  • 835. 图像重叠
  • 425. Word Squares 🔒
  • 1538. Guess the Majority in a Hidden Array 🔒
  • 3319. 第 K 大的完美二叉子树的大小
  • 689. Maximum Sum of 3 Non-Overlapping Subarrays
  • 1322. 广告效果 🔒
  • 2942. 查找包含给定字符的单词
  • 240. Search a 2D Matrix II
  • 1754. 构造字典序最大的合并字符串
  • 333. Largest BST Subtree 🔒
  • 1029. 两地调度
  • 1529. Minimum Suffix Flips
  • 01.07. Rotate Matrix
  • 剑指 Offer II 035. 最小时间差
  • 1778. Shortest Path in a Hidden Grid 🔒
  • 2980. Check if Bitwise OR Has Trailing Zeros
  • 2355. Maximum Number of Books You Can Take 🔒
  • 2453. Destroy Sequential Targets
  • 08.07. Permutation I
  • 2012. 数组美丽值求和
  • 346. Moving Average from Data Stream 🔒
  • 431. Encode N-ary Tree to Binary Tree 🔒
  • 2806. Account Balance After Rounded Purchase
  • 2568. Minimum Impossible OR
  • 3208. 交替组 II
  • LCP 55. 采集果实
  • 2021. 街上最亮的位置 🔒
  • 1643. Kth Smallest Instructions
  • 1672. 最富有客户的资产总量
  • 788. 旋转数字
  • 139. 单词拆分
  • 1835. 所有数对按位与结果的异或和
  • 2761. 和等于目标值的质数对
  • 879. 盈利计划
  • 1447. 最简分数
  • 3288. Length of the Longest Increasing Path
  • 293. Flip Game 🔒
  • 1073. 负二进制数相加
  • 1424. Diagonal Traverse II
  • 967. Numbers With Same Consecutive Differences
  • LCP 56. 信物传送
  • 2438. 二的幂数组中查询范围内的乘积
  • 548. Split Array with Equal Sum 🔒
  • 3122. Minimum Number of Operations to Satisfy Conditions
  • 1573. 分割字符串的方案数
  • 1087. 花括号展开 🔒
  • 1337. The K Weakest Rows in a Matrix
  • 2417. 最近的公平整数 🔒
  • 2673. 使二叉树所有路径值相等的最小代价
  • 280. 摆动排序 🔒
  • 470. 用 Rand7() 实现 Rand10()
  • 2684. 矩阵中移动的最大次数
  • 2939. Maximum Xor Product
  • 128. Longest Consecutive Sequence
  • 剑指 Offer II 083. 没有重复元素集合的全排列
  • 3519. Count Numbers with Non-Decreasing Digits
  • 819. Most Common Word
  • 1938. 查询最大基因差
  • 2753. Count Houses in a Circular Street II 🔒
  • 1260. 二维网格迁移
  • 2664. 巡逻的骑士 🔒
  • 342. Power of Four
  • 2133. Check if Every Row and Column Contains All Numbers
  • 2977. Minimum Cost to Convert String II
  • 3027. 人员站位的方案数 II
  • 506. 相对名次
  • 3532. Path Existence Queries in a Graph I
  • 2398. 预算内的最多机器人数目
  • 3118. Friday Purchase III 🔒
  • 1018. Binary Prefix Divisible By 5
  • 剑指 Offer II 018. 有效的回文
  • 剑指 Offer II 023. 两个链表的第一个重合节点
  • 1370. Increasing Decreasing String
  • 508. 出现次数最多的子树元素和
  • 328. Odd Even Linked List
  • 66. Plus One
  • 2144. Minimum Cost of Buying Candies With Discount
  • 2312. Selling Pieces of Wood
  • 3259. 超级饮料的最大强化能量
  • 1417. Reformat The String
  • 1598. Crawler Log Folder
  • 1485. Clone Binary Tree With Random Pointer 🔒
  • 7. 整数反转
  • 450. Delete Node in a BST
  • 1933. 判断字符串是否可分解为值均等的子串 🔒
  • 505. The Maze II 🔒
  • 3383. 施法所需最低符文数量 🔒
  • 1163. Last Substring in Lexicographical Order
  • 剑指 Offer II 012. 左右两边子数组的和相等
  • 2213. 由单个字符重复的最长子字符串
  • 1475. 商品折扣后的最终价格
  • 2103. Rings and Rods
  • 93. 复原 IP 地址
  • 255. 验证二叉搜索树的前序遍历序列 🔒
  • 3426. Manhattan Distances of All Arrangements of Pieces
  • 3273. 对 Bob 造成的最少伤害
  • 1179. Reformat Department Table
  • 3552. 网格传送门旅游
  • 3361. Shift Distance Between Two Strings
  • 3411. 最长乘积等价子数组
  • 831. 隐藏个人信息
  • 3224. 使差值相等的最少数组改动次数
  • 2487. Remove Nodes From Linked List
  • 3554. 查找类别推荐对
  • 3127. 构造相同颜色的正方形
  • 2546. Apply Bitwise Operations to Make Strings Equal
  • 2648. 生成斐波那契数列
  • 2412. Minimum Money Required Before Transactions
  • 3157. Find the Level of Tree with Minimum Sum 🔒
  • 556. 下一个更大元素 III
  • 1791. 找出星型图的中心节点
  • 3233. 统计不是特殊数字的数字数量
  • 2742. 给墙壁刷油漆
  • 剑指 Offer II 073. 狒狒吃香蕉
  • 1852. Distinct Numbers in Each Subarray 🔒
  • 3124. 查找最长的电话 🔒
  • 1890. 2020年最后一次登录
  • 2079. 给植物浇水
  • 902. 最大为 N 的数字组合
  • 1705. Maximum Number of Eaten Apples
  • 829. Consecutive Numbers Sum
  • 2473. Minimum Cost to Buy Apples 🔒
  • 3423. 循环数组中相邻元素的最大差值
  • 1874. Minimize Product Sum of Two Arrays 🔒
  • 3390. Longest Team Pass Streak 🔒
  • 2857. 统计距离为 k 的点对
  • 1100. 长度为 K 的无重复字符子串 🔒
  • 1344. 时钟指针的夹角
  • 1634. Add Two Polynomials Represented as Linked Lists 🔒
  • 242. 有效的字母异位词
  • 1373. Maximum Sum BST in Binary Tree
  • 1768. Merge Strings Alternately
  • 1676. 二叉树的最近公共祖先 IV 🔒
  • 1430. 判断给定的序列是否是二叉树从根到叶的路径 🔒
  • LCP 59. 搭桥过河
  • 2024. 考试的最大困扰度
  • 1629. Slowest Key
  • 2800. Shortest String That Contains Three Strings
  • 1635. Hopper Company Queries I 🔒
  • 面试题 65. 不用加减乘除做加法
  • 1614. Maximum Nesting Depth of the Parentheses
  • 1010. 总持续时间可被 60 整除的歌曲
  • 679. 24 点游戏
  • 2799. 统计完全子数组的数目
  • 693. Binary Number with Alternating Bits
  • 570. Managers with at Least 5 Direct Reports
  • 433. 最小基因变化
  • 377. 组合总和 Ⅳ
  • 2400. Number of Ways to Reach a Position After Exactly k Steps
  • 2601. Prime Subtraction Operation
  • 391. 完美矩形
  • 710. 黑名单中的随机数
  • 3041. Maximize Consecutive Elements in an Array After Modification
  • 31. 下一个排列
  • 1886. 判断矩阵经轮转后是否一致
  • 2495. Number of Subarrays Having Even Product 🔒
  • 2022. 将一维数组转变成二维数组
  • 3244. 新增道路查询后的最短距离 II
  • 1801. Number of Orders in the Backlog
  • 293. 翻转游戏 🔒
  • 616. Add Bold Tag in String 🔒
  • 1628. 设计带解析函数的表达式树 🔒
  • 1252. 奇数值单元格的数目
  • 2870. Minimum Number of Operations to Make Array Empty
  • 3405. 统计恰好有 K 个相等相邻元素的数组数目
  • 2674. Split a Circular Linked List 🔒
  • 2680. 最大或值
  • 485. Max Consecutive Ones
  • 62. 不同路径
  • 1494. 并行课程 II
  • 1093. 大样本统计
  • 3545. Minimum Deletions for At Most K Distinct Characters
  • 1030. 距离顺序排列矩阵单元格
  • 633. Sum of Square Numbers
  • 3405. Count the Number of Arrays with K Matching Adjacent Elements
  • 2139. 得到目标值的最少行动次数
  • 1141. 查询近30天活跃用户数
  • 1999. Smallest Greater Multiple Made of Two Digits 🔒
  • 213. 打家劫舍 II
  • 2771. 构造最长非递减子数组
  • 941. 有效的山脉数组
  • 1266. Minimum Time Visiting All Points
  • 2160. Minimum Sum of Four Digit Number After Splitting Digits
  • 3415. 查找具有三个连续数字的产品 🔒
  • 3048. 标记所有下标的最早秒数 I
  • 1186. 删除一次得到子数组最大和
  • 2165. Smallest Value of the Rearranged Number
  • 1304. 和为零的 N 个不同整数
  • 3308. Find Top Performing Driver 🔒
  • 3278. 寻找数据科学家职位的候选人 II 🔒
  • 3025. 人员站位的方案数 I
  • 612. 平面上的最近距离 🔒
  • 757. Set Intersection Size At Least Two
  • 275. H 指数 II
  • 17.18. Shortest Supersequence
  • 3043. 最长公共前缀的长度
  • 233. 数字 1 的个数
  • 2802. Find The K-th Lucky Number 🔒
  • 2363. 合并相似的物品
  • 2667. Create Hello World Function
  • 89. Gray Code
  • 2985. Calculate Compressed Mean 🔒
  • 907. 子数组的最小值之和
  • 3422. 将子数组元素变为相等所需的最小操作数 🔒
  • 面试题 26. 树的子结构
  • 166. Fraction to Recurring Decimal
  • 2772. 使数组中的所有元素都等于零
  • 1161. Maximum Level Sum of a Binary Tree
  • 16.07. Maximum
  • 2277. Closest Node to Path in Tree 🔒
  • 2510. 检查是否有路径经过相同数量的 0 和 1 🔒
  • 2114. 句子中的最多单词数
  • 565. 数组嵌套
  • 1834. 单线程 CPU
  • 3453. Separate Squares I
  • 50. Pow(x, n)
  • 3220. 奇数和偶数交易
  • 3412. Find Mirror Score of a String
  • 65. 有效数字
  • 1946. Largest Number After Mutating Substring
  • 493. Reverse Pairs
  • 3193. Count the Number of Inversions
  • 1128. Number of Equivalent Domino Pairs
  • 2685. 统计完全连通分量的数量
  • 436. Find Right Interval
  • 660. 移除 9 🔒
  • 2437. Number of Valid Clock Times
  • 1119. Remove Vowels from a String 🔒
  • 1690. 石子游戏 VII
  • 760. 找出变位映射 🔒
  • 3188. Find Top Scoring Students II 🔒
  • 3466. 最大硬币收集量 🔒
  • 1666. Change the Root of a Binary Tree 🔒
  • 1091. 二进制矩阵中的最短路径
  • 面试题 17.13. 恢复空格
  • 1512. 好数对的数目
  • 2946. Matrix Similarity After Cyclic Shifts
  • 面试题 03. 数组中重复的数字
  • 1653. 使字符串平衡的最少删除次数
  • 35. 搜索插入位置
  • 2440. Create Components With Same Value
  • 551. Student Attendance Record I
  • 1154. Day of the Year
  • 2416. Sum of Prefix Scores of Strings
  • 2870. 使数组为空的最少操作次数
  • 818. Race Car
  • 3248. 矩阵中的蛇
  • 2676. 节流 🔒
  • 1613. 找到遗失的ID 🔒
  • 2270. 分割数组的方案数
  • 2453. 摧毁一系列目标
  • 1121. 将数组分成几个递增序列 🔒
  • 1766. 互质树
  • LCP 82. 万灵之树
  • 3051. Find Candidates for Data Scientist Position 🔒
  • 81. Search in Rotated Sorted Array II
  • 2002. 两个回文子序列长度的最大乘积
  • 2516. Take K of Each Character From Left and Right
  • 2670. Find the Distinct Difference Array
  • 2511. Maximum Enemy Forts That Can Be Captured
  • 1312. Minimum Insertion Steps to Make a String Palindrome
  • 面试题 02.02. 返回倒数第 k 个节点
  • 775. Global and Local Inversions
  • 2872. Maximum Number of K-Divisible Components
  • 2292. Products With Three or More Orders in Two Consecutive Years 🔒
  • 592. Fraction Addition and Subtraction
  • 184. 部门工资最高的员工
  • 959. 由斜杠划分区域
  • 1725. Number Of Rectangles That Can Form The Largest Square
  • 剑指 Offer II 099. 最小路径之和
  • 790. Domino and Tromino Tiling
  • 2341. Maximum Number of Pairs in Array
  • 剑指 Offer II 031. 最近最少使用缓存
  • 1157. Online Majority Element In Subarray
  • 2542. 最大子序列的分数
  • 547. 省份数量
  • 3284. 连续子数组的和 🔒
  • 3439. Reschedule Meetings for Maximum Free Time I
  • 1356. Sort Integers by The Number of 1 Bits
  • 2415. 反转二叉树的奇数层
  • 2991. 最好的三家酒庄 🔒
  • 1381. 设计一个支持增量操作的栈
  • 1630. 等差子数组
  • 505. 迷宫 II 🔒
  • 2196. 根据描述创建二叉树
  • 2635. 转换数组中的每个元素
  • 1429. First Unique Number 🔒
  • 340. 至多包含 K 个不同字符的最长子串 🔒
  • 2503. 矩阵查询可获得的最大分数
  • 面试题 16.09. 运算
  • 1950. Maximum of Minimum Values in All Subarrays 🔒
  • 1805. Number of Different Integers in a String
  • 3463. 判断操作后字符串中的数字是否相等 II
  • 16. 最接近的三数之和
  • 777. Swap Adjacent in LR String
  • 3430. Maximum and Minimum Sums of at Most Size K Subarrays
  • 2287. Rearrange Characters to Make Target String
  • 1618. Maximum Font to Fit a Sentence in a Screen 🔒
  • 2982. 找出出现至少三次的最长特殊子字符串 II
  • 2583. Kth Largest Sum in a Binary Tree
  • 1455. 检查单词是否为句中其他单词的前缀
  • 3133. 数组最后一个元素的最小值
  • 1044. 最长重复子串
  • 1415. The k-th Lexicographical String of All Happy Strings of Length n
  • 297. Serialize and Deserialize Binary Tree
  • 648. Replace Words
  • 944. Delete Columns to Make Sorted
  • 918. Maximum Sum Circular Subarray
  • 2561. 重排水果
  • 1195. Fizz Buzz Multithreaded
  • 1139. Largest 1-Bordered Square
  • 1144. 递减元素使数组呈锯齿状
  • 1782. 统计点对的数目
  • 779. K-th Symbol in Grammar
  • 1088. 易混淆数 II 🔒
  • 3019. 按键变更的次数
  • 3069. Distribute Elements Into Two Arrays I
  • 1082. 销售分析 I 🔒
  • 1431. 拥有最多糖果的孩子
  • 2904. 最短且字典序最小的美丽子字符串
  • 804. 唯一摩尔斯密码词
  • 2248. 多个数组求交集
  • 1616. Split Two Strings to Make Palindrome
  • 3525. Find X Value of Array II
  • 83. Remove Duplicates from Sorted List
  • 2143. Choose Numbers From Two Arrays in Range 🔒
  • 3429. 粉刷房子 IV
  • LCP 47. 入场安检
  • 1126. 查询活跃业务 🔒
  • 2775. Undefined to Null 🔒
  • 3033. 修改矩阵
  • 3501. Maximize Active Section with Trade II
  • 331. Verify Preorder Serialization of a Binary Tree
  • 2512. 奖励最顶尖的 K 名学生
  • 2382. 删除操作后的最大子段和
  • 340. Longest Substring with At Most K Distinct Characters 🔒
  • 2212. 射箭比赛中的最大得分
  • 面试题 16.26. 计算器
  • 2348. 全 0 子数组的数目
  • 646. 最长数对链
  • 198. House Robber
  • 1111. 有效括号的嵌套深度
  • 3054. Binary Tree Nodes 🔒
  • 1035. Uncrossed Lines
  • 1452. People Whose List of Favorite Companies Is Not a Subset of Another List
  • 3117. Minimum Sum of Values by Dividing Array
  • 2077. Paths in Maze That Lead to Same Room 🔒
  • 2736. Maximum Sum Queries
  • 2761. Prime Pairs With Target Sum
  • 2066. 账户余额 🔒
  • 29. Divide Two Integers
  • 198. 打家劫舍
  • 2594. Minimum Time to Repair Cars
  • 2539. Count the Number of Good Subsequences 🔒
  • 1972. First and Last Call On the Same Day 🔒
  • 1408. 数组中的字符串匹配
  • 1937. Maximum Number of Points with Cost
  • 2902. Count of Sub-Multisets With Bounded Sum
  • 1477. Find Two Non-overlapping Sub-arrays Each With Target Sum
  • 1845. Seat Reservation Manager
  • 1973. Count Nodes Equal to Sum of Descendants 🔒
  • 剑指 Offer II 094. 最少回文分割
  • 500. Keyboard Row
  • 1765. Map of Highest Peak
  • 826. Most Profit Assigning Work
  • 1406. 石子游戏 III
  • 2707. 字符串中的额外字符
  • 剑指 Offer II 004. 只出现一次的数字
  • 1025. Divisor Game
  • 787. Cheapest Flights Within K Stops
  • 2576. 求出最多标记下标
  • 1983. 范围和相等的最宽索引对 🔒
  • 2401. 最长优雅子数组
  • 550. 游戏玩法分析 IV
  • LCP 51. 烹饪料理
  • 2293. 极大极小游戏
  • 1971. 寻找图中是否存在路径
  • 剑指 Offer II 092. 翻转字符
  • 918. 环形子数组的最大和
  • 1918. 第 K 小的子数组和 🔒
  • 3146. Permutation Difference between Two Strings
  • 1716. Calculate Money in Leetcode Bank
  • 2841. Maximum Sum of Almost Unique Subarray
  • 1262. Greatest Sum Divisible by Three
  • 3223. 操作后字符串的最短长度
  • 913. 猫和老鼠
  • 59. 螺旋矩阵 II
  • 3508. 设计路由器
  • 3461. Check If Digits Are Equal in String After Operations I
  • 251. Flatten 2D Vector 🔒
  • 887. Super Egg Drop
  • 24. Swap Nodes in Pairs
  • 2944. 购买水果需要的最少金币数
  • 1840. 最高建筑高度
  • 3102. 最小化曼哈顿距离
  • 1833. 雪糕的最大数量
  • 276. 栅栏涂色 🔒
  • 3311. Construct 2D Grid Matching Graph Layout
  • 1954. Minimum Garden Perimeter to Collect Enough Apples
  • 1243. Array Transformation 🔒
  • 48. Rotate Image
  • 123. Best Time to Buy and Sell Stock III
  • 1035. 不相交的线
  • 1010. Pairs of Songs With Total Durations Divisible by 60
  • 2196. Create Binary Tree From Descriptions
  • 2719. 统计整数数目
  • 274. H 指数
  • 2669. 统计 Spotify 排行榜上艺术家出现次数 🔒
  • 3282. 到达数组末尾的最大得分
  • 2386. Find the K-Sum of an Array
  • 1940. Longest Common Subsequence Between Sorted Arrays 🔒
  • 2634. Filter Elements from Array
  • 2970. 统计移除递增子数组的数目 I
  • 735. Asteroid Collision
  • 1193. Monthly Transactions I
  • 1664. Ways to Make a Fair Array
  • 3366. 最小数组和
  • 1687. Delivering Boxes from Storage to Ports
  • 2723. Add Two Promises
  • 36. Valid Sudoku
  • 993. Cousins in Binary Tree
  • 面试题 14- I. 剪绳子
  • 1439. Find the Kth Smallest Sum of a Matrix With Sorted Rows
  • 618. 学生地理信息报告 🔒
  • 385. Mini Parser
  • 3410. Maximize Subarray Sum After Removing All Occurrences of One Element
  • 1564. 把箱子放进仓库里 I 🔒
  • 159. 至多包含两个不同字符的最长子串 🔒
  • 2134. 最少交换次数来组合所有的 1 II
  • 3356. 零数组变换 II
  • 418. 屏幕可显示句子的数量 🔒
  • 2871. Split Array Into Maximum Number of Subarrays
  • 395. 至少有 K 个重复字符的最长子串
  • 201. 数字范围按位与
  • 1005. Maximize Sum Of Array After K Negations
  • 2444. Count Subarrays With Fixed Bounds
  • 1476. 子矩形查询
  • 2800. 包含三个字符串的最短字符串
  • 1426. 数元素 🔒
  • 1509. Minimum Difference Between Largest and Smallest Value in Three Moves
  • 1767. Find the Subtasks That Did Not Execute 🔒
  • 1315. Sum of Nodes with Even-Valued Grandparent
  • 1522. Diameter of N-Ary Tree 🔒
  • 2741. 特别的排列
  • 2675. Array of Objects to Matrix 🔒
  • 1641. 统计字典序元音字符串的数目
  • 347. 前 K 个高频元素
  • 1380. Lucky Numbers in a Matrix
  • 1447. Simplified Fractions
  • 1486. 数组异或操作
  • 3186. 施咒的最大总伤害
  • 2064. Minimized Maximum of Products Distributed to Any Store
  • 3042. 统计前后缀下标对 I
  • 888. 公平的糖果交换
  • 607. 销售员
  • 705. Design HashSet
  • 1781. Sum of Beauty of All Substrings
  • 2052. 将句子分隔成行的最低成本 🔒
  • 1883. 准时抵达会议现场的最小跳过休息次数
  • 10. Regular Expression Matching
  • 832. Flipping an Image
  • 1943. Describe the Painting
  • 3200. 三角形的最大高度
  • 1903. Largest Odd Number in String
  • 2297. 跳跃游戏 VIII 🔒
  • 1054. Distant Barcodes
  • 1772. 按受欢迎程度排列功能 🔒
  • 1119. 删去字符串中的元音 🔒
  • 2679. 矩阵中的和
  • 2443. 反转之后的数字和
  • 3445. 奇偶频次间的最大差值 II
  • 214. Shortest Palindrome
  • 896. Monotonic Array
  • 剑指 Offer II 015. 字符串中的所有变位词
  • 3160. 所有球里面不同颜色的数目
  • 2605. Form Smallest Number From Two Digit Arrays
  • 剑指 Offer II 105. 岛屿的最大面积
  • 88. Merge Sorted Array
  • 1210. 穿过迷宫的最少移动次数
  • 1543. Fix Product Name Format 🔒
  • 2156. Find Substring With Given Hash Value
  • 196. Delete Duplicate Emails
  • 635. 设计日志存储系统 🔒
  • 756. Pyramid Transition Matrix
  • 220. Contains Duplicate III
  • 1016. Binary String With Substrings Representing 1 To N
  • 984. String Without AAA or BBB
  • 2803. Factorial Generator 🔒
  • 1819. 序列中不同最大公约数的数目
  • 856. 括号的分数
  • 770. 基本计算器 IV
  • 1408. String Matching in an Array
  • 679. 24 Game
  • 821. Shortest Distance to a Character
  • 809. Expressive Words
  • 2263. 数组变为有序的最小操作次数 🔒
  • 1289. 下降路径最小和 II
  • 10.01. Sorted Merge
  • 1366. Rank Teams by Votes
  • 2995. 观众变主播 🔒
  • 2403. 杀死所有怪物的最短时间 🔒
  • 3135. 通过添加或删除结尾字符来同化字符串 🔒
  • 2215. 找出两数组的不同
  • 3497. Analyze Subscription Conversion
  • 面试题 67. 把字符串转换成整数
  • 923. 三数之和的多种可能
  • 1271. 十六进制魔术数字 🔒
  • 2831. 找出最长等值子数组
  • 2838. 英雄可以获得的最大金币数 🔒
  • 2665. Counter II
  • 1970. 你能穿过矩阵的最后一天
  • 1390. Four Divisors
  • 1094. 拼车
  • 2312. 卖木头块
  • 792. 匹配子序列的单词数
  • 1291. Sequential Digits
  • 778. Swim in Rising Water
  • 3218. 切蛋糕的最小总开销 I
  • 1903. 字符串中的最大奇数
  • 1542. Find Longest Awesome Substring
  • 2394. 开除员工 🔒
  • 2505. 所有子序列和的按位或 🔒
  • 716. 最大栈 🔒
  • 421. 数组中两个数的最大异或值
  • 84. Largest Rectangle in Histogram
  • 2466. Count Ways To Build Good Strings
  • 1046. Last Stone Weight
  • 2224. Minimum Number of Operations to Convert Time
  • 739. 每日温度
  • 815. Bus Routes
  • 2137. 通过倒水操作让所有的水桶所含水量相等 🔒
  • 2709. Greatest Common Divisor Traversal
  • 1177. 构建回文串检测
  • 828. Count Unique Characters of All Substrings of a Given String
  • 281. 锯齿迭代器 🔒
  • 17.04. Missing Number
  • 剑指 Offer II 057. 值和下标之差都在给定的范围内
  • 9. 回文数
  • 17.01. Add Without Plus
  • 1818. Minimum Absolute Sum Difference
  • 3263. 将双链表转换为数组 I 🔒
  • 3416. 唯一中间众数子序列 II 🔒
  • 3171. Find Subarray With Bitwise OR Closest to K
  • 1224. Maximum Equal Frequency
  • 279. Perfect Squares
  • 1317. Convert Integer to the Sum of Two No-Zero Integers
  • 794. Valid Tic-Tac-Toe State
  • 2328. Number of Increasing Paths in a Grid
  • 2763. Sum of Imbalance Numbers of All Subarrays
  • 64. Minimum Path Sum
  • 2041. 面试中被录取的候选人 🔒
  • 1896. 反转表达式值的最少操作次数
  • 529. Minesweeper
  • 209. Minimum Size Subarray Sum
  • 2676. Throttle 🔒
  • 2128. 通过翻转行或列来去除所有的 1 🔒
  • 3338. Second Highest Salary II 🔒
  • 522. Longest Uncommon Subsequence II
  • 658. 找到 K 个最接近的元素
  • 1040. Moving Stones Until Consecutive II
  • 681. Next Closest Time 🔒
  • 2335. 装满杯子需要的最短总时长
  • 1002. Find Common Characters
  • 1461. 检查一个字符串是否包含所有长度为 K 的二进制子串
  • 1954. 收集足够苹果的最小花园周长
  • 3278. Find Candidates for Data Scientist Position II 🔒
  • 1108. IP 地址无效化
  • 1534. Count Good Triplets
  • 2683. Neighboring Bitwise XOR
  • 3027. Find the Number of Ways to Place People II
  • 224. Basic Calculator
  • 1968. 构造元素不等于两相邻元素平均值的数组
  • 751. IP 到 CIDR 🔒
  • 1511. 消费者下单频率 🔒
  • 面试题 08.13. 堆箱子
  • 2247. K 条高速公路的最大旅行费用 🔒
  • 2061. Number of Spaces Cleaning Robot Cleaned 🔒
  • 2743. Count Substrings Without Repeating Character 🔒
  • 2922. Market Analysis III 🔒
  • 836. Rectangle Overlap
  • 剑指 Offer II 036. 后缀表达式
  • 288. 单词的唯一缩写 🔒
  • 1039. Minimum Score Triangulation of Polygon
  • 310. Minimum Height Trees
  • 1698. Number of Distinct Substrings in a String 🔒
  • 550. Game Play Analysis IV
  • 1794. 统计距离最小的子串对个数 🔒
  • 921. 使括号有效的最少添加
  • 1744. Can You Eat Your Favorite Candy on Your Favorite Day
  • 896. 单调数列
  • 410. 分割数组的最大值
  • 466. 统计重复个数
  • 186. Reverse Words in a String II 🔒
  • 2159. Order Two Columns Independently 🔒
  • 3503. Longest Palindrome After Substring Concatenation I
  • 2241. Design an ATM Machine
  • 2637. Promise Time Limit
  • 3096. 得到更多分数的最少关卡数目
  • 3444. Minimum Increments for Target Multiples in an Array
  • 2267. Check if There Is a Valid Parentheses String Path
  • 剑指 Offer II 010. 和为 k 的子数组
  • 2095. 删除链表的中间节点
  • 2740. 找出分区值
  • 2485. Find the Pivot Integer
  • 1131. Maximum of Absolute Value Expression
  • 1743. 从相邻元素对还原数组
  • 118. Pascal's Triangle
  • 3531. Count Covered Buildings
  • 2230. The Users That Are Eligible for Discount 🔒
  • 1727. 重新排列后的最大子矩阵
  • 2331. 计算布尔二叉树的值
  • 969. Pancake Sorting
  • 2686. Immediate Food Delivery III 🔒
  • 2493. Divide Nodes Into the Maximum Number of Groups
  • 3163. String Compression III
  • 2119. 反转两次的数字
  • 192. Word Frequency
  • 1194. Tournament Winners 🔒
  • 3373. 连接两棵树后最大目标节点数目 II
  • 1398. 购买了产品 A 和产品 B 却没有购买产品 C 的顾客 🔒
  • 1232. 缀点成线
  • 1278. 分割回文串 III
  • 2288. 价格减免
  • 58. Length of Last Word
  • 1147. 段式回文
  • 420. Strong Password Checker
  • 1104. Path In Zigzag Labelled Binary Tree
  • 2095. Delete the Middle Node of a Linked List
  • 931. 下降路径最小和
  • 2739. Total Distance Traveled
  • 2265. 统计值等于子树平均值的节点数
  • 3047. Find the Largest Area of Square Inside Two Rectangles
  • 1701. 平均等待时间
  • 2883. Drop Missing Data
  • 2091. Removing Minimum and Maximum From Array
  • 3052. 最大化商品 🔒
  • 1315. 祖父节点值为偶数的节点和
  • 1524. Number of Sub-arrays With Odd Sum
  • 181. Employees Earning More Than Their Managers
  • 3064. 使用按位查询猜测数字 I 🔒
  • 1505. Minimum Possible Integer After at Most K Adjacent Swaps On Digits
  • 553. 最优除法
  • 546. 移除盒子
  • 2864. 最大二进制奇数
  • 1720. 解码异或后的数组
  • 1359. Count All Valid Pickup and Delivery Options
  • 78. 子集
  • 1133. 最大唯一数 🔒
  • 400. 第 N 位数字
  • 165. 比较版本号
  • 3492. Maximum Containers on a Ship
  • 2757. 生成循环数组的值 🔒
  • 3435. Frequencies of Shortest Supersequences
  • 67. 二进制求和
  • 1676. Lowest Common Ancestor of a Binary Tree IV 🔒
  • 08.03. Magic Index
  • 2928. Distribute Candies Among Children I
  • 1836. Remove Duplicates From an Unsorted Linked List 🔒
  • 1582. Special Positions in a Binary Matrix
  • 2730. 找到最长的半重复子字符串
  • 143. 重排链表
  • 1285. Find the Start and End Number of Continuous Ranges 🔒
  • 2329. 产品销售分析Ⅴ 🔒
  • 1114. 按序打印
  • 2868. 单词游戏 🔒
  • 1495. Friendly Movies Streamed Last Month 🔒
  • 17.10. Find Majority Element
  • 623. Add One Row to Tree
  • 3219. Minimum Cost for Cutting Cake II
  • 575. Distribute Candies
  • 271. Encode and Decode Strings 🔒
  • 2109. Adding Spaces to a String
  • 05.01. Insert Into Bits
  • 974. 和可被 K 整除的子数组
  • 2796. Repeat String 🔒
  • 2858. 可以到达每一个节点的最少边反转次数
  • 924. Minimize Malware Spread
  • 1367. 二叉树中的链表
  • 2175. 世界排名的变化 🔒
  • 3394. Check if Grid can be Cut into Sections
  • 2659. Make Array Empty
  • 1491. Average Salary Excluding the Minimum and Maximum Salary
  • 1876. 长度为三且各字符不同的子字符串
  • 面试题 04.05. 合法二叉搜索树
  • 1646. 获取生成数组中的最大值
  • 2772. Apply Operations to Make All Array Elements Equal to Zero
  • LCP 63. 弹珠游戏
  • 1942. 最小未被占据椅子的编号
  • 2354. 优质数对的数目
  • 1374. Generate a String With Characters That Have Odd Counts
  • 769. Max Chunks To Make Sorted
  • 1101. The Earliest Moment When Everyone Become Friends 🔒
  • 2959. 关闭分部的可行集合数目
  • 2853. 最高薪水差异 🔒
  • 1108. Defanging an IP Address
  • 538. Convert BST to Greater Tree
  • 1480. 一维数组的动态和
  • 3101. 交替子数组计数
  • 1985. Find the Kth Largest Integer in the Array
  • 179. 最大数
  • 1758. 生成交替二进制字符串的最少操作数
  • 2530. Maximal Score After Applying K Operations
  • 3546. Equal Sum Grid Partition I
  • 3130. Find All Possible Stable Binary Arrays II
  • 70. Climbing Stairs
  • 3293. 计算产品最终价格 🔒
  • 384. Shuffle an Array
  • 1155. Number of Dice Rolls With Target Sum
  • 943. 最短超级串
  • 1944. Number of Visible People in a Queue
  • 1607. Sellers With No Sales 🔒
  • 1835. Find XOR Sum of All Pairs Bitwise AND
  • 178. Rank Scores
  • 剑指 Offer II 104. 排列的数目
  • 面试题 17.22. 单词转换
  • 952. Largest Component Size by Common Factor
  • 3153. 所有数对中数位差之和
  • 1164. 指定日期的产品价格
  • 3327. Check if DFS Strings Are Palindromes
  • 961. 在长度 2N 的数组中找出重复 N 次的元素
  • 2339. 联赛的所有比赛 🔒
  • 1551. 使数组中所有元素相等的最小操作数
  • 3437. Permutations III 🔒
  • 1857. 有向图中最大颜色值
  • 1283. 使结果不超过阈值的最小除数
  • 664. Strange Printer
  • 2286. Booking Concert Tickets in Groups
  • 面试题 54. 二叉搜索树的第 k 大节点
  • 833. Find And Replace in String
  • 1872. Stone Game VIII
  • 3247. 奇数和子序列的数量 🔒
  • 1089. Duplicate Zeros
  • 3037. 在无限流中寻找模式 II 🔒
  • 2647. Color the Triangle Red 🔒
  • 2316. Count Unreachable Pairs of Nodes in an Undirected Graph
  • 2043. 简易银行系统
  • 2393. 严格递增的子数组个数 🔒
  • 2325. Decode the Message
  • 1348. Tweet Counts Per Frequency
  • 3441. 变成好标题的最少代价
  • 722. Remove Comments
  • 2106. Maximum Fruits Harvested After at Most K Steps
  • 899. 有序队列
  • 384. 打乱数组
  • 2327. 知道秘密的人数
  • 2786. 访问数组中的位置使分数最大
  • 2013. 检测正方形
  • 406. 根据身高重建队列
  • 1842. 下个由相同数字构成的回文串 🔒
  • 2613. 美数对 🔒
  • 1927. 求和游戏
  • 1936. 新增的最少台阶数
  • 597. 好友申请 I:总体通过率 🔒
  • 3343. Count Number of Balanced Permutations
  • 525. 连续数组
  • 3501. 操作后最大活跃区段数 II
  • 853. 车队
  • 2789. Largest Element in an Array after Merge Operations
  • 327. Count of Range Sum
  • 1795. Rearrange Products Table
  • 1986. 完成任务的最少工作时间段
  • 1463. Cherry Pickup II
  • 290. Word Pattern
  • 2992. 自整除排列的数量 🔒
  • 2046. Sort Linked List Already Sorted Using Absolute Values 🔒
  • 剑指 Offer II 101. 分割等和子串
  • 898. 子数组按位或操作
  • 1974. 使用特殊打字机键入单词的最少时间
  • 983. 最低票价
  • 28. Find the Index of the First Occurrence in a String
  • 2360. Longest Cycle in a Graph
  • 151. 反转字符串中的单词
  • 3489. 零数组变换 IV
  • 2345. Finding the Number of Visible Mountains 🔒
  • 1214. 查找两棵二叉搜索树之和 🔒
  • 3249. 统计好节点的数目
  • 3326. Minimum Division Operations to Make Array Non Decreasing
  • 2816. Double a Number Represented as a Linked List
  • 885. 螺旋矩阵 III
  • 2651. Calculate Delayed Arrival Time
  • 1377. T 秒后青蛙的位置
  • 2593. Find Score of an Array After Marking All Elements
  • 3396. 使数组元素互不相同所需的最少操作次数
  • 1248. Count Number of Nice Subarrays
  • 515. 在每个树行中找最大值
  • 289. 生命游戏
  • 1958. 检查操作是否合法
  • 2802. 找出第 K 个幸运数字 🔒
  • 2521. Distinct Prime Factors of Product of Array
  • 160. 相交链表
  • 1568. 使陆地分离的最少天数
  • 3454. 分割正方形 II
  • 剑指 Offer II 021. 删除链表的倒数第 n 个结点
  • 454. 四数相加 II
  • 1268. 搜索推荐系统
  • 659. 分割数组为连续子序列
  • 234. 回文链表
  • 2313. 二叉树中得到结果所需的最少翻转次数 🔒
  • 1033. Moving Stones Until Consecutive
  • 3357. Minimize the Maximum Adjacent Element Difference
  • 1587. 银行账户概要 II
  • 3186. Maximum Total Damage With Spell Casting
  • 2442. Count Number of Distinct Integers After Reverse Operations
  • 783. Minimum Distance Between BST Nodes
  • 16.17. Contiguous Sequence
  • 2920. Maximum Points After Collecting Coins From All Nodes
  • 2034. 股票价格波动
  • 面试题 05.02. 二进制数转字符串
  • 1529. 最少的后缀翻转次数
  • 2696. Minimum String Length After Removing Substrings
  • 2352. 相等行列对
  • 1004. 最大连续1的个数 III
  • 2298. 周末任务计数 🔒
  • 864. 获取所有钥匙的最短路径
  • 1133. Largest Unique Number 🔒
  • 805. Split Array With Same Average
  • 312. Burst Balloons
  • 1679. Max Number of K-Sum Pairs
  • 1825. 求出 MK 平均值
  • 681. 最近时刻 🔒
  • 759. 员工空闲时间 🔒
  • 698. 划分为k个相等的子集
  • 3314. Construct the Minimum Bitwise Array I
  • 1736. 替换隐藏数字得到的最晚时间
  • 1058. 最小化舍入误差以满足目标 🔒
  • 剑指 Offer II 063. 替换单词
  • 642. Design Search Autocomplete System 🔒
  • 373. 查找和最小的 K 对数字
  • 1330. 翻转子数组得到最大的数组值
  • 806. Number of Lines To Write String
  • 2500. Delete Greatest Value in Each Row
  • 697. 数组的度
  • 3473. Sum of K Subarrays With Length at Least M
  • 2503. Maximum Number of Points From Grid Queries
  • 3555. 排序每个滑动窗口中最小的子数组 🔒
  • 1149. Article Views II 🔒
  • 1065. Index Pairs of a String 🔒
  • 2779. 数组的最大美丽值
  • 1076. 项目员工II 🔒
  • 1302. Deepest Leaves Sum
  • 797. 所有可能的路径
  • 1330. Reverse Subarray To Maximize Array Value
  • LCP 49. 环形闯关游戏
  • 2911. Minimum Changes to Make K Semi-palindromes
  • 946. 验证栈序列
  • 3168. Minimum Number of Chairs in a Waiting Room
  • 1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance
  • 面试题 08.05. 递归乘法
  • 243. Shortest Word Distance 🔒
  • 3045. 统计前后缀下标对 II
  • 1113. 报告的记录 🔒
  • 剑指 Offer II 051. 节点之和最大的路径
  • 136. 只出现一次的数字
  • 1693. 每天的领导和合伙人
  • 2810. 故障键盘
  • 2222. 选择建筑的方案数
  • 1723. 完成所有工作的最短时间
  • 2672. Number of Adjacent Elements With the Same Color
  • 3002. Maximum Size of a Set After Removals
  • 3081. 替换字符串中的问号使分数最小
  • 568. 最大休假天数 🔒
  • 1941. 检查是否所有字符出现次数相同
  • 3475. DNA Pattern Recognition
  • 面试题 04.10. 检查子树
  • 1991. 找到数组的中间位置
  • 3125. 使得按位与结果为 0 的最大数字 🔒
  • 1057. Campus Bikes 🔒
  • 96. 不同的二叉搜索树
  • 2110. Number of Smooth Descent Periods of a Stock
  • 225. 用队列实现栈
  • 3110. Score of a String
  • 2324. 产品销售分析 IV 🔒
  • 1347. 制造字母异位词的最小步骤数
  • 1116. 打印零与奇偶数
  • 893. 特殊等价字符串组
  • 1613. Find the Missing IDs 🔒
  • 1241. Number of Comments per Post 🔒
  • 1741. Find Total Time Spent by Each Employee
  • 2471. Minimum Number of Operations to Sort a Binary Tree by Level
  • 661. 图片平滑器
  • 2514. Count Anagrams
  • 838. Push Dominoes
  • 2110. 股票平滑下跌阶段的数目
  • 2883. 删去丢失的数据
  • 2565. 最少得分子序列
  • 717. 1 比特与 2 比特字符
  • 1809. Ad-Free Sessions 🔒
  • 2190. 数组中紧跟 key 之后出现最频繁的数字
  • 3006. 找出数组中的美丽下标 I
  • 567. Permutation in String
  • 剑指 Offer II 089. 房屋偷盗
  • 717. 1-bit and 2-bit Characters
  • 1117. Building H2O
  • 1600. Throne Inheritance
  • 218. The Skyline Problem
  • 3026. 最大好子数组和
  • 2732. Find a Good Subset of the Matrix
  • 1992. 找到所有的农场组
  • 1682. Longest Palindromic Subsequence II 🔒
  • 3275. 第 K 近障碍物查询
  • 2450. 应用操作后不同二进制字符串的数量 🔒
  • 2288. Apply Discount to Prices
  • 2414. Length of the Longest Alphabetical Continuous Substring
  • 3553. Minimum Weighted Subgraph With the Required Paths II
  • 2142. 每辆车的乘客人数 I 🔒
  • 90. Subsets II
  • 3042. Count Prefix and Suffix Pairs I
  • 3172. Second Day Verification 🔒
  • 2315. 统计星号
  • 16. 3Sum Closest
  • 428. Serialize and Deserialize N-ary Tree 🔒
  • 面试题 17.18. 最短超串
  • 1273. 删除树节点 🔒
  • 1170. 比较字符串最小字母出现频次
  • 3054. 二叉树节点 🔒
  • 2468. 根据限制分割消息
  • 239. 滑动窗口最大值
  • 2644. 找出可整除性得分最大的整数
  • 2440. 创建价值相同的连通块
  • 1650. 二叉树的最近公共祖先 III 🔒
  • 1583. 统计不开心的朋友
  • 2923. Find Champion I
  • 1941. Check if All Characters Have Equal Number of Occurrences
  • 1394. Find Lucky Integer in an Array
  • 1764. Form Array by Concatenating Subarrays of Another Array
  • 2702. 使数字变为非正数的最小操作次数 🔒
  • 1207. Unique Number of Occurrences
  • 3068. Find the Maximum Sum of Node Values
  • 3128. 直角三角形
  • 968. 监控二叉树
  • 1703. Minimum Adjacent Swaps for K Consecutive Ones
  • 2397. 被列覆盖的最多行数
  • 2751. Robot Collisions
  • LCP 58. 积木拼接
  • 2673. Make Costs of Paths Equal in a Binary Tree
  • 3115. Maximum Prime Difference
  • 面试题 03.03. 堆盘子
  • 35. Search Insert Position
  • 1418. Display Table of Food Orders in a Restaurant
  • 1307. 口算难题
  • 567. 字符串的排列
  • 1364. Number of Trusted Contacts of a Customer 🔒
  • 2092. 找出知晓秘密的所有专家
  • 2376. Count Special Integers
  • 32. Longest Valid Parentheses
  • 1216. Valid Palindrome III 🔒
  • 1520. 最多的不重叠子字符串
  • 2913. Subarrays Distinct Element Sum of Squares I
  • 2967. 使数组成为等数数组的最小代价
  • 1595. 连通两组点的最小成本
  • 2810. Faulty Keyboard
  • 2234. Maximum Total Beauty of the Gardens
  • 1200. Minimum Absolute Difference
  • 57. 插入区间
  • 1219. 黄金矿工
  • 36. 有效的数独
  • 2081. Sum of k-Mirror Numbers
  • 652. Find Duplicate Subtrees
  • 395. Longest Substring with At Least K Repeating Characters
  • 2856. Minimum Array Length After Pair Removals
  • 409. 最长回文串
  • 2028. Find Missing Observations
  • 10.09. Sorted Matrix Search
  • 2764. 数组是否表示某二叉树的前序遍历 🔒
  • 1722. 执行交换操作后的最小汉明距离
  • 2909. 元素和最小的山形三元组 II
  • 386. Lexicographical Numbers
  • 1135. 最低成本连通所有城市 🔒
  • 109. Convert Sorted List to Binary Search Tree
  • 1601. 最多可达成的换楼请求数目
  • 669. 修剪二叉搜索树
  • 837. New 21 Game
  • 面试题 05.08. 绘制直线
  • 578. Get Highest Answer Rate Question 🔒
  • 2435. Paths in Matrix Whose Sum Is Divisible by K
  • 1899. 合并若干三元组以形成目标三元组
  • 2415. Reverse Odd Levels of Binary Tree
  • 3211. 生成不含相邻零的二进制字符串
  • 3164. 优质数对的总数 II
  • 180. 连续出现的数字
  • 554. Brick Wall
  • 498. Diagonal Traverse
  • 3076. 数组中的最短非公共子字符串
  • 面试题 04.03. 特定深度节点链表
  • 3055. 最高欺诈百分位数 🔒
  • LCP 20. 快速公交
  • 1755. 最接近目标值的子序列和
  • 1430. Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree 🔒
  • 1675. 数组的最小偏移量
  • 450. 删除二叉搜索树中的节点
  • 590. N-ary Tree Postorder Traversal
  • 1416. Restore The Array
  • 3341. Find Minimum Time to Reach Last Room I
  • 2313. Minimum Flips in Binary Tree to Get Result 🔒
  • 730. Count Different Palindromic Subsequences
  • 2429. 最小异或
  • 2125. Number of Laser Beams in a Bank
  • 1679. K 和数对的最大数目
  • 1486. XOR Operation in an Array
  • 2547. 拆分数组的最小代价
  • 04.10. Check SubTree
  • 2365. Task Scheduler II
  • 2210. Count Hills and Valleys in an Array
  • 2497. 图中最大星和
  • 17.19. Missing Two
  • 303. 区域和检索 - 数组不可变
  • 439. 三元表达式解析器 🔒
  • 1930. 长度为 3 的不同回文子序列
  • 1097. Game Play Analysis V 🔒
  • 3212. Count Submatrices With Equal Frequency of X and Y
  • 1804. 实现 Trie (前缀树) II 🔒
  • 698. Partition to K Equal Sum Subsets
  • 1368. 使网格图至少有一条有效路径的最小代价
  • 1575. Count All Possible Routes
  • 2537. Count the Number of Good Subarrays
  • 2407. 最长递增子序列 II
  • 2692. Make Object Immutable 🔒
  • 2693. 使用自定义上下文调用函数
  • 1077. Project Employees III 🔒
  • 2084. Drop Type 1 Orders for Customers With Type 0 Orders 🔒
  • 1879. 两个数组最小的异或值之和
  • 3086. 拾起 K 个 1 需要的最少行动次数
  • 554. 砖墙
  • 321. 拼接最大数
  • 2604. 吃掉所有谷子的最短时间 🔒
  • 面试题 16.05. 阶乘尾数
  • 730. 统计不同回文子序列
  • 1100. Find K-Length Substrings With No Repeated Characters 🔒
  • 1028. Recover a Tree From Preorder Traversal
  • 剑指 Offer II 034. 外星语言是否排序
  • 面试题 17.21. 直方图的水量
  • 1436. Destination City
  • 2994. 发生在周五的交易 II 🔒
  • 266. 回文排列 🔒
  • 1189. Maximum Number of Balloons
  • 1530. 好叶子节点对的数量
  • 2529. Maximum Count of Positive Integer and Negative Integer
  • 25. K 个一组翻转链表
  • 3549. 两个多项式相乘 🔒
  • 2875. Minimum Size Subarray in Infinite Array
  • 3445. Maximum Difference Between Even and Odd Frequency II
  • 1355. Activity Participants 🔒
  • 剑指 Offer II 107. 矩阵中的距离
  • 2075. Decode the Slanted Ciphertext
  • 1530. Number of Good Leaf Nodes Pairs
  • 556. Next Greater Element III
  • 1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree
  • 440. K-th Smallest in Lexicographical Order
  • 2370. Longest Ideal Subsequence
  • 2582. 递枕头
  • 2744. 最大字符串配对数目
  • 1955. Count Number of Special Subsequences
  • 1727. Largest Submatrix With Rearrangements
  • 1349. 参加考试的最大学生数
  • 2460. Apply Operations to an Array
  • 1560. Most Visited Sector in a Circular Track
  • 1724. Checking Existence of Edge Length Limited Paths II 🔒
  • 2628. 完全相等的 JSON 字符串 🔒
  • 2134. Minimum Swaps to Group All 1's Together II
  • 1510. 石子游戏 IV
  • 3108. Minimum Cost Walk in Weighted Graph
  • 3499. Maximize Active Section with Trade I
  • 2501. 数组中最长的方波
  • 735. 小行星碰撞
  • 3473. 长度至少为 M 的 K 个子数组之和
  • 1249. Minimum Remove to Make Valid Parentheses
  • 3306. 元音辅音字符串计数 II
  • 641. 设计循环双端队列
  • 417. 太平洋大西洋水流问题
  • 1884. 鸡蛋掉落-两枚鸡蛋
  • 1776. Car Fleet II
  • 3307. Find the K-th Character in String Game II
  • 剑指 Offer II 005. 单词长度的最大乘积
  • 1580. 把箱子放进仓库里 II 🔒
  • 194. Transpose File
  • 317. 离建筑物最近的距离 🔒
  • 1897. 重新分配字符使所有字符串都相等
  • 114. Flatten Binary Tree to Linked List
  • 875. Koko Eating Bananas
  • 3. Longest Substring Without Repeating Characters
  • 880. 索引处的解码字符串
  • 771. Jewels and Stones
  • 536. 从字符串生成二叉树 🔒
  • 1014. Best Sightseeing Pair
  • 1499. 满足不等式的最大值
  • 759. Employee Free Time 🔒
  • 1174. Immediate Food Delivery II
  • 2563. Count the Number of Fair Pairs
  • 1309. Decrypt String from Alphabet to Integer Mapping
  • 3058. 没有共同朋友的朋友 🔒
  • 3282. Reach End of Array With Max Score
  • 2974. 最小数字游戏
  • 1989. Maximum Number of People That Can Be Caught in Tag 🔒
  • 3449. 最大化游戏分数的最小值
  • 面试题 20. 表示数值的字符串
  • 2798. 满足目标工作时长的员工数目
  • 2211. Count Collisions on a Road
  • 2940. Find Building Where Alice and Bob Can Meet
  • 3219. 切蛋糕的最小总开销 II
  • 3128. Right Triangles
  • 2200. 找出数组中的所有 K 近邻下标
  • 1058. Minimize Rounding Error to Meet Target 🔒
  • 2237. Count Positions on Street With Required Brightness 🔒
  • 3191. Minimum Operations to Make Binary Array Elements Equal to One I
  • 3061. 计算滞留雨水 🔒
  • 2875. 无限数组的最短子数组
  • 1170. Compare Strings by Frequency of the Smallest Character
  • 2340. 生成有效数组的最少交换次数 🔒
  • 2717. Semi-Ordered Permutation
  • 311. Sparse Matrix Multiplication 🔒
  • 1362. Closest Divisors
  • 2486. 追加字符以获得子序列
  • LCP 57. 打地鼠
  • 839. 相似字符串组
  • LCP 10. 二叉树任务调度
  • 653. 两数之和 IV - 输入二叉搜索树
  • 843. Guess the Word
  • 2752. Customers with Maximum Number of Transactions on Consecutive Days 🔒
  • 2583. 二叉树中的第 K 大层和
  • 3136. 有效单词
  • 1329. 将矩阵按对角线排序
  • 150. Evaluate Reverse Polish Notation
  • 3162. Find the Number of Good Pairs I
  • 1260. Shift 2D Grid
  • 1581. Customer Who Visited but Did Not Make Any Transactions
  • 3369. Design an Array Statistics Tracker 🔒
  • 2976. 转换字符串的最小成本 I
  • 3258. 统计满足 K 约束的子字符串数量 I
  • 2712. Minimum Cost to Make All Characters Equal
  • 1263. Minimum Moves to Move a Box to Their Target Location
  • 3460. Longest Common Prefix After at Most One Removal 🔒
  • 3506. Find Time Required to Eliminate Bacterial Strains II 🔒
  • 3034. 匹配模式数组的子数组数目 I
  • 2570. 合并两个二维数组 - 求和法
  • 2475. Number of Unequal Triplets in Array
  • 387. 字符串中的第一个唯一字符
  • 360. 有序转化数组 🔒
  • 1006. Clumsy Factorial
  • 2702. Minimum Operations to Make Numbers Non-positive 🔒
  • LCP 50. 宝石补给
  • 2391. 收集垃圾的最少总时间
  • 2464. 有效分割中的最少子数组数目 🔒
  • 1137. 第 N 个泰波那契数
  • 1674. Minimum Moves to Make Array Complementary
  • 193. 有效电话号码
  • 448. Find All Numbers Disappeared in an Array
  • 16.22. Langtons Ant
  • 375. Guess Number Higher or Lower II
  • 3295. Report Spam Message
  • 2653. 滑动子数组的美丽值
  • 206. 反转链表
  • 502. IPO
  • 2396. 严格回文的数字
  • 1831. Maximum Transaction Each Day 🔒
  • 2825. 循环增长使字符串子序列等于另一个字符串
  • 面试题 10.02. 变位词组
  • 3277. Maximum XOR Score Subarray Queries
  • 剑指 Offer II 003. 前 n 个数字二进制中 1 的个数
  • 2244. 完成所有任务需要的最少轮数
  • 1183. Maximum Number of Ones 🔒
  • 1953. 你可以工作的最大周数
  • 1190. 反转每对括号间的子串
  • 3304. Find the K-th Character in String Game I
  • 1350. Students With Invalid Departments 🔒
  • 1053. 交换一次的先前排列
  • 145. Binary Tree Postorder Traversal
  • 2678. Number of Senior Citizens
  • 154. Find Minimum in Rotated Sorted Array II
  • 08.11. Coin
  • 434. 字符串中的单词数
  • 2069. Walking Robot Simulation II
  • 3166. 计算停车费与时长 🔒
  • 2270. Number of Ways to Split Array
  • 1906. 查询差绝对值的最小值
  • 3267. 统计近似相等数对 II
  • 344. 反转字符串
  • 477. Total Hamming Distance
  • 602. Friend Requests II Who Has the Most Friends
  • 1844. Replace All Digits with Characters
  • 478. Generate Random Point in a Circle
  • 2483. 商店的最少代价
  • 1340. 跳跃游戏 V
  • 2295. Replace Elements in an Array
  • 392. Is Subsequence
  • 22. Generate Parentheses
  • 16.04. Tic-Tac-Toe
  • 109. 有序链表转换二叉搜索树
  • 10.10. Rank from Stream
  • 面试题 25. 合并两个排序的链表
  • 2338. 统计理想数组的数目
  • 1312. 让字符串成为回文串的最少插入次数
  • 3056. Snaps Analysis 🔒
  • 1705. 吃苹果的最大数目
  • 3044. Most Frequent Prime
  • 927. Three Equal Parts
  • 3370. Smallest Number With All Set Bits
  • 2316. 统计无向图中无法互相到达点对数
  • 2126. 摧毁小行星
  • 937. Reorder Data in Log Files
  • 3032. Count Numbers With Unique Digits II 🔒
  • 1377. Frog Position After T Seconds
  • 942. 增减字符串匹配
  • 3167. Better Compression of String 🔒
  • 3077. K 个不相交子数组的最大能量值
  • 636. 函数的独占时间
  • 100. Same Tree
  • 880. Decoded String at Index
  • 3486. 最长特殊路径 II
  • 1540. K 次操作转变字符串
  • 1583. Count Unhappy Friends
  • 3121. 统计特殊字母的数量 II
  • 3432. 统计元素和差值为偶数的分区方案
  • 2366. Minimum Replacements to Sort the Array
  • 572. Subtree of Another Tree
  • 2379. 得到 K 个黑块的最少涂色次数
  • 91. Decode Ways
  • 886. 可能的二分法
  • 2322. 从树中删除边的最小分数
  • 2962. Count Subarrays Where Max Element Appears at Least K Times
  • 156. 上下翻转二叉树 🔒
  • 441. Arranging Coins
  • 1910. Remove All Occurrences of a Substring
  • LCP 系列
  • 3502. Minimum Cost to Reach Every Position
  • 1491. 去掉最低工资和最高工资后的工资平均值
  • 1807. 替换字符串中的括号内容
  • 3078. 矩阵中的字母数字模式匹配 I 🔒
  • 3067. Count Pairs of Connectable Servers in a Weighted Tree Network
  • 1993. Operations on Tree
  • 253. Meeting Rooms II 🔒
  • 1750. Minimum Length of String After Deleting Similar Ends
  • 512. Game Play Analysis II 🔒
  • 2128. Remove All Ones With Row and Column Flips 🔒
  • 19. Remove Nth Node From End of List
  • 545. 二叉树的边界 🔒
  • 892. 三维形体的表面积
  • 1804. Implement Trie II (Prefix Tree) 🔒
  • 3189. 得到一个和平棋盘的最少步骤 🔒
  • 3037. Find Pattern in Infinite Stream II 🔒
  • 01.02. Check Permutation
  • 3305. 元音辅音字符串计数 I
  • 1847. 最近的房间
  • 1591. 奇怪的打印机 II
  • 3250. 单调数组对的数目 I
  • 1783. 大满贯数量 🔒
  • 3165. 不包含相邻元素的子序列的最大和
  • 1401. 圆和矩形是否有重叠
  • 5. Longest Palindromic Substring
  • 88. 合并两个有序数组
  • 2573. 找出对应 LCP 矩阵的字符串
  • 1584. 连接所有点的最小费用
  • 2954. Count the Number of Infection Sequences
  • 1737. Change Minimum Characters to Satisfy One of Three Conditions
  • 面试题 04.06. 后继者
  • 947. 移除最多的同行或同列石头
  • 17.22. Word Transformer
  • 270. 最接近的二叉搜索树值 🔒
  • 960. Delete Columns to Make Sorted III
  • 2847. Smallest Number With Given Digit Product 🔒
  • 354. 俄罗斯套娃信封问题
  • 2125. 银行中的激光束数量
  • 725. Split Linked List in Parts
  • 487. 最大连续1的个数 II 🔒
  • 87. 扰乱字符串
  • 2183. 统计可以被 K 整除的下标对数目
  • 8. String to Integer (atoi)
  • 3407. Substring Matching Pattern
  • 2584. Split the Array to Make Coprime Products
  • 3236. CEO Subordinate Hierarchy 🔒
  • 295. 数据流的中位数
  • 768. 最多能完成排序的块 II
  • 1355. 活动参与者 🔒
  • 2861. 最大合金数
  • 2784. 检查数组是否是好的
  • 2093. 前往目标城市的最小费用 🔒
  • 3272. Find the Count of Good Integers
  • 2688. 查找活跃用户 🔒
  • 2550. Count Collisions of Monkeys on a Polygon
  • 1151. Minimum Swaps to Group All 1's Together 🔒
  • 1471. The k Strongest Values in an Array
  • 1253. Reconstruct a 2-Row Binary Matrix
  • 3320. 统计能获胜的出招序列数
  • 932. 漂亮数组
  • 423. 从英文中重建数字
  • 2684. Maximum Number of Moves in a Grid
  • 463. Island Perimeter
  • 430. Flatten a Multilevel Doubly Linked List
  • 871. Minimum Number of Refueling Stops
  • 972. 相等的有理数
  • 1690. Stone Game VII
  • 3384. 球队传球成功的优势得分 🔒
  • 1244. Design A Leaderboard 🔒
  • 2970. Count the Number of Incremovable Subarrays I
  • 2801. 统计范围内的步进数字数目
  • 3418. Maximum Amount of Money Robot Can Earn
  • 2345. 寻找可见山的数量 🔒
  • 2851. String Transformation
  • 1950. 所有子数组最小值中的最大值 🔒
  • 3513. Number of Unique XOR Triplets I
  • 3244. Shortest Distance After Road Addition Queries II
  • 1070. Product Sales Analysis III
  • 912. Sort an Array
  • 3493. 属性图
  • 1279. Traffic Light Controlled Intersection 🔒
  • 1745. Palindrome Partitioning IV
  • 面试题 12. 矩阵中的路径
  • 2500. 删除每行中的最大值
  • 1989. 捉迷藏中可捕获的最大人数 🔒
  • 1744. 你能在你最喜欢的那天吃到你最喜欢的糖果吗?
  • 491. Non-decreasing Subsequences
  • 2202. K 次操作后最大化顶端元素
  • 2754. Bind Function to Context 🔒
  • 6. Zigzag Conversion
  • 92. Reverse Linked List II
  • 2065. Maximum Path Quality of a Graph
  • 2746. Decremental String Concatenation
  • 2365. 任务调度器 II
  • 715. Range 模块
  • 面试题 09. 用两个栈实现队列
  • 面试题 16.10. 生存人数
  • 1192. 查找集群内的关键连接
  • 277. Find the Celebrity 🔒
  • 898. Bitwise ORs of Subarrays
  • 面试题 02.04. 分割链表
  • 1531. 压缩字符串 II
  • 199. Binary Tree Right Side View
  • 1296. Divide Array in Sets of K Consecutive Numbers
  • 337. 打家劫舍 III
  • 3170. 删除星号以后字典序最小的字符串
  • 2470. Number of Subarrays With LCM Equal to K
  • 3324. Find the Sequence of Strings Appeared on the Screen
  • 2863. 最长半递减子数组的长度 🔒
  • 面试题 01.08. 零矩阵
  • 3464. Maximize the Distance Between Points on a Square
  • 972. Equal Rational Numbers
  • 159. Longest Substring with At Most Two Distinct Characters 🔒
  • 260. 只出现一次的数字 III
  • 2482. 行和列中一和零的差值
  • 840. 矩阵中的幻方
  • 2294. 划分数组使最大差为 K
  • 面试题 51. 数组中的逆序对
  • 167. Two Sum II - Input Array Is Sorted
  • 2887. Fill Missing Data
  • 04.06. Successor
  • 588. Design In-Memory File System 🔒
  • 1641. Count Sorted Vowel Strings
  • 2945. Find Maximum Non-decreasing Array Length
  • 1511. Customer Order Frequency 🔒
  • 3481. 应用替换 🔒
  • 2422. 使用合并操作将数组转换为回文序列 🔒
  • 剑指 Offer II 081. 允许重复选择元素的组合
  • 2968. 执行操作使频率分数最大
  • 659. Split Array into Consecutive Subsequences
  • 707. 设计链表
  • 132. Palindrome Partitioning II
  • 3184. 构成整天的下标对数目 I
  • 3113. 边界元素是最大值的子数组数目
  • 1098. Unpopular Books 🔒
  • 1494. Parallel Courses II
  • 3365. Rearrange K Substrings to Form Target String
  • 2548. 填满背包的最大价格 🔒
  • 1687. 从仓库到码头运输箱子
  • 754. 到达终点数字
  • 142. Linked List Cycle II
  • 3327. 判断 DFS 字符串是否是回文串
  • 356. 直线镜像 🔒
  • 3191. 使二进制数组全部等于 1 的最少操作次数 I
  • 面试题 02.01. 移除重复节点
  • 3302. 字典序最小的合法序列
  • 878. 第 N 个神奇数字
  • 1075. Project Employees I
  • 103. 二叉树的锯齿形层序遍历
  • 2021. Brightest Position on Street 🔒
  • 3470. Permutations IV
  • 2582. Pass the Pillow
  • 2953. 统计完全子字符串
  • 2223. 构造字符串的总得分和
  • 1039. 多边形三角剖分的最低得分
  • 525. Contiguous Array
  • LCP 72. 补给马车
  • 1086. 前五科的均分 🔒
  • 2001. Number of Pairs of Interchangeable Rectangles
  • 2961. 双模幂运算
  • 3334. Find the Maximum Factor Score of Array
  • 2776. Convert Callback Based Function to Promise Based Function 🔒
  • 2638. 统计 K-Free 子集的总数 🔒
  • 2822. Inversion of Object 🔒
  • 2940. 找到 Alice 和 Bob 可以相遇的建筑
  • 2701. 连续递增交易 🔒
  • 1638. Count Substrings That Differ by One Character
  • 1763. Longest Nice Substring
  • 3024. Type of Triangle
  • 445. 两数相加 II
  • 1419. 数青蛙
  • 357. 统计各位数字都不同的数字个数
  • 1571. 仓库经理 🔒
  • 365. Water and Jug Problem
  • 141. Linked List Cycle
  • 1505. 最多 K 次交换相邻数位后得到的最小整数
  • 2384. 最大回文数字
  • 56. 合并区间
  • 2540. Minimum Common Value
  • 2483. Minimum Penalty for a Shop
  • 1671. Minimum Number of Removals to Make Mountain Array
  • 剑指 Offer II 024. 反转链表
  • 1566. Detect Pattern of Length M Repeated K or More Times
  • 371. Sum of Two Integers
  • 537. 复数乘法
  • 1237. Find Positive Integer Solution for a Given Equation
  • 2239. 找到最接近 0 的数字
  • 1209. 删除字符串中的所有相邻重复项 II
  • 3217. Delete Nodes From Linked List Present in Array
  • 3537. 填充特殊网格
  • 746. Min Cost Climbing Stairs
  • 1567. 乘积为正数的最长子数组长度
  • 2239. Find Closest Number to Zero
  • 3008. Find Beautiful Indices in the Given Array II
  • 2923. 找到冠军 I
  • 2364. 统计坏数对的数目
  • 01.05. One Away
  • 3121. Count the Number of Special Characters II
  • 2502. Design Memory Allocator
  • 2406. Divide Intervals Into Minimum Number of Groups
  • 2137. Pour Water Between Buckets to Make Water Levels Equal 🔒
  • 2273. Find Resultant Array After Removing Anagrams
  • 585. Investments in 2016
  • 3456. Find Special Substring of Length K
  • 1316. 不同的循环子字符串
  • 674. Longest Continuous Increasing Subsequence
  • 1285. 找到连续区间的开始和结束数字 🔒
  • 1158. 市场分析 I
  • Cracking the Coding Interview, 6th Edition
  • 2889. 数据重塑:透视
  • 39. Combination Sum
  • 2617. 网格图中最少访问的格子数
  • 263. 丑数
  • 1354. Construct Target Array With Multiple Sums
  • 3279. 活塞占据的最大总区域 🔒
  • 1356. 根据数字二进制下 1 的数目排序
  • 1728. Cat and Mouse II
  • 963. Minimum Area Rectangle II
  • 376. Wiggle Subsequence
  • 1953. Maximum Number of Weeks for Which You Can Work
  • 2171. 拿出最少数目的魔法豆
  • 1069. 产品销售分析 II 🔒
  • 1765. 地图中的最高点
  • 2877. Create a DataFrame from List
  • 2268. 最少按键次数 🔒
  • 1236. 网络爬虫 🔒
  • 2161. Partition Array According to Given Pivot
  • 2016. Maximum Difference Between Increasing Elements
  • 2618. 检查是否是类的对象实例
  • 1919. 兴趣相同的朋友 🔒
  • 2300. Successful Pairs of Spells and Potions
  • 2880. Select Data
  • 2834. Find the Minimum Possible Sum of a Beautiful Array
  • 712. 两个字符串的最小ASCII删除和
  • 1913. Maximum Product Difference Between Two Pairs
  • 2765. Longest Alternating Subarray
  • 3299. 连续子序列的和 🔒
  • 287. 寻找重复数
  • 1478. 安排邮筒
  • 2773. 特殊二叉树的高度 🔒
  • 2413. 最小偶倍数
  • 916. Word Subsets
  • LCP 48. 无限棋局
  • 949. 给定数字能组成的最大时间
  • 3093. 最长公共后缀查询
  • 1362. 最接近的因数
  • 1966. 未排序数组中的可被二分搜索的数 🔒
  • 3428. 最多 K 个元素的子序列的最值之和
  • 527. Word Abbreviation 🔒
  • 1496. Path Crossing
  • 1311. 获取你好友已观看的视频
  • 1528. Shuffle String
  • 3084. 统计以给定字符开头和结尾的子字符串总数
  • 1465. 切割后面积最大的蛋糕
  • 3260. Find the Largest Palindrome Divisible by K
  • 16.11. Diving Board
  • LCP 09. 最小跳跃次数
  • 1000. Minimum Cost to Merge Stones
  • 3317. Find the Number of Possible Ways for an Event
  • 2739. 总行驶距离
  • 755. Pour Water 🔒
  • 2562. 找出数组的串联值
  • 1116. Print Zero Even Odd
  • 2714. 找到 K 次跨越的最短路径 🔒
  • 381. O(1) 时间插入、删除和获取随机元素 - 允许重复
  • 1261. Find Elements in a Contaminated Binary Tree
  • 795. 区间子数组个数
  • 3030. Find the Grid of Region Average
  • 2520. 统计能整除数字的位数
  • 617. 合并二叉树
  • 1194. 锦标赛优胜者 🔒
  • 3246. 英超积分榜排名 🔒
  • 2078. 两栋颜色不同且距离最远的房子
  • 3072. 将元素分配到两个数组中 II
  • 3192. Minimum Operations to Make Binary Array Elements Equal to One II
  • 1353. 最多可以参加的会议数目
  • 1518. Water Bottles
  • 1439. 有序矩阵中的第 k 个最小数组和
  • 3202. Find the Maximum Length of Valid Subsequence II
  • 1917. Leetcodify 好友推荐 🔒
  • 2554. 从一个范围内选择最多整数 I
  • 2336. Smallest Number in Infinite Set
  • 1147. Longest Chunked Palindrome Decomposition
  • 《剑指 Offer(第 2 版)》系列
  • 411. Minimum Unique Word Abbreviation 🔒
  • 1248. 统计「优美子数组」
  • 1617. 统计子树中城市之间最大距离
  • 2169. 得到 0 的操作数
  • 3005. Count Elements With Maximum Frequency
  • 2729. Check if The Number is Fascinating
  • 524. 通过删除字母匹配到字典里最长单词
  • 1526. Minimum Number of Increments on Subarrays to Form a Target Array
  • 177. Nth Highest Salary
  • 3382. Maximum Area Rectangle With Point Constraints II
  • 3204. 按位用户权限分析 🔒
  • 1441. 用栈操作构建数组
  • 2410. Maximum Matching of Players With Trainers
  • 3281. Maximize Score of Numbers in Ranges
  • 240. 搜索二维矩阵 II
  • 1504. 统计全 1 子矩形
  • 2205. 有资格享受折扣的用户数量 🔒
  • 3263. Convert Doubly Linked List to Array I 🔒
  • 1761. 一个图中连通三元组的最小度数
  • 2062. Count Vowel Substrings of a String
  • 334. Increasing Triplet Subsequence
  • 197. 上升的温度
  • 1840. Maximum Building Height
  • 3324. 出现在屏幕上的字符串序列
  • 1775. 通过最少操作次数使数组的和相等
  • 2951. Find the Peaks
  • 71. 简化路径
  • 2238. 司机成为乘客的次数 🔒
  • 1851. Minimum Interval to Include Each Query
  • 2025. Maximum Number of Ways to Partition an Array
  • 2284. Sender With Largest Word Count
  • 1898. Maximum Number of Removable Characters
  • 959. Regions Cut By Slashes
  • 1763. 最长的美好子字符串
  • 2636. Promise 对象池 🔒
  • 2457. 美丽整数的最小增量
  • 2516. 每种字符至少取 K 个
  • 1870. Minimum Speed to Arrive on Time
  • 606. Construct String from Binary Tree
  • 1197. Minimum Knight Moves 🔒
  • 3321. 计算子数组的 x-sum II
  • 359. 日志速率限制器 🔒
  • 3114. 替换字符可以得到的最晚时间
  • 570. 至少有5名直接下属的经理
  • 919. 完全二叉树插入器
  • 3528. Unit Conversion I
  • 1321. Restaurant Growth
  • 378. Kth Smallest Element in a Sorted Matrix
  • 2843. 统计对称整数的数目
  • 3254. Find the Power of K-Size Subarrays I
  • 1446. 连续字符
  • 2682. Find the Losers of the Circular Game
  • 2997. Minimum Number of Operations to Make Array XOR Equal to K
  • 383. Ransom Note
  • 01.06. Compress String
  • 409. Longest Palindrome
  • 416. 分割等和子集
  • 3301. Maximize the Total Height of Unique Towers
  • 2776. 转换回调函数为 Promise 函数 🔒
  • 2826. Sorting Three Groups
  • 1454. 活跃用户 🔒
  • 2789. 合并后数组中的最大元素
  • 2589. 完成所有任务的最少时间
  • 1323. 6 和 9 组成的最大数字
  • 335. 路径交叉
  • 620. Not Boring Movies
  • 2375. Construct Smallest Number From DI String
  • 2579. 统计染色格子数
  • 3355. Zero Array Transformation I
  • 2348. Number of Zero-Filled Subarrays
  • 1044. Longest Duplicate Substring
  • 2540. 最小公共值
  • 2791. Count Paths That Can Form a Palindrome in a Tree
  • 1122. Relative Sort Array
  • 面试题 64. 求 1+2+…+n
  • 568. Maximum Vacation Days 🔒
  • 1347. Minimum Number of Steps to Make Two Strings Anagram
  • 488. Zuma Game
  • 3069. 将元素分配到两个数组中 I
  • 1427. 字符串的左右移 🔒
  • 3216. 交换后字典序最小的字符串
  • 2351. 第一个出现两次的字母
  • 301. 删除无效的括号
  • 3060. 时间范围内的用户活动 🔒
  • 3353. 最小总操作数 🔒
  • 3226. 使两个整数相等的位更改次数
  • 1115. Print FooBar Alternately
  • 2655. 寻找最大长度的未覆盖区间 🔒
  • 1868. 两个行程编码数组的积 🔒
  • 2778. Sum of Squares of Special Elements
  • 2639. Find the Width of Columns of a Grid
  • 1814. Count Nice Pairs in an Array
  • 720. Longest Word in Dictionary
  • 1414. 和为 K 的最少斐波那契数字数目
  • 2436. 使子数组最大公约数大于一的最小分割数 🔒
  • 129. 求根节点到叶节点数字之和
  • 858. Mirror Reflection
  • 面试题 05.07. 配对交换
  • 1789. 员工的直属部门
  • 3381. Maximum Subarray Sum With Length Divisible by K
  • 2427. 公因子的数目
  • 1441. Build an Array With Stack Operations
  • 381. Insert Delete GetRandom O(1) - Duplicates allowed
  • 1673. 找出最具竞争力的子序列
  • 2235. Add Two Integers
  • 2291. Maximum Profit From Trading Stocks 🔒
  • 2305. Fair Distribution of Cookies
  • 391. Perfect Rectangle
  • 430. 扁平化多级双向链表
  • 701. Insert into a Binary Search Tree
  • 2691. 不可变辅助工具 🔒
  • 2956. Find Common Elements Between Two Arrays
  • 1592. Rearrange Spaces Between Words
  • 1192. Critical Connections in a Network
  • 1755. Closest Subsequence Sum
  • 2026. 低质量的问题 🔒
  • 2722. Join Two Arrays by ID
  • 3430. 最多 K 个元素的子数组的最值之和
  • 1881. 插入后的最大值
  • 1348. 推文计数
  • 1378. 使用唯一标识码替换员工ID
  • 930. 和相同的二元子数组
  • 1817. 查找用户活跃分钟数
  • 945. Minimum Increment to Make Array Unique
  • 2434. 使用机器人打印字典序最小的字符串
  • 1297. 子串的最大出现次数
  • 441. 排列硬币
  • 2716. 最小化字符串长度
  • 2794. Create Object from Two Arrays 🔒
  • 3088. 使字符串反回文 🔒
  • 2953. Count Complete Substrings
  • 241. Different Ways to Add Parentheses
  • 2933. High-Access Employees
  • 2797. 带有占位符的部分函数 🔒
  • 1863. Sum of All Subset XOR Totals
  • 2808. Minimum Seconds to Equalize a Circular Array
  • LCP 44. 开幕式焰火
  • 1199. 建造街区的最短时间 🔒
  • 3233. Find the Count of Numbers Which Are Not Special
  • 1263. 推箱子
  • 1041. Robot Bounded In Circle
  • 810. 黑板异或游戏
  • 410. Split Array Largest Sum
  • 3360. 移除石头游戏
  • 1103. Distribute Candies to People
  • 2133. 检查是否每一行每一列都包含全部整数
  • 934. 最短的桥
  • 753. Cracking the Safe
  • 634. 寻找数组的错位排列 🔒
  • 2462. Total Cost to Hire K Workers
  • 3060. User Activities within Time Bounds 🔒
  • 2135. Count Words Obtained After Adding a Letter
  • 1817. Finding the Users Active Minutes
  • 634. Find the Derangement of An Array 🔒
  • 140. 单词拆分 II
  • 2178. Maximum Split of Positive Even Integers
  • 157. Read N Characters Given Read4 🔒
  • 3145. 大数组元素的乘积
  • 2132. 用邮票贴满网格图
  • 833. 字符串中的查找与替换
  • 3239. 最少翻转次数使二进制矩阵回文 I
  • 885. Spiral Matrix III
  • 3468. Find the Number of Copy Arrays
  • 面试题 16.18. 模式匹配
  • 1258. 近义词句子 🔒
  • 654. Maximum Binary Tree
  • 3296. Minimum Number of Seconds to Make Mountain Height Zero
  • 663. 均匀树划分 🔒
  • 面试题 08.04. 幂集
  • 736. Lisp 语法解析
  • 1412. 查找成绩处于中游的学生 🔒
  • 1281. Subtract the Product and Sum of Digits of an Integer
  • 328. 奇偶链表
  • 2256. 最小平均差
  • 2628. JSON Deep Equal 🔒
  • 81. 搜索旋转排序数组 II
  • 1906. Minimum Absolute Difference Queries
  • 2477. 到达首都的最少油耗
  • 1642. 可以到达的最远建筑
  • 2619. Array Prototype Last
  • 面试题 17.16. 按摩师
  • 1643. 第 K 条最小指令
  • 750. Number Of Corner Rectangles 🔒
  • 784. Letter Case Permutation
  • 147. 对链表进行插入排序
  • 2509. 查询树中环的长度
  • 1162. 地图分析
  • 2004. 职员招聘人数 🔒
  • 1215. 步进数 🔒
  • 613. Shortest Distance in a Line 🔒
  • 面试题 56 - II. 数组中数字出现的次数 II
  • 2522. 将字符串分割成值不超过 K 的子字符串
  • 3379. 转换数组
  • 2001. 可互换矩形的组数
  • 3270. Find the Key of the Numbers
  • 1264. Page Recommendations 🔒
  • 1051. 高度检查器
  • 1364. 顾客的可信联系人数量 🔒
  • 2309. 兼具大小写的最好英文字母
  • 264. 丑数 II
  • 826. 安排工作以达到最大收益
  • 3145. Find Products of Elements of Big Array
  • 504. Base 7
  • 2590. 设计一个待办事项清单 🔒
  • 3227. 字符串元音游戏
  • 2718. 查询后矩阵的和
  • 2492. Minimum Score of a Path Between Two Cities
  • 852. 山脉数组的峰顶索引
  • 259. 3Sum Smaller 🔒
  • 1106. 解析布尔表达式
  • 《程序员面试金典(第 6 版)》系列
  • 636. Exclusive Time of Functions
  • 2812. 找出最安全路径
  • 1422. Maximum Score After Splitting a String
  • 2228. 7 天内两次购买的用户 🔒
  • 3234. 统计 1 显著的字符串的数量
  • 3414. 不重叠区间的最大得分
  • 3011. 判断一个数组是否可以变为有序
  • 1760. Minimum Limit of Balls in a Bag
  • 2186. Minimum Number of Steps to Make Two Strings Anagram II
  • 795. Number of Subarrays with Bounded Maximum
  • 2188. 完成比赛的最少时间
  • 面试题 35. 复杂链表的复制
  • 419. Battleships in a Board
  • 1914. 循环轮转矩阵
  • 1891. 割绳子 🔒
  • 3240. 最少翻转次数使二进制矩阵回文 II
  • 632. 最小区间
  • 1264. 页面推荐 🔒
  • 1458. Max Dot Product of Two Subsequences
  • 2561. Rearranging Fruits
  • 3335. Total Characters in String After Transformations I
  • 2024. Maximize the Confusion of an Exam
  • 3127. Make a Square with the Same Color
  • 2837. 总旅行距离 🔒
  • 3450. Maximum Students on a Single Bench 🔒
  • 286. 墙与门 🔒
  • 2170. Minimum Operations to Make the Array Alternating
  • 1372. 二叉树中的最长交错路径
  • 2862. 完全子集的最大元素和
  • 1411. 给 N x 3 网格图涂色的方案数
  • 面试题 08.08. 有重复字符串的排列组合
  • 302. Smallest Rectangle Enclosing Black Pixels 🔒
  • 769. 最多能完成排序的块
  • 6. Z 字形变换
  • 2930. Number of Strings Which Can Be Rearranged to Contain Substring
  • 314. Binary Tree Vertical Order Traversal 🔒
  • 1363. 形成三的最大倍数
  • 2569. 更新数组后处理求和查询
  • 2123. Minimum Operations to Remove Adjacent Ones in Matrix 🔒
  • 3458. Select K Disjoint Special Substrings
  • 1875. 将工资相同的雇员分组 🔒
  • 1644. 二叉树的最近公共祖先 II 🔒
  • 1523. Count Odd Numbers in an Interval Range
  • 211. 添加与搜索单词 - 数据结构设计
  • 1328. Break a Palindrome
  • 2848. 与车相交的点
  • 1749. Maximum Absolute Sum of Any Subarray
  • 431. 将 N 叉树编码为二叉树 🔒
  • 剑指 Offer II 062. 实现前缀树
  • 1079. Letter Tile Possibilities
  • 611. Valid Triangle Number
  • 3208. Alternating Groups II
  • 2023. 连接后等于目标字符串的字符串对
  • 1404. 将二进制表示减到 1 的步骤数
  • 2799. Count Complete Subarrays in an Array
  • 3487. 删除后的最大子数组元素和
  • 353. Design Snake Game 🔒
  • 3035. 回文字符串的最大数量
  • 3393. 统计异或值为给定值的路径数目
  • 1387. 将整数按权重排序
  • 1420. 生成数组
  • 3196. Maximize Total Cost of Alternating Subarrays
  • 1887. Reduction Operations to Make the Array Elements Equal
  • 2721. 并行执行异步函数
  • 1823. 找出游戏的获胜者
  • 2122. Recover the Original Array
  • 3468. 可行数组的数目
  • 3535. 单位转换 II 🔒
  • 1532. The Most Recent Three Orders 🔒
  • 951. Flip Equivalent Binary Trees
  • 3385. Minimum Time to Break Locks II 🔒
  • 118. 杨辉三角
  • 1001. 网格照明
  • 1770. Maximum Score from Performing Multiplication Operations
  • 2742. Painting the Walls
  • 134. Gas Station
  • 1936. Add Minimum Number of Rungs
  • 988. Smallest String Starting From Leaf
  • 1160. Find Words That Can Be Formed by Characters
  • 392. 判断子序列
  • 2343. Query Kth Smallest Trimmed Number
  • 1001. Grid Illumination
  • 1952. 三除数
  • 2445. 值为 1 的节点数 🔒
  • 2748. Number of Beautiful Pairs
  • 2234. 花园的最大总美丽值
  • 3396. Minimum Number of Operations to Make Elements in Array Distinct
  • 211. Design Add and Search Words Data Structure
  • 378. 有序矩阵中第 K 小的元素
  • 1084. Sales Analysis III
  • 1040. 移动石子直到连续 II
  • 741. 摘樱桃
  • 1824. 最少侧跳次数
  • 1556. 千位分隔数
  • 3427. 变长子数组求和
  • 2405. Optimal Partition of String
  • 1445. Apples & Oranges 🔒
  • 1343. Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold
  • 2828. Check if a String Is an Acronym of Words
  • 2640. 一个数组所有前缀的分数
  • 2616. Minimize the Maximum Difference of Pairs
  • 212. 单词搜索 II
  • 16.21. Sum Swap
  • 面试题 44. 数字序列中某一位的数字
  • 412. Fizz Buzz
  • 370. 区间加法 🔒
  • 2233. Maximum Product After K Increments
  • 3291. Minimum Number of Valid Strings to Form Target I
  • 1187. Make Array Strictly Increasing
  • 2181. Merge Nodes in Between Zeros
  • 3384. Team Dominance by Pass Success 🔒
  • 245. Shortest Word Distance III 🔒
  • 827. Making A Large Island
  • 1819. Number of Different Subsequences GCDs
  • 794. 有效的井字游戏
  • 1663. Smallest String With A Given Numeric Value
  • 2466. 统计构造好字符串的方案数
  • 3412. 计算字符串的镜像分数
  • 2367. 等差三元组的数目
  • 2201. 统计可以提取的工件
  • 2463. Minimum Total Distance Traveled
  • 16.08. English Int
  • 206. Reverse Linked List
  • 2191. Sort the Jumbled Numbers
  • 2028. 找出缺失的观测数据
  • 133. 克隆图
  • 1688. Count of Matches in Tournament
  • 2621. Sleep
  • 1596. The Most Frequently Ordered Products for Each Customer 🔒
  • 3144. Minimum Substring Partition of Equal Character Frequency
  • 2074. Reverse Nodes in Even Length Groups
  • 3236. 首席执行官下属层级 🔒
  • 2235. 两整数相加
  • 648. 单词替换
  • 2351. First Letter to Appear Twice
  • 2174. Remove All Ones With Row and Column Flips II 🔒
  • 2083. Substrings That Begin and End With the Same Letter 🔒
  • 928. 尽量减少恶意软件的传播 II
  • 238. 除自身以外数组的乘积
  • 剑指 Offer II 039. 直方图最大矩形面积
  • 1272. 删除区间 🔒
  • 63. 不同路径 II
  • 867. Transpose Matrix
  • 810. Chalkboard XOR Game
  • 243. 最短单词距离 🔒
  • 3134. 找出唯一性数组的中位数
  • 2597. 美丽子集的数目
  • 68. 文本左右对齐
  • 3460. 最多删除一次后的最长公共前缀 🔒
  • 1. Two Sum
  • 1409. Queries on a Permutation With Key
  • 1226. The Dining Philosophers
  • 3318. Find X-Sum of All K-Long Subarrays I
  • 601. 体育馆的人流量
  • 1686. Stone Game VI
  • 3434. Maximum Frequency After Subarray Operation
  • 2088. 统计农场中肥沃金字塔的数目
  • 3283. Maximum Number of Moves to Kill All Pawns
  • 2232. 向表达式添加括号后的最小结果
  • 2801. Count Stepping Numbers in Range
  • 2163. Minimum Difference in Sums After Removal of Elements
  • 844. 比较含退格的字符串
  • 3490. Count Beautiful Numbers
  • 2357. 使数组中所有元素都等于零
  • 1533. 找到最大整数的索引 🔒
  • 177. 第N高的薪水
  • 51. N-Queens
  • 750. 角矩形的数量 🔒
  • 3249. Count the Number of Good Nodes
  • 958. 二叉树的完全性检验
  • 1937. 扣分后的最大得分
  • 649. Dota2 Senate
  • 3181. Maximum Total Reward Using Operations II
  • 面试题 27. 二叉树的镜像
  • 3500. Minimum Cost to Divide Array Into Subarrays
  • 615. Average Salary Departments VS Company 🔒
  • 剑指 Offer II 008. 和大于等于 target 的最短子数组
  • 1525. 字符串的好分割数目
  • 2834. 找出美丽数组的最小和
  • 920. 播放列表的数量
  • 2014. Longest Subsequence Repeated k Times
  • 1730. 获取食物的最短路径 🔒
  • 844. Backspace String Compare
  • 2315. Count Asterisks
  • 1457. 二叉树中的伪回文路径
  • 01.09. String Rotation
  • 1424. 对角线遍历 II
  • 818. 赛车
  • 271. 字符串的编码与解码 🔒
  • 3059. Find All Unique Email Domains 🔒
  • 2471. 逐层排序二叉树所需的最少操作数目
  • 3506. 查找消除细菌菌株所需时间 🔒
  • 168. Excel 表列名称
  • 876. Middle of the Linked List
  • 3322. Premier League Table Ranking III 🔒
  • 2476. 二叉搜索树最近节点查询
  • 3152. Special Array II
  • 993. 二叉树的堂兄弟节点
  • 1448. 统计二叉树中好节点的数目
  • 850. 矩形面积 II
  • 2785. Sort Vowels in a String
  • 3544. 子树反转和
  • 1885. 统计数对 🔒
  • 3551. Minimum Swaps to Sort by Digit Sum
  • 3331. Find Subtree Sizes After Changes
  • 03.05. Sort of Stacks
  • 3346. 执行操作后元素的最高频率 I
  • 2661. 找出叠涂元素
  • 剑指 Offer II 044. 二叉树每层的最大值
  • 2706. 购买两块巧克力
  • 2608. Shortest Cycle in a Graph
  • 976. 三角形的最大周长
  • 1104. 二叉树寻路
  • 2764. Is Array a Preorder of Some ‌Binary Tree 🔒
  • 1234. 替换子串得到平衡字符串
  • 43. Multiply Strings
  • 面试题 17.11. 单词距离
  • 面试题 16.02. 单词频率
  • 77. Combinations
  • 1935. Maximum Number of Words You Can Type
  • 2221. 数组的三角和
  • 341. 扁平化嵌套列表迭代器
  • 835. Image Overlap
  • 438. Find All Anagrams in a String
  • 1029. Two City Scheduling
  • 2249. 统计圆内格点数目
  • 354. Russian Doll Envelopes
  • 2632. 柯里化 🔒
  • 2568. 最小无法得到的或值
  • 849. Maximize Distance to Closest Person
  • 1140. 石子游戏 II
  • 2480. Form a Chemical Bond 🔒
  • 2464. Minimum Subarrays in a Valid Split 🔒
  • 1774. Closest Dessert Cost
  • 1083. Sales Analysis II 🔒
  • 2042. 检查句子中的数字是否递增
  • 611. 有效三角形的个数
  • 3519. 统计逐位非递减的整数
  • 652. 寻找重复的子树
  • 1257. 最小公共区域 🔒
  • 面试题 05.06. 整数转换
  • 1479. Sales by Day of the Week 🔒
  • 3066. Minimum Operations to Exceed Threshold Value II
  • 3382. 用点构造面积最大的矩形 II
  • 2829. Determine the Minimum Sum of a k-avoiding Array
  • 1354. 多次求和构造目标数组
  • 2735. Collecting Chocolates
  • 309. 买卖股票的最佳时机含冷冻期
  • 2461. 长度为 K 子数组中的最大和
  • 1538. 找出隐藏数组中出现次数最多的元素 🔒
  • 1028. 从先序遍历还原二叉树
  • 1274. Number of Ships in a Rectangle 🔒
  • 734. Sentence Similarity 🔒
  • 3205. Maximum Array Hopping Score I 🔒
  • 980. 不同路径 III
  • 1125. Smallest Sufficient Team
  • 97. Interleaving String
  • 1651. Hopper 公司查询 III 🔒
  • 204. Count Primes
  • 1423. 可获得的最大点数
  • 剑指 Offer II 009. 乘积小于 K 的子数组
  • 1304. Find N Unique Integers Sum up to Zero
  • 158. 用 Read4 读取 N 个字符 II - 多次调用 🔒
  • 3092. 最高频率的 ID
  • 2559. 统计范围内的元音字符串数
  • 131. 分割回文串
  • 76. 最小覆盖子串
  • 1464. 数组中两元素的最大乘积
  • 1025. 除数博弈
  • 1020. 飞地的数量
  • 面试题 56 - I. 数组中数字出现的次数
  • 2066. Account Balance 🔒
  • 1316. Distinct Echo Substrings
  • 1203. 项目管理
  • 2738. Count Occurrences in Text 🔒
  • 3009. Maximum Number of Intersections on the Chart 🔒
  • 3171. 找到按位或最接近 K 的子数组
  • 473. Matchsticks to Square
  • 2803. 阶乘生成器 🔒
  • 2677. 分块数组
  • 2822. 对象反转 🔒
  • 104. 二叉树的最大深度
  • 1344. Angle Between Hands of a Clock
  • 1553. 吃掉 N 个橘子的最少天数
  • 2574. Left and Right Sum Differences
  • 面试题 16.19. 水域大小
  • 剑指 Offer II 077. 链表排序
  • 1868. Product of Two Run-Length Encoded Arrays 🔒
  • 1432. 改变一个整数能得到的最大差值
  • 647. 回文子串
  • 2259. Remove Digit From Number to Maximize Result
  • 223. Rectangle Area
  • 2950. 可整除子串的数量 🔒
  • 2513. Minimize the Maximum of Two Arrays
  • LCP 68. 美观的花束
  • 2289. Steps to Make Array Non-decreasing
  • 2734. 执行子串操作后的字典序最小字符串
  • 1255. 得分最高的单词集合
  • 1314. 矩阵区域和
  • 2254. 设计视频共享平台 🔒
  • 1734. Decode XORed Permutation
  • 1721. Swapping Nodes in a Linked List
  • 2919. 使数组变美的最小增量运算数
  • 46. Permutations
  • 1153. String Transforms Into Another String 🔒
  • 535. Encode and Decode TinyURL
  • 1397. 找到所有好字符串
  • 734. 句子相似性 🔒
  • 175. 组合两个表
  • 571. 给定数字的频率查询中位数 🔒
  • 2637. 有时间限制的 Promise 对象
  • 1891. Cutting Ribbons 🔒
  • 3156. 员工任务持续时间和并发任务 🔒
  • 786. 第 K 个最小的质数分数
  • 3138. 同位字符串连接的最小长度
  • 625. 最小因式分解 🔒
  • 1668. Maximum Repeating Substring
  • 1095. Find in Mountain Array
  • 2124. Check if All A's Appears Before All B's
  • 1325. Delete Leaves With a Given Value
  • 3135. Equalize Strings by Adding or Removing Characters at Ends 🔒
  • 2506. 统计相似字符串对的数目
  • 284. Peeking Iterator
  • 3358. Books with NULL Ratings 🔒
  • 1565. 按月统计订单数与顾客数 🔒
  • 1167. Minimum Cost to Connect Sticks 🔒
  • 566. Reshape the Matrix
  • 2519. Count the Number of K-Big Indices 🔒
  • 1673. Find the Most Competitive Subsequence
  • 269. Alien Dictionary 🔒
  • 1533. Find the Index of the Large Integer 🔒
  • 3514. 不同 XOR 三元组的数目 II
  • 2677. Chunk Array
  • 1056. Confusing Number 🔒
  • 1808. Maximize Number of Nice Divisors
  • 2961. Double Modular Exponentiation
  • 110. Balanced Binary Tree
  • 1206. Design Skiplist
  • 1397. Find All Good Strings
  • 3143. Maximum Points Inside the Square
  • 2652. Sum Multiples
  • 1604. 警告一小时内使用相同员工卡大于等于三次的人
  • 1750. 删除字符串两端相同字符后的最短长度
  • 2544. Alternating Digit Sum
  • 184. Department Highest Salary
  • 17.23. Max Black Square
  • 1623. All Valid Triplets That Can Represent a Country 🔒
  • 1931. 用三种不同颜色为网格涂色
  • 564. Find the Closest Palindrome
  • 943. Find the Shortest Superstring
  • 2436. Minimum Split Into Subarrays With GCD Greater Than One 🔒
  • 2793. 航班机票状态 🔒
  • 1502. 判断能否形成等差数列
  • 1211. 查询结果的质量和占比
  • 292. Nim 游戏
  • 1070. 产品销售分析 III
  • 2528. 最大化城市的最小电量
  • 1289. Minimum Falling Path Sum II
  • 2302. 统计得分小于 K 的子数组数目
  • 2029. 石子游戏 IX
  • 2161. 根据给定数字划分数组
  • 2918. Minimum Equal Sum of Two Arrays After Replacing Zeros
  • 429. N-ary Tree Level Order Traversal
  • 2149. Rearrange Array Elements by Sign
  • 2906. 构造乘积矩阵
  • 2791. 树中可以形成回文的路径数
  • LCP 16. 游乐园的游览计划
  • LCP 15. 游乐园的迷宫
  • 2666. Allow One Function Call
  • 3277. 查询子数组最大异或值
  • 3421. 查找进步的学生
  • 2141. 同时运行 N 台电脑的最长时间
  • 657. 机器人能否返回原点
  • 341. Flatten Nested List Iterator
  • 2642. 设计可以求最短路径的图类
  • 2931. 购买物品的最大开销
  • 692. Top K Frequent Words
  • 1987. 不同的好子序列数目
  • 1389. Create Target Array in the Given Order
  • 675. Cut Off Trees for Golf Event
  • 3038. 相同分数的最大操作数目 I
  • 3496. 最大化配对删除后的得分 🔒
  • 632. Smallest Range Covering Elements from K Lists
  • 2374. Node With Highest Edge Score
  • 2549. 统计桌面上的不同数字
  • 3443. K 次修改后的最大曼哈顿距离
  • 3017. Count the Number of Houses at a Certain Distance II
  • 945. 使数组唯一的最小增量
  • 257. 二叉树的所有路径
  • 220. 存在重复元素 III
  • 3080. 执行操作标记数组中的元素
  • 382. Linked List Random Node
  • 2567. 修改两个元素的最小分数
  • 317. Shortest Distance from All Buildings 🔒
  • 60. Permutation Sequence
  • 1400. Construct K Palindrome Strings
  • 12. 整数转罗马数字
  • 1801. 积压订单中的订单总数
  • 305. 岛屿数量 II 🔒
  • 2261. 含最多 K 个可整除元素的子数组
  • 1786. Number of Restricted Paths From First to Last Node
  • 1580. Put Boxes Into the Warehouse II 🔒
  • 41. 缺失的第一个正数
  • 272. Closest Binary Search Tree Value II 🔒
  • 面试题 08.10. 颜色填充
  • 16.03. Intersection
  • 1024. Video Stitching
  • 1624. Largest Substring Between Two Equal Characters
  • 203. Remove Linked List Elements
  • 2672. 有相同颜色的相邻元素数目
  • 1109. Corporate Flight Bookings
  • 3022. 给定操作次数内使剩余元素的或值最小
  • 1733. Minimum Number of People to Teach
  • 2094. 找出 3 位偶数
  • 3214. Year on Year Growth Rate 🔒
  • 2156. 查找给定哈希值的子串
  • 1328. 破坏回文串
  • 3240. Minimum Number of Flips to Make Binary Grid Palindromic II
  • 2426. Number of Pairs Satisfying Inequality
  • 1151. 最少交换次数来组合所有的 1 🔒
  • 1664. 生成平衡数组的方案数
  • 402. Remove K Digits
  • 936. 戳印序列
  • 1219. Path with Maximum Gold
  • 1181. 前后拼接 🔒
  • 2991. Top Three Wineries 🔒
  • 484. Find Permutation 🔒
  • 2070. 每一个查询的最大美丽值
  • 367. Valid Perfect Square
  • 811. 子域名访问计数
  • 2703. 返回传递的参数的长度
  • 1517. 查找拥有有效邮箱的用户
  • 1621. 大小为 K 的不重叠线段的数目
  • 1301. Number of Paths with Max Score
  • 726. 原子的数量
  • 1516. Move Sub-Tree of N-Ary Tree 🔒
  • 1363. Largest Multiple of Three
  • 2186. 制造字母异位词的最小步骤数 II
  • 面试题 58 - I. 翻转单词顺序
  • 1877. 数组中最大数对和的最小值
  • 1435. 制作会话柱状图 🔒
  • 1145. Binary Tree Coloring Game
  • 2456. 最流行的视频创作者
  • 2906. Construct Product Matrix
  • 1635. Hopper 公司查询 I 🔒
  • 2057. Smallest Index With Equal Value
  • 190. 颠倒二进制位
  • 17.20. Continuous Median
  • 3264. K 次乘运算后的最终数组 I
  • 517. Super Washing Machines
  • 2998. Minimum Number of Operations to Make X and Y Equal
  • 2513. 最小化两个数组中的最大值
  • 163. Missing Ranges 🔒
  • 2368. Reachable Nodes With Restrictions
  • 1159. 市场分析 II 🔒
  • 397. Integer Replacement
  • 641. Design Circular Deque
  • 1759. Count Number of Homogenous Substrings
  • 面试题 59 - II. 队列的最大值
  • 3331. 修改后子树的大小
  • 504. 七进制数
  • 540. Single Element in a Sorted Array
  • 08.09. Bracket
  • 443. 压缩字符串
  • 1741. 查找每个员工花费的总时间
  • 639. 解码方法 II
  • 3340. Check Balanced String
  • 2616. 最小化数对的最大差值
  • 870. Advantage Shuffle
  • 465. Optimal Account Balancing 🔒
  • 708. Insert into a Sorted Circular Linked List 🔒
  • 361. 轰炸敌人 🔒
  • 714. Best Time to Buy and Sell Stock with Transaction Fee
  • 59. Spiral Matrix II
  • 303. Range Sum Query - Immutable
  • 2846. Minimum Edge Weight Equilibrium Queries in a Tree
  • 1190. Reverse Substrings Between Each Pair of Parentheses
  • 2479. Maximum XOR of Two Non-Overlapping Subtrees 🔒
  • 3351. Sum of Good Subsequences
  • 1636. Sort Array by Increasing Frequency
  • 1449. 数位成本和为目标值的最大数字
  • 977. 有序数组的平方
  • 剑指 Offer II 116. 朋友圈
  • 96. Unique Binary Search Trees
  • 3358. 评分为 NULL 的图书 🔒
  • 3529. Count Cells in Overlapping Horizontal and Vertical Substrings
  • 3496. Maximize Score After Pair Deletions 🔒
  • 2907. Maximum Profitable Triplets With Increasing Prices I 🔒
  • 1956. 感染 K 种病毒所需的最短时间 🔒
  • 面试题 28. 对称的二叉树
  • 427. 建立四叉树
  • 1825. Finding MK Average
  • 2337. Move Pieces to Obtain a String
  • 2075. 解码斜向换位密码
  • 690. 员工的重要性
  • 2314. The First Day of the Maximum Recorded Degree in Each City 🔒
  • 3418. 机器人可以获得的最大金币数
  • 3229. Minimum Operations to Make Array Equal to Target
  • 1808. 好因子的最大数目
  • 2710. 移除字符串中的尾随零
  • 3448. 统计可以被最后一个数位整除的子字符串数目
  • 3389. 使字符频率相等的最少操作次数
  • 1365. 有多少小于当前数字的数字
  • 1704. Determine if String Halves Are Alike
  • 2017. 网格游戏
  • 136. Single Number
  • 1920. Build Array from Permutation
  • 876. 链表的中间结点
  • 2353. Design a Food Rating System
  • 3043. Find the Length of the Longest Common Prefix
  • 2201. Count Artifacts That Can Be Extracted
  • 面试题 03.01. 三合一
  • 2491. 划分技能点相等的团队
  • 126. 单词接龙 II
  • 3175. 找到连续赢 K 场比赛的第一位玩家
  • 2455. Average Value of Even Numbers That Are Divisible by Three
  • 1951. 查询具有最多共同关注者的所有两两结对组 🔒
  • 54. Spiral Matrix
  • 111. 二叉树的最小深度
  • 3443. Maximum Manhattan Distance After K Changes
  • 1854. Maximum Population Year
  • 165. Compare Version Numbers
  • 94. Binary Tree Inorder Traversal
  • 2356. 每位教师所教授的科目种类的数量
  • 1358. Number of Substrings Containing All Three Characters
  • 2785. 将字符串中的元音字母排序
  • 2349. Design a Number Container System
  • 2936. Number of Equal Numbers Blocks 🔒
  • 2236. 判断根结点是否等于子结点之和
  • 3528. 单位转换 I
  • 155. Min Stack
  • 08.12. Eight Queens
  • 313. 超级丑数
  • 1911. 最大交替子序列和
  • 3207. 与敌人战斗后的最大分数
  • 05.07. Exchange
  • 1193. 每月交易 I
  • 770. Basic Calculator IV
  • 面试题 37. 序列化二叉树
  • 2705. Compact Object
  • 2809. 使数组和小于等于 x 的最少时间
  • 1122. 数组的相对排序
  • 275. H-Index II
  • 3090. Maximum Length Substring With Two Occurrences
  • 790. 多米诺和托米诺平铺
  • 531. Lonely Pixel I 🔒
  • 1389. 按既定顺序创建目标数组
  • 2390. 从字符串中移除星号
  • 287. Find the Duplicate Number
  • 1590. Make Sum Divisible by P
  • 3075. 幸福值最大化的选择方案
  • 3280. Convert Date to Binary
  • 3465. Find Products with Valid Serial Numbers
  • 2304. Minimum Path Cost in a Grid
  • 1869. 哪种连续子字符串更长
  • 2294. Partition Array Such That Maximum Difference Is K
  • 3275. K-th Nearest Obstacle Queries
  • 1464. Maximum Product of Two Elements in an Array
  • 928. Minimize Malware Spread II
  • 474. Ones and Zeroes
  • 2019. The Score of Students Solving Math Expression
  • 2320. Count Number of Ways to Place Houses
  • 05.02. Binary Number to String
  • 236. Lowest Common Ancestor of a Binary Tree
  • 2658. 网格图中鱼的最大数目
  • 1781. 所有子字符串美丽值之和
  • 865. 具有所有最深节点的最小子树
  • 2237. 计算街道上满足所需亮度的位置数量 🔒
  • 1695. 删除子数组的最大得分
  • 2043. Simple Bank System
  • 2820. Election Results 🔒
  • 2612. Minimum Reverse Operations
  • LCP 13. 寻宝
  • 58. 最后一个单词的长度
  • 603. Consecutive Available Seats 🔒
  • 1652. Defuse the Bomb
  • 剑指 Offer II 046. 二叉树的右侧视图
  • 2948. 交换得到字典序最小的数组
  • 2762. Continuous Subarrays
  • 1146. 快照数组
  • 725. 分隔链表
  • 3538. 合并得到最小旅行时间
  • 2792. 计算足够大的节点数 🔒
  • 2459. Sort Array by Moving Items to Empty Space 🔒
  • 903. Valid Permutations for DI Sequence
  • 555. Split Concatenated Strings 🔒
  • 1762. Buildings With an Ocean View 🔒
  • 496. 下一个更大元素 I
  • 2638. Count the Number of K-Free Subsets 🔒
  • 962. Maximum Width Ramp
  • 2592. Maximize Greatness of an Array
  • 917. Reverse Only Letters
  • 881. 救生艇
  • 217. 存在重复元素
  • LCP 22. 黑白方格画
  • 2182. 构造限制重复的字符串
  • 2489. 固定比率的子字符串数 🔒
  • 1382. Balance a Binary Search Tree
  • 1221. 分割平衡字符串
  • 面试题 04.02. 最小高度树
  • 2157. 字符串分组
  • 面试题 02.07. 链表相交
  • 680. Valid Palindrome II
  • 3193. 统计逆序对的数目
  • 1578. Minimum Time to Make Rope Colorful
  • 673. 最长递增子序列的个数
  • 3364. Minimum Positive Sum Subarray
  • 2338. Count the Number of Ideal Arrays
  • 2570. Merge Two 2D Arrays by Summing Values
  • 2805. Custom Interval 🔒
  • 2609. Find the Longest Balanced Substring of a Binary String
  • 265. Paint House II 🔒
  • 2765. 最长交替子数组
  • 277. 搜寻名人 🔒
  • 774. Minimize Max Distance to Gas Station 🔒
  • 2928. 给小朋友们分糖果 I
  • 900. RLE 迭代器
  • 84. 柱状图中最大的矩形
  • 03.03. Stack of Plates
  • 1620. Coordinate With Maximum Network Quality
  • 1979. 找出数组的最大公约数
  • 370. Range Addition 🔒
  • 1792. 最大平均通过率
  • 2199. Finding the Topic of Each Post 🔒
  • 139. Word Break
  • 2018. 判断单词是否能放入填字游戏内
  • 643. Maximum Average Subarray I
  • 544. Output Contest Matches 🔒
  • 1876. Substrings of Size Three with Distinct Characters
  • 剑指 Offer II 070. 排序数组中只出现一次的数字
  • 702. Search in a Sorted Array of Unknown Size 🔒
  • 2591. Distribute Money to Maximum Children
  • 剑指 Offer II 060. 出现频率最高的 k 个数字
  • 剑指 Offer II 080. 含有 k 个元素的组合
  • 2447. 最大公因数等于 K 的子数组数目
  • 2943. 最大化网格图中正方形空洞的面积
  • 2283. Check if Number Has Equal Digit Count and Digit Value
  • 1470. 重新排列数组
  • 1696. Jump Game VI
  • 591. 标签验证器
  • 1381. Design a Stack With Increment Operation
  • 2658. Maximum Number of Fish in a Grid
  • 723. 粉碎糖果 🔒
  • 2972. 统计移除递增子数组的数目 II
  • 2987. 寻找房价最贵的城市 🔒
  • 1290. 二进制链表转整数
  • 1756. 设计最近使用(MRU)队列 🔒
  • 3051. 寻找数据科学家职位的候选人 🔒
  • 2477. Minimum Fuel Cost to Report to the Capital
  • 2947. Count Beautiful Substrings I
  • 1655. Distribute Repeating Integers
  • 1351. Count Negative Numbers in a Sorted Matrix
  • 1732. 找到最高海拔
  • 1934. Confirmation Rate
  • 2909. Minimum Sum of Mountain Triplets II
  • 914. X of a Kind in a Deck of Cards
  • 942. DI String Match
  • 1821. 寻找今年具有正收入的客户 🔒
  • 2032. Two Out of Three
  • 817. 链表组件
  • 2384. Largest Palindromic Number
  • 687. Longest Univalue Path
  • 144. Binary Tree Preorder Traversal
  • 3552. Grid Teleportation Traversal
  • 3230. Customer Purchasing Behavior Analysis 🔒
  • 2788. Split Strings by Separator
  • 691. 贴纸拼词
  • 128. 最长连续序列
  • 3297. Count Substrings That Can Be Rearranged to Contain a String I
  • 2017. Grid Game
  • 1257. Smallest Common Region 🔒
  • 2318. 不同骰子序列的数目
  • 2797. Partial Function with Placeholders 🔒
  • 03.02. Min Stack
  • 2007. 从双倍数组中还原原数组
  • 2650. Design Cancellable Function
  • 740. 删除并获得点数
  • 1768. 交替合并字符串
  • 3046. 分割数组
  • 2091. 从数组中移除最大值和最小值
  • 面试题 01.06. 字符串压缩
  • 721. 账户合并
  • 16.16. Sub Sort
  • 685. 冗余连接 II
  • 2108. Find First Palindromic String in the Array
  • 1742. Maximum Number of Balls in a Box
  • 1864. 构成交替字符串需要的最小交换次数
  • 857. 雇佣 K 名工人的最低成本
  • 874. Walking Robot Simulation
  • 569. 员工薪水中位数 🔒
  • 781. 森林中的兔子
  • 2856. 删除数对后的最小数组长度
  • 3213. 最小代价构造字符串
  • LCP 18. 早餐组合
  • 1677. Product's Worth Over Invoices 🔒
  • 剑指 Offer II 095. 最长公共子序列
  • 1675. Minimize Deviation in Array
  • 2135. 统计追加字母可以获得的单词数
  • 1786. 从第一个节点出发到最后一个节点的受限路径数
  • 226. 翻转二叉树
  • 面试题 08.07. 无重复字符串的排列组合
  • 1050. Actors and Directors Who Cooperated At Least Three Times
  • 1645. Hopper Company Queries II 🔒
  • 437. Path Sum III
  • 614. 二级关注者 🔒
  • 262. Trips and Users
  • 2646. Minimize the Total Price of the Trips
  • 766. 托普利茨矩阵
  • 1412. Find the Quiet Students in All Exams 🔒
  • 886. Possible Bipartition
  • 238. Product of Array Except Self
  • 1043. Partition Array for Maximum Sum
  • 1659. Maximize Grid Happiness
  • 135. 分发糖果
  • 2478. 完美分割的方案数
  • 816. Ambiguous Coordinates
  • 1963. Minimum Number of Swaps to Make the String Balanced
  • 2836. 在传球游戏中最大化函数值
  • 3306. Count of Substrings Containing Every Vowel and K Consonants II
  • 1865. 找出和为指定值的下标对
  • 2666. 只允许一次函数调用
  • 1254. Number of Closed Islands
  • 318. 最大单词长度乘积
  • 1541. Minimum Insertions to Balance a Parentheses String
  • 1232. Check If It Is a Straight Line
  • 234. Palindrome Linked List
  • 2198. 单因数三元组 🔒
  • 1234. Replace the Substring for Balanced String
  • 17.08. Circus Tower
  • 2208. 将数组和减半的最少操作次数
  • 1205. Monthly Transactions II 🔒
  • 798. 得分最高的最小轮调
  • 908. Smallest Range I
  • 3075. Maximize Happiness of Selected Children
  • 660. Remove 9 🔒
  • 1198. 找出所有行中最小公共元素 🔒
  • 1556. Thousand Separator
  • 696. Count Binary Substrings
  • 2011. Final Value of Variable After Performing Operations
  • 1052. 爱生气的书店老板
  • 2635. Apply Transform Over Each Element in Array
  • 2693. Call Function with Custom Context
  • 1522. N 叉树的直径 🔒
  • 1143. Longest Common Subsequence
  • 1487. 保证文件名唯一
  • 2916. Subarrays Distinct Element Sum of Squares II
  • 1497. Check If Array Pairs Are Divisible by k
  • 422. 有效的单词方块 🔒
  • 651. 四个键的键盘 🔒
  • 241. 为运算表达式设计优先级
  • 1279. 红绿灯路口 🔒
  • 1081. Smallest Subsequence of Distinct Characters
  • 面试题 11. 旋转数组的最小数字
  • 3283. 吃掉所有兵需要的最多移动次数
  • 1539. Kth Missing Positive Number
  • 面试题 17.08. 马戏团人塔
  • 3098. 求出所有子序列的能量和
  • 506. Relative Ranks
  • 1878. Get Biggest Three Rhombus Sums in a Grid
  • 3538. Merge Operations for Minimum Travel Time
  • 1915. 最美子字符串的数目
  • 2482. Difference Between Ones and Zeros in Row and Column
  • 1475. Final Prices With a Special Discount in a Shop
  • 2780. 合法分割的最小下标
  • 1822. 数组元素积的符号
  • 824. Goat Latin
  • 994. Rotting Oranges
  • 04.02. Minimum Height Tree
  • 850. Rectangle Area II
  • 3055. Top Percentile Fraud 🔒
  • 2078. Two Furthest Houses With Different Colors
  • 610. Triangle Judgement
  • 446. Arithmetic Slices II - Subsequence
  • 1068. 产品销售分析 I
  • 2818. Apply Operations to Maximize Score
  • LCP 62. 交通枢纽
  • 248. 中心对称数 III 🔒
  • 面试题 22. 链表中倒数第 k 个节点
  • 1042. Flower Planting With No Adjacent
  • 1920. 基于排列构建数组
  • 3279. Maximum Total Area Occupied by Pistons 🔒
  • 3469. Find Minimum Cost to Remove Array Elements
  • 518. Coin Change II
  • 2854. 滚动平均步数 🔒
  • 838. 推多米诺
  • 1171. Remove Zero Sum Consecutive Nodes from Linked List
  • 3198. 查找每个州的城市 🔒
  • 483. 最小好进制
  • 924. 尽量减少恶意软件的传播
  • 1749. 任意子数组和的绝对值的最大值
  • 3352. 统计小于 N 的 K 可约简整数
  • 2699. Modify Graph Edge Weights
  • 1037. 有效的回旋镖
  • 1128. 等价多米诺骨牌对的数量
  • 113. 路径总和 II
  • 1222. 可以攻击国王的皇后
  • 3452. Sum of Good Numbers
  • 319. 灯泡开关
  • 3028. 边界上的蚂蚁
  • 3458. 选择 K 个互不重叠的特殊子字符串
  • 129. Sum Root to Leaf Numbers
  • 3068. 最大节点价值之和
  • 2710. Remove Trailing Zeros From a String
  • 1516. 移动 N 叉树的子树 🔒
  • 2671. 频率跟踪器
  • 119. 杨辉三角 II
  • 面试题 08.03. 魔术索引
  • LCS 系列
  • 2352. Equal Row and Column Pairs
  • 592. 分数加减运算
  • 1550. Three Consecutive Odds
  • 1806. 还原排列的最少操作步数
  • 2787. Ways to Express an Integer as Sum of Powers
  • 258. 各位相加
  • 178. 分数排名
  • 457. 环形数组是否存在循环
  • 2220. Minimum Bit Flips to Convert Number
  • 3436. 查找合法邮箱
  • 3553. 包含给定路径的最小带权子树 II
  • 715. Range Module
  • 3156. Employee Task Duration and Concurrent Tasks 🔒
  • 1545. Find Kth Bit in Nth Binary String
  • 957. Prison Cells After N Days
  • 1432. Max Difference You Can Get From Changing an Integer
  • LCP 81. 与非的谜题
  • 3363. 最多可收集的水果数目
  • 16.10. Living People
  • 773. 滑动谜题
  • 3008. 找出数组中的美丽下标 II
  • 3322. 英超积分榜排名 III 🔒
  • 3013. Divide an Array Into Subarrays With Minimum Cost II
  • 762. Prime Number of Set Bits in Binary Representation
  • 1415. 长度为 n 的开心字符串中字典序第 k 小的字符串
  • 2760. Longest Even Odd Subarray With Threshold
  • 976. Largest Perimeter Triangle
  • 1308. Running Total for Different Genders 🔒
  • 3004. 相同颜色的最大子树 🔒
  • 3276. Select Cells in Grid With Maximum Score
  • 2160. 拆分数位后四位数字的最小和
  • 873. Length of Longest Fibonacci Subsequence
  • 300. 最长递增子序列
  • 2890. 重塑数据:融合
  • 645. Set Mismatch
  • 197. Rising Temperature
  • 2654. Minimum Number of Operations to Make All Array Elements Equal to 1
  • 2225. 找出输掉零场或一场比赛的玩家
  • 763. Partition Labels
  • LCP 77. 符文储备
  • 2563. 统计公平数对的数目
  • 728. Self Dividing Numbers
  • 1879. Minimum XOR Sum of Two Arrays
  • 963. 最小面积矩形 II
  • 106. Construct Binary Tree from Inorder and Postorder Traversal
  • 216. 组合总和 III
  • 1115. 交替打印 FooBar
  • 278. 第一个错误的版本
  • 2324. Product Sales Analysis IV 🔒
  • 3360. Stone Removal Game
  • 1112. 每位学生的最高成绩 🔒
  • 440. 字典序的第K小数字
  • 3424. 将数组变相同的最小代价
  • 2571. 将整数减少到零需要的最少操作数
  • 251. 展开二维向量 🔒
  • 1626. Best Team With No Conflicts
  • 3298. 统计重新排列后包含另一个字符串的子字符串数目 II
  • 2350. 不可能得到的最短骰子序列
  • 1012. 至少有 1 位重复的数字
  • 553. Optimal Division
  • 1294. 不同国家的天气类型 🔒
  • 1011. Capacity To Ship Packages Within D Days
  • 397. 整数替换
  • 935. 骑士拨号器
  • 剑指 Offer II 071. 按权重生成随机数
  • 494. 目标和
  • 1514. Path with Maximum Probability
  • 2904. Shortest and Lexicographically Smallest Beautiful String
  • 2359. Find Closest Node to Given Two Nodes
  • 966. Vowel Spellchecker
  • 3372. Maximize the Number of Target Nodes After Connecting Trees I
  • 10. 正则表达式匹配
  • 2622. 有时间限制的缓存
  • 1507. Reformat Date
  • 2076. Process Restricted Friend Requests
  • 2458. Height of Binary Tree After Subtree Removal Queries
  • 1324. 竖直打印单词
  • 1692. 计算分配糖果的不同方式 🔒
  • 41. First Missing Positive
  • 2615. Sum of Distances
  • 732. 我的日程安排表 III
  • 2840. Check if Strings Can be Made Equal With Operations II
  • 140. Word Break II
  • 3530. 有向无环图中合法拓扑排序的最大利润
  • 1030. Matrix Cells in Distance Order
  • 111. Minimum Depth of Binary Tree
  • 4. Median of Two Sorted Arrays
  • 3041. 修改数组后最大化数组中的连续元素数目
  • 2915. Length of the Longest Subsequence That Sums to Target
  • 面试题 05. 替换空格
  • 1559. 二维网格图中探测环
  • 728. 自除数
  • 743. Network Delay Time
  • 1999. 最小的仅由两个数组成的倍数 🔒
  • 802. Find Eventual Safe States
  • 1632. Rank Transform of a Matrix
  • 1661. 每台机器的进程平均运行时间
  • 2224. 转化时间需要的最少操作数
  • 1700. 无法吃午餐的学生数量
  • 3446. Sort Matrix by Diagonals
  • 3161. Block Placement Queries
  • 1670. Design Front Middle Back Queue
  • 965. 单值二叉树
  • 671. 二叉树中第二小的节点
  • 2544. 交替数字和
  • 2746. 字符串连接删减字母
  • 785. Is Graph Bipartite
  • 2921. Maximum Profitable Triplets With Increasing Prices II 🔒
  • 1962. Remove Stones to Minimize the Total
  • 2106. 摘水果
  • 1712. 将数组分成三个子数组的方案数
  • 3544. Subtree Inversion Sum
  • 30. 串联所有单词的子串
  • 647. Palindromic Substrings
  • 2694. Event Emitter
  • 2572. 无平方子集计数
  • 1341. 电影评分
  • 300. Longest Increasing Subsequence
  • 762. 二进制表示中质数个计算置位
  • 面试题 04.08. 首个共同祖先
  • 711. 不同岛屿的数量 II 🔒
  • 2862. Maximum Element-Sum of a Complete Subset of Indices
  • 3058. Friends With No Mutual Friends 🔒
  • 3057. Employees Project Allocation 🔒
  • 2220. 转换数字的最少位翻转次数
  • 2833. 距离原点最远的点
  • 355. 设计推特
  • 423. Reconstruct Original Digits from English
  • 3372. 连接两棵树后最大目标节点数目 I
  • 489. Robot Room Cleaner 🔒
  • 2148. Count Elements With Strictly Smaller and Greater Elements
  • 1242. Web Crawler Multithreaded 🔒
  • 393. UTF-8 编码验证
  • 1223. 掷骰子模拟
  • 771. 宝石与石头
  • 891. 子序列宽度之和
  • 792. Number of Matching Subsequences
  • 2030. 含特定字母的最小子序列
  • 3158. 求出出现两次数字的 XOR 值
  • 2835. Minimum Operations to Form Subsequence With Target Sum
  • 面试题 45. 把数组排成最小的数
  • 294. Flip Game II 🔒
  • 1169. Invalid Transactions
  • 452. Minimum Number of Arrows to Burst Balloons
  • 2198. Number of Single Divisor Triplets 🔒
  • 285. Inorder Successor in BST 🔒
  • LCP 23. 魔术排列
  • 2215. Find the Difference of Two Arrays
  • 2045. Second Minimum Time to Reach Destination
  • 1444. 切披萨的方案数
  • 1706. 球会落何处
  • 2614. Prime In Diagonal
  • 面试题 32 - I. 从上到下打印二叉树
  • 120. 三角形最小路径和
  • 2067. Number of Equal Count Substrings 🔒
  • 3376. 破解锁的最少时间 I
  • 1952. Three Divisors
  • 3257. 放三个车的价值之和最大 II
  • 3119. 最大数量的可修复坑洼 🔒
  • 3354. Make Array Elements Equal to Zero
  • 156. Binary Tree Upside Down 🔒
  • 3542. Minimum Operations to Convert All Elements to Zero
  • 267. 回文排列 II 🔒
  • 3264. Final Array State After K Multiplication Operations I
  • 2790. 长度递增组的最大数目
  • 2071. 你可以安排的最多任务数目
  • 1731. 每位经理的下属员工数量
  • 1911. Maximum Alternating Subsequence Sum
  • 2968. Apply Operations to Maximize Frequency Score
  • 2086. Minimum Number of Food Buckets to Feed the Hamsters
  • 2290. 到达角落需要移除障碍物的最小数目
  • 1904. 你完成的完整对局数
  • 3424. Minimum Cost to Make Arrays Identical
  • 2154. Keep Multiplying Found Values by Two
  • 3348. Smallest Divisible Digit Product II
  • 922. 按奇偶排序数组 II
  • 2932. 找出强数对的最大异或值 I
  • 2620. Counter
  • 235. 二叉搜索树的最近公共祖先
  • 2039. The Time When the Network Becomes Idle
  • 1924. Erect the Fence II 🔒
  • 3325. Count Substrings With K-Frequency Characters I
  • 1078. Occurrences After Bigram
  • LCP 34. 二叉树染色
  • 358. K 距离间隔重排字符串 🔒
  • 86. 分隔链表
  • 2726. Calculator with Method Chaining
  • 285. 二叉搜索树中的中序后继 🔒
  • 1392. Longest Happy Prefix
  • 2969. Minimum Number of Coins for Fruits II 🔒
  • 2216. 美化数组的最少删除数
  • 1123. 最深叶节点的最近公共祖先
  • 2242. Maximum Score of a Node Sequence
  • 2683. 相邻值的按位异或
  • 2609. 最长平衡子字符串
  • 2809. Minimum Time to Make Array Sum At Most x
  • 330. Patching Array
  • 面试题 66. 构建乘积数组
  • 1137. N-th Tribonacci Number
  • 2977. 转换字符串的最小成本 II
  • 3251. Find the Count of Monotonic Pairs II
  • 512. 游戏玩法分析 II 🔒
  • 1438. 绝对差不超过限制的最长连续子数组
  • 2054. Two Best Non-Overlapping Events
  • 352. 将数据流变为多个不相交区间
  • 1299. Replace Elements with Greatest Element on Right Side
  • 1023. 驼峰式匹配
  • 3509. 最大化交错和为 K 的子序列乘积
  • 921. Minimum Add to Make Parentheses Valid
  • 614. Second Degree Follower 🔒
  • 99. Recover Binary Search Tree
  • 1291. 顺次数
  • 1305. All Elements in Two Binary Search Trees
  • 259. 较小的三数之和 🔒
  • 3094. Guess the Number Using Bitwise Questions II 🔒
  • 2309. Greatest English Letter in Upper and Lower Case
  • 1607. 没有卖出的卖家 🔒
  • 2614. 对角线上的质数
  • 250. 统计同值子树 🔒
  • 2031. Count Subarrays With More Ones Than Zeros 🔒
  • 765. Couples Holding Hands
  • 1951. All the Pairs With the Maximum Number of Common Followers 🔒
  • 1811. 寻找面试候选人 🔒
  • 剑指 Offer II 043. 往完全二叉树添加节点
  • 1186. Maximum Subarray Sum with One Deletion
  • 3064. Guess the Number Using Bitwise Questions I 🔒
  • 849. 到最近的人的最大距离
  • 332. 重新安排行程
  • 798. Smallest Rotation with Highest Score
  • 3268. 查找重叠的班次 II 🔒
  • 3224. Minimum Array Changes to Make Differences Equal
  • 1800. 最大升序子数组和
  • 04.04. Check Balance
  • 2221. Find Triangular Sum of an Array
  • 2389. Longest Subsequence With Limited Sum
  • 3182. Find Top Scoring Students 🔒
  • 3400. 右移后的最大匹配索引数 🔒
  • 1164. Product Price at a Given Date
  • 1146. Snapshot Array
  • 2449. Minimum Number of Operations to Make Arrays Similar
  • 290. 单词规律
  • 910. 最小差值 II
  • 3155. 可升级服务器的最大数量 🔒
  • 786. K-th Smallest Prime Fraction
  • 682. 棒球比赛
  • 3243. 新增道路查询后的最短距离 I
  • 1112. Highest Grade For Each Student 🔒
  • 1239. 串联字符串的最大长度
  • 2644. Find the Maximum Divisibility Score
  • 2559. Count Vowel Strings in Ranges
  • 2277. 树中最接近路径的节点 🔒
  • 882. Reachable Nodes In Subdivided Graph
  • 1855. 下标对中的最大距离
  • 1394. 找出数组中的幸运数
  • 1514. 概率最大的路径
  • 191. 位1的个数
  • 1255. Maximum Score Words Formed by Letters
  • 2975. 移除栅栏得到的正方形田地的最大面积
  • 274. H-Index
  • 2587. 重排数组以得到最大前缀分数
  • 面试题 01.03. URL 化
  • 436. 寻找右区间
  • 751. IP to CIDR 🔒
  • 面试题 53 - I. 在排序数组中查找数字 I
  • 3492. 船上可以装载的最大集装箱数量
  • 2851. 字符串转换
  • 1862. Sum of Floored Pairs
  • 1392. 最长快乐前缀
  • 1027. 最长等差数列
  • 2903. Find Indices With Index and Value Difference I
  • 2460. 对数组执行操作
  • 1086. High Five 🔒
  • 2715. Timeout Cancellation
  • 2612. 最少翻转操作数
  • 1637. Widest Vertical Area Between Two Points Containing No Points
  • 845. Longest Mountain in Array
  • 463. 岛屿的周长
  • 232. Implement Queue using Stacks
  • 1579. Remove Max Number of Edges to Keep Graph Fully Traversable
  • 1198. Find Smallest Common Element in All Rows 🔒
  • 1788. 最大化花园的美观度 🔒
  • 1579. 保证图可完全遍历
  • 2532. Time to Cross a Bridge
  • 1204. Last Person to Fit in the Bus
  • 1515. 服务中心的最佳位置
  • 172. 阶乘后的零
  • 1203. Sort Items by Groups Respecting Dependencies
  • 2792. Count Nodes That Are Great Enough 🔒
  • 1717. Maximum Score From Removing Substrings
  • 307. 区域和检索 - 数组可修改
  • 1477. 找两个和为目标值且不重叠的子数组
  • 2283. 判断一个数的数字计数是否等于数位的值
  • 204. 计数质数
  • 1667. Fix Names in a Table
  • 1107. New Users Daily Count 🔒
  • 3071. Minimum Operations to Write the Letter Y on a Grid
  • 1798. 你能构造出连续值的最大数目
  • 2011. 执行操作后的变量值
  • 400. Nth Digit
  • 1691. Maximum Height by Stacking Cuboids
  • 2050. 并行课程 III
  • 面试题 16.17. 连续数列
  • 117. 填充每个节点的下一个右侧节点指针 II
  • 2463. 最小移动总距离
  • 233. Number of Digit One
  • 1847. Closest Room
  • 1974. Minimum Time to Type Word Using Special Typewriter
  • 2050. Parallel Courses III
  • 2470. 最小公倍数等于 K 的子数组数目
  • 1127. 用户购买平台 🔒
  • 680. 验证回文串 II
  • 2494. 合并在同一个大厅重叠的活动 🔒
  • 1268. Search Suggestions System
  • 1071. 字符串的最大公因子
  • 1980. 找出不同的二进制字符串
  • 3274. Check if Two Chessboard Squares Have the Same Color
  • 2188. Minimum Time to Finish the Race
  • 141. 环形链表
  • 2769. 找出最大的可达成数字
  • 260. Single Number III
  • 819. 最常见的单词
  • 186. 反转字符串中的单词 II 🔒
  • 312. 戳气球
  • 1311. Get Watched Videos by Your Friends
  • 456. 132 Pattern
  • 2987. Find Expensive Cities 🔒
  • 747. 至少是其他数字两倍的最大数
  • 940. Distinct Subsequences II
  • 3379. Transformed Array
  • 2164. 对奇偶下标分别排序
  • 剑指 Offer II 029. 排序的循环链表
  • 2888. 重塑数据:连结
  • 1074. 元素和为目标值的子矩阵数量
  • 2082. The Number of Rich Customers 🔒
  • 2194. Cells in a Range on an Excel Sheet
  • 3112. 访问消失节点的最少时间
  • 995. K 连续位的最小翻转次数
  • 678. 有效的括号字符串
  • 2143. 在两个数组的区间中选取数字 🔒
  • 2603. 收集树中金币
  • 1205. 每月交易 II 🔒
  • 453. 最小操作次数使数组元素相等
  • 3021. Alice and Bob Playing Flower Game
  • 1782. Count Pairs Of Nodes
  • 2815. 数组中的最大数对和
  • 3541. 找到频率最高的元音和辅音
  • 2250. 统计包含每个点的矩形数目
  • 1578. 使绳子变成彩色的最短时间
  • 122. Best Time to Buy and Sell Stock II
  • 1842. Next Palindrome Using Same Digits 🔒
  • 719. 找出第 K 小的数对距离
  • 521. Longest Uncommon Subsequence I
  • 2204. 无向图中到环的距离 🔒
  • 2515. Shortest Distance to Target String in a Circular Array
  • 2262. 字符串的总引力
  • 2576. Find the Maximum Number of Marked Indices
  • 600. 不含连续1的非负整数
  • 1930. Unique Length-3 Palindromic Subsequences
  • 1691. 堆叠长方体的最大高度
  • 1293. Shortest Path in a Grid with Obstacles Elimination
  • 37. Sudoku Solver
  • 548. 将数组分割成和相等的子数组 🔒
  • 2670. 找出不同元素数目差数组
  • 2994. Friday Purchases II 🔒
  • 313. Super Ugly Number
  • 1099. 小于 K 的两数之和 🔒
  • 696. 计数二进制子串
  • 2437. 有效时间的数目
  • 3006. Find Beautiful Indices in the Given Array I
  • 2687. 自行车的最后使用时间 🔒
优繆落 youmoula
  • 搜索


© 版权所有 2025, youmoula.com。

利用 Sphinx 构建,使用的 主题 由 Read the Docs 开发.