Commit cb52b41
File tree
1,711 files changed
+139626
-6678
lines changed- change/scripts
- out
- lcci
- 01.04.Palindrome Permutation
- 01.05.One Away
- 01.07.Rotate Matrix
- 01.08.Zero Matrix
- 02.04.Partition List
- 02.05.Sum Lists
- 02.06.Palindrome Linked List
- 04.03.List of Depth
- 08.07.Permutation I
- 17.01.Add Without Plus
- 17.04.Missing Number
- 17.10.Find Majority Element
- 17.12.BiNode
- 17.13.Re-Space
- 17.16.The Masseuse
- lcof2
- 剑指 Offer II 001. 整数除法
- 剑指 Offer II 002. 二进制加法
- 剑指 Offer II 003. 前 n 个数字二进制中 1 的个数
- 剑指 Offer II 004. 只出现一次的数字
- 剑指 Offer II 005. 单词长度的最大乘积
- 剑指 Offer II 006. 排序数组中两个数字之和
- 剑指 Offer II 007. 数组中和为 0 的三个数
- 剑指 Offer II 008. 和大于等于 target 的最短子数组
- 剑指 Offer II 009. 乘积小于 K 的子数组
- 剑指 Offer II 010. 和为 k 的子数组
- 剑指 Offer II 011. 0 和 1 个数相同的子数组
- 剑指 Offer II 012. 左右两边子数组的和相等
- 剑指 Offer II 013. 二维子矩阵的和
- 剑指 Offer II 014. 字符串中的变位词
- 剑指 Offer II 015. 字符串中的所有变位词
- 剑指 Offer II 016. 不含重复字符的最长子字符串
- 剑指 Offer II 017. 含有所有字符的最短字符串
- 剑指 Offer II 018. 有效的回文
- 剑指 Offer II 019. 最多删除一个字符得到回文
- 剑指 Offer II 020. 回文子字符串的个数
- 剑指 Offer II 021. 删除链表的倒数第 n 个结点
- 剑指 Offer II 022. 链表中环的入口节点
- 剑指 Offer II 023. 两个链表的第一个重合节点
- 剑指 Offer II 024. 反转链表
- 剑指 Offer II 025. 链表中的两数相加
- 剑指 Offer II 026. 重排链表
- 剑指 Offer II 027. 回文链表
- 剑指 Offer II 028. 展平多级双向链表
- 剑指 Offer II 029. 排序的循环链表
- 剑指 Offer II 030. 插入、删除和随机访问都是 O(1) 的容器
- 剑指 Offer II 031. 最近最少使用缓存
- 剑指 Offer II 032. 有效的变位词
- 剑指 Offer II 033. 变位词组
- 剑指 Offer II 034. 外星语言是否排序
- 剑指 Offer II 035. 最小时间差
- 剑指 Offer II 036. 后缀表达式
- 剑指 Offer II 037. 小行星碰撞
- 剑指 Offer II 038. 每日温度
- 剑指 Offer II 039. 直方图最大矩形面积
- 剑指 Offer II 040. 矩阵中最大的矩形
- 剑指 Offer II 041. 滑动窗口的平均值
- 剑指 Offer II 042. 最近请求次数
- 剑指 Offer II 043. 往完全二叉树添加节点
- 剑指 Offer II 044. 二叉树每层的最大值
- 剑指 Offer II 045. 二叉树最底层最左边的值
- 剑指 Offer II 046. 二叉树的右侧视图
- 剑指 Offer II 047. 二叉树剪枝
- 剑指 Offer II 048. 序列化与反序列化二叉树
- 剑指 Offer II 049. 从根节点到叶节点的路径数字之和
- 剑指 Offer II 050. 向下的路径节点之和
- 剑指 Offer II 051. 节点之和最大的路径
- 剑指 Offer II 052. 展平二叉搜索树
- 剑指 Offer II 053. 二叉搜索树中的中序后继
- 剑指 Offer II 054. 所有大于等于节点的值之和
- 剑指 Offer II 055. 二叉搜索树迭代器
- 剑指 Offer II 056. 二叉搜索树中两个节点之和
- 剑指 Offer II 057. 值和下标之差都在给定的范围内
- 剑指 Offer II 058. 日程表
- 剑指 Offer II 059. 数据流的第 K 大数值
- 剑指 Offer II 060. 出现频率最高的 k 个数字
- 剑指 Offer II 061. 和最小的 k 个数对
- 剑指 Offer II 062. 实现前缀树
- 剑指 Offer II 063. 替换单词
- 剑指 Offer II 064. 神奇的字典
- 剑指 Offer II 065. 最短的单词编码
- 剑指 Offer II 066. 单词之和
- 剑指 Offer II 067. 最大的异或
- 剑指 Offer II 068. 查找插入位置
- 剑指 Offer II 069. 山峰数组的顶部
- 剑指 Offer II 070. 排序数组中只出现一次的数字
- 剑指 Offer II 071. 按权重生成随机数
- 剑指 Offer II 073. 狒狒吃香蕉
- 剑指 Offer II 074. 合并区间
- 剑指 Offer II 075. 数组相对排序
- 剑指 Offer II 076. 数组中的第 k 大的数字
- 剑指 Offer II 077. 链表排序
- 剑指 Offer II 078. 合并排序链表
- 剑指 Offer II 079. 所有子集
- 剑指 Offer II 080. 含有 k 个元素的组合
- 剑指 Offer II 081. 允许重复选择元素的组合
- 剑指 Offer II 082. 含有重复元素集合的组合
- 剑指 Offer II 083. 没有重复元素集合的全排列
- 剑指 Offer II 084. 含有重复元素集合的全排列
- 剑指 Offer II 085. 生成匹配的括号
- 剑指 Offer II 086. 分割回文子字符串
- 剑指 Offer II 087. 复原 IP
- 剑指 Offer II 088. 爬楼梯的最少成本
- 剑指 Offer II 089. 房屋偷盗
- 剑指 Offer II 090. 环形房屋偷盗
- 剑指 Offer II 091. 粉刷房子
- 剑指 Offer II 092. 翻转字符
- 剑指 Offer II 093. 最长斐波那契数列
- 剑指 Offer II 094. 最少回文分割
- 剑指 Offer II 095. 最长公共子序列
- 剑指 Offer II 096. 字符串交织
- 剑指 Offer II 097. 子序列的数目
- 剑指 Offer II 098. 路径的数目
- 剑指 Offer II 099. 最小路径之和
- 剑指 Offer II 100. 三角形中最小路径之和
- 剑指 Offer II 101. 分割等和子串
- 剑指 Offer II 102. 加减的目标值
- 剑指 Offer II 103. 最少的硬币数目
- 剑指 Offer II 104. 排列的数目
- 剑指 Offer II 105. 岛屿的最大面积
- 剑指 Offer II 106. 二分图
- 剑指 Offer II 107. 矩阵中的距离
- 剑指 Offer II 108. 单词演变
- 剑指 Offer II 109. 开密码锁
- 剑指 Offer II 110. 所有路径
- 剑指 Offer II 111. 计算除法
- 剑指 Offer II 112. 最长递增路径
- 剑指 Offer II 113. 课程顺序
- 剑指 Offer II 114. 外星文字典
- 剑指 Offer II 115. 重建序列
- 剑指 Offer II 116. 朋友圈
- 剑指 Offer II 117. 相似的字符串
- 剑指 Offer II 118. 多余的边
- 剑指 Offer II 119. 最长连续序列
- lcof
- 面试题03. 数组中重复的数字
- 面试题05. 替换空格
- 面试题06. 从尾到头打印链表
- 面试题09. 用两个栈实现队列
- 面试题10- II. 青蛙跳台阶问题
- 面试题13. 机器人的运动范围
- 面试题14- II. 剪绳子 II
- 面试题17. 打印从1到最大的n位数
- 面试题18. 删除链表的节点
- 面试题21. 调整数组顺序使奇数位于偶数前面
- 面试题24. 反转链表
- 面试题27. 二叉树的镜像
- 面试题28. 对称的二叉树
- 面试题29. 顺时针打印矩阵
- 面试题30. 包含min函数的栈
- 面试题31. 栈的压入、弹出序列
- 面试题32 - I. 从上到下打印二叉树
- 面试题32 - II. 从上到下打印二叉树 II
- 面试题32 - III. 从上到下打印二叉树 III
- 面试题33. 二叉搜索树的后序遍历序列
- 面试题34. 二叉树中和为某一值的路径
- 面试题35. 复杂链表的复制
- 面试题36. 二叉搜索树与双向链表
- 面试题37. 序列化二叉树
- 面试题38. 字符串的排列
- 面试题39. 数组中出现次数超过一半的数字
- 面试题40. 最小的k个数
- 面试题41. 数据流中的中位数
- 面试题42. 连续子数组的最大和
- 面试题44. 数字序列中某一位的数字
- 面试题45. 把数组排成最小的数
- 面试题46. 把数字翻译成字符串
- 面试题47. 礼物的最大价值
- 面试题48. 最长不含重复字符的子字符串
- 面试题49. 丑数
- 面试题50. 第一个只出现一次的字符
- 面试题51. 数组中的逆序对
- 面试题52. 两个链表的第一个公共节点
- 面试题53 - II. 0~n-1中缺失的数字
- 面试题54. 二叉搜索树的第k大节点
- 面试题55 - I. 二叉树的深度
- 面试题56 - I. 数组中数字出现的次数
- 面试题56 - II. 数组中数字出现的次数 II
- 面试题57 - II. 和为s的连续正数序列
- 面试题57. 和为s的两个数字
- 面试题58 - I. 翻转单词顺序
- 面试题58 - II. 左旋转字符串
- 面试题59 - I. 滑动窗口的最大值
- 面试题59 - II. 队列的最大值
- 面试题60. n个骰子的点数
- 面试题61. 扑克牌中的顺子
- 面试题63. 股票的最大利润
- 面试题64. 求1+2+…+n
- 面试题65. 不用加减乘除做加法
- 面试题67. 把字符串转换成整数
- 面试题68 - I. 二叉搜索树的最近公共祖先
- 面试题68 - II. 二叉树的最近公共祖先
- lcp
- LCP 03. 机器人大冒险
- LCP 04. 覆盖
- LCP 05. 发 LeetCoin
- LCP 12. 小张刷题计划
- solution
- 0000-0099
- 0001.Two Sum
- 0002.Add Two Numbers
- 0003.Longest Substring Without Repeating Characters
- 0004.Median of Two Sorted Arrays
- 0005.Longest Palindromic Substring
- 0006.Zigzag Conversion
- 0007.Reverse Integer
- 0009.Palindrome Number
- 0010.Regular Expression Matching
- 0011.Container With Most Water
- 0012.Integer to Roman
- 0013.Roman to Integer
- 0014.Longest Common Prefix
- 0015.3Sum
- 0016.3Sum Closest
- 0017.Letter Combinations of a Phone Number
- 0018.4Sum
- 0019.Remove Nth Node From End of List
- 0020.Valid Parentheses
- 0021.Merge Two Sorted Lists
- 0022.Generate Parentheses
- 0024.Swap Nodes in Pairs
- 0025.Reverse Nodes in k-Group
- 0026.Remove Duplicates from Sorted Array
- 0027.Remove Element
- 0028.Find the Index of the First Occurrence in a String
- 0029.Divide Two Integers
- 0030.Substring with Concatenation of All Words
- 0031.Next Permutation
- 0032.Longest Valid Parentheses
- 0034.Find First and Last Position of Element in Sorted Array
- 0035.Search Insert Position
- 0036.Valid Sudoku
- 0037.Sudoku Solver
- 0039.Combination Sum
- 0040.Combination Sum II
- 0041.First Missing Positive
- 0042.Trapping Rain Water
- 0043.Multiply Strings
- 0044.Wildcard Matching
- 0045.Jump Game II
- 0046.Permutations
- 0047.Permutations II
- 0048.Rotate Image
- 0049.Group Anagrams
- 0050.Pow(x, n)
- 0052.N-Queens II
- 0054.Spiral Matrix
- 0055.Jump Game
- 0056.Merge Intervals
- 0057.Insert Interval
- 0058.Length of Last Word
- 0059.Spiral Matrix II
- 0060.Permutation Sequence
- 0065.Valid Number
- 0068.Text Justification
- 0070.Climbing Stairs
- 0071.Simplify Path
- 0073.Set Matrix Zeroes
- 0074.Search a 2D Matrix
- 0076.Minimum Window Substring
- 0077.Combinations
- 0078.Subsets
- 0080.Remove Duplicates from Sorted Array II
- 0082.Remove Duplicates from Sorted List II
- 0084.Largest Rectangle in Histogram
- 0085.Maximal Rectangle
- 0086.Partition List
- 0087.Scramble String
- 0088.Merge Sorted Array
- 0089.Gray Code
- 0092.Reverse Linked List II
- 0098.Validate Binary Search Tree
- 0099.Recover Binary Search Tree
- 0100-0199
- 0100.Same Tree
- 0101.Symmetric Tree
- 0102.Binary Tree Level Order Traversal
- 0103.Binary Tree Zigzag Level Order Traversal
- 0104.Maximum Depth of Binary Tree
- 0105.Construct Binary Tree from Preorder and Inorder Traversal
- 0106.Construct Binary Tree from Inorder and Postorder Traversal
- 0108.Convert Sorted Array to Binary Search Tree
- 0110.Balanced Binary Tree
- 0111.Minimum Depth of Binary Tree
- 0112.Path Sum
- 0113.Path Sum II
- 0114.Flatten Binary Tree to Linked List
- 0115.Distinct Subsequences
- 0116.Populating Next Right Pointers in Each Node
- 0117.Populating Next Right Pointers in Each Node II
- 0121.Best Time to Buy and Sell Stock
- 0122.Best Time to Buy and Sell Stock II
- 0123.Best Time to Buy and Sell Stock III
- 0125.Valid Palindrome
- 0128.Longest Consecutive Sequence
- 0129.Sum Root to Leaf Numbers
- 0134.Gas Station
- 0135.Candy
- 0136.Single Number
- 0137.Single Number II
- 0138.Copy List with Random Pointer
- 0139.Word Break
- 0146.LRU Cache
- 0149.Max Points on a Line
- 0151.Reverse Words in a String
- 0153.Find Minimum in Rotated Sorted Array
- 0155.Min Stack
- 0156.Binary Tree Upside Down
- 0157.Read N Characters Given Read4
- 0159.Longest Substring with At Most Two Distinct Characters
- 0160.Intersection of Two Linked Lists
- 0161.One Edit Distance
- 0163.Missing Ranges
- 0164.Maximum Gap
- 0165.Compare Version Numbers
- 0167.Two Sum II - Input Array Is Sorted
- 0169.Majority Element
- 0170.Two Sum III - Data structure design
- 0172.Factorial Trailing Zeroes
- 0174.Dungeon Game
- 0187.Repeated DNA Sequences
- 0188.Best Time to Buy and Sell Stock IV
- 0189.Rotate Array
- 0198.House Robber
- 0199.Binary Tree Right Side View
- 0200-0299
- 0200.Number of Islands
- 0201.Bitwise AND of Numbers Range
- 0202.Happy Number
- 0204.Count Primes
- 0205.Isomorphic Strings
- 0206.Reverse Linked List
- 0207.Course Schedule
- 0208.Implement Trie (Prefix Tree)
- 0209.Minimum Size Subarray Sum
- 0210.Course Schedule II
- 0212.Word Search II
- 0215.Kth Largest Element in an Array
- 0216.Combination Sum III
- 0217.Contains Duplicate
- 0219.Contains Duplicate II
- 0220.Contains Duplicate III
- 0221.Maximal Square
- 0222.Count Complete Tree Nodes
- 0223.Rectangle Area
- 0224.Basic Calculator
- 0225.Implement Stack using Queues
- 0226.Invert Binary Tree
- 0227.Basic Calculator II
- 0228.Summary Ranges
- 0231.Power of Two
- 0232.Implement Queue using Stacks
- 0233.Number of Digit One
- 0234.Palindrome Linked List
- 0235.Lowest Common Ancestor of a Binary Search Tree
- 0237.Delete Node in a Linked List
- 0238.Product of Array Except Self
- 0239.Sliding Window Maximum
- 0240.Search a 2D Matrix II
- 0242.Valid Anagram
- 0243.Shortest Word Distance
- 0244.Shortest Word Distance II
- 0245.Shortest Word Distance III
- 0246.Strobogrammatic Number
- 0247.Strobogrammatic Number II
- 0248.Strobogrammatic Number III
- 0250.Count Univalue Subtrees
- 0251.Flatten 2D Vector
- 0252.Meeting Rooms
- 0254.Factor Combinations
- 0256.Paint House
- 0264.Ugly Number II
- 0265.Paint House II
- 0266.Palindrome Permutation
- 0267.Palindrome Permutation II
- 0268.Missing Number
- 0269.Alien Dictionary
- 0271.Encode and Decode Strings
- 0272.Closest Binary Search Tree Value II
- 0274.H-Index
- 0276.Paint Fence
- 0277.Find the Celebrity
- 0289.Game of Life
- 0290.Word Pattern
- 0292.Nim Game
- 0294.Flip Game II
- 0295.Find Median from Data Stream
- 0296.Best Meeting Point
- 0300-0399
- 0300.Longest Increasing Subsequence
- 0301.Remove Invalid Parentheses
- 0303.Range Sum Query - Immutable
- 0304.Range Sum Query 2D - Immutable
- 0307.Range Sum Query - Mutable
- 0308.Range Sum Query 2D - Mutable
- 0313.Super Ugly Number
- 0314.Binary Tree Vertical Order Traversal
- 0315.Count of Smaller Numbers After Self
- 0316.Remove Duplicate Letters
- 0322.Coin Change
- 0325.Maximum Size Subarray Sum Equals k
- 0326.Power of Three
- 0327.Count of Range Sum
- 0328.Odd Even Linked List
- 0329.Longest Increasing Path in a Matrix
- 0330.Patching Array
- 0336.Palindrome Pairs
- 0340.Longest Substring with At Most K Distinct Characters
- 0343.Integer Break
- 0347.Top K Frequent Elements
- 0357.Count Numbers with Unique Digits
- 0358.Rearrange String k Distance Apart
- 0367.Valid Perfect Square
- 0368.Largest Divisible Subset
- 0369.Plus One Linked List
- 0370.Range Addition
- 0371.Sum of Two Integers
- 0374.Guess Number Higher or Lower
- 0375.Guess Number Higher or Lower II
- 0377.Combination Sum IV
- 0380.Insert Delete GetRandom O(1)
- 0383.Ransom Note
- 0385.Mini Parser
- 0387.First Unique Character in a String
- 0389.Find the Difference
- 0392.Is Subsequence
- 0395.Longest Substring with At Least K Repeating Characters
- 0400-0499
- 0400.Nth Digit
- 0402.Remove K Digits
- 0403.Frog Jump
- 0407.Trapping Rain Water II
- 0408.Valid Word Abbreviation
- 0409.Longest Palindrome
- 0410.Split Array Largest Sum
- 0413.Arithmetic Slices
- 0414.Third Maximum Number
- 0415.Add Strings
- 0421.Maximum XOR of Two Numbers in an Array
- 0425.Word Squares
- 0429.N-ary Tree Level Order Traversal
- 0434.Number of Segments in a String
- 0435.Non-overlapping Intervals
- 0437.Path Sum III
- 0439.Ternary Expression Parser
- 0448.Find All Numbers Disappeared in an Array
- 0450.Delete Node in a BST
- 0451.Sort Characters By Frequency
- 0452.Minimum Number of Arrows to Burst Balloons
- 0453.Minimum Moves to Equal Array Elements
- 0454.4Sum II
- 0455.Assign Cookies
- 0456.132 Pattern
- 0459.Repeated Substring Pattern
- 0461.Hamming Distance
- 0462.Minimum Moves to Equal Array Elements II
- 0465.Optimal Account Balancing
- 0467.Unique Substrings in Wraparound String
- 0472.Concatenated Words
- 0473.Matchsticks to Square
- 0480.Sliding Window Median
- 0481.Magical String
- 0483.Smallest Good Base
- 0484.Find Permutation
- 0485.Max Consecutive Ones
- 0486.Predict the Winner
- 0487.Max Consecutive Ones II
- 0493.Reverse Pairs
- 0495.Teemo Attacking
- 0496.Next Greater Element I
- 0497.Random Point in Non-overlapping Rectangles
- 0498.Diagonal Traverse
- 0500-0599
- 0500.Keyboard Row
- 0502.IPO
- 0504.Base 7
- 0514.Freedom Trail
- 0522.Longest Uncommon Subsequence II
- 0527.Word Abbreviation
- 0532.K-diff Pairs in an Array
- 0538.Convert BST to Greater Tree
- 0546.Remove Boxes
- 0547.Number of Provinces
- 0548.Split Array with Equal Sum
- 0551.Student Attendance Record I
- 0552.Student Attendance Record II
- 0555.Split Concatenated Strings
- 0562.Longest Line of Consecutive One in Matrix
- 0565.Array Nesting
- 0566.Reshape the Matrix
- 0567.Permutation in String
- 0568.Maximum Vacation Days
- 0573.Squirrel Simulation
- 0576.Out of Boundary Paths
- 0581.Shortest Unsorted Continuous Subarray
- 0583.Delete Operation for Two Strings
- 0593.Valid Square
- 0600-0699
- 0600.Non-negative Integers without Consecutive Ones
- 0604.Design Compressed String Iterator
- 0609.Find Duplicate File in System
- 0611.Valid Triangle Number
- 0617.Merge Two Binary Trees
- 0621.Task Scheduler
- 0624.Maximum Distance in Arrays
- 0625.Minimum Factorization
- 0628.Maximum Product of Three Numbers
- 0629.K Inverse Pairs Array
- 0632.Smallest Range Covering Elements from K Lists
- 0634.Find the Derangement of An Array
- 0635.Design Log Storage System
- 0636.Exclusive Time of Functions
- 0640.Solve the Equation
- 0641.Design Circular Deque
- 0646.Maximum Length of Pair Chain
- 0647.Palindromic Substrings
- 0648.Replace Words
- 0650.2 Keys Keyboard
- 0651.4 Keys Keyboard
- 0653.Two Sum IV - Input is a BST
- 0654.Maximum Binary Tree
- 0655.Print Binary Tree
- 0656.Coin Path
- 0658.Find K Closest Elements
- 0659.Split Array into Consecutive Subsequences
- 0662.Maximum Width of Binary Tree
- 0664.Strange Printer
- 0665.Non-decreasing Array
- 0667.Beautiful Arrangement II
- 0669.Trim a Binary Search Tree
- 0670.Maximum Swap
- 0671.Second Minimum Node In a Binary Tree
- 0672.Bulb Switcher II
- 0673.Number of Longest Increasing Subsequence
- 0676.Implement Magic Dictionary
- 0677.Map Sum Pairs
- 0678.Valid Parenthesis String
- 0683.K Empty Slots
- 0688.Knight Probability in Chessboard
- 0697.Degree of an Array
- 0698.Partition to K Equal Sum Subsets
- 0699.Falling Squares
- 0700-0799
- 0705.Design HashSet
- 0706.Design HashMap
- 0707.Design Linked List
- 0709.To Lower Case
- 0712.Minimum ASCII Delete Sum for Two Strings
- 0713.Subarray Product Less Than K
- 0715.Range Module
- 0716.Max Stack
- 0718.Maximum Length of Repeated Subarray
- 0719.Find K-th Smallest Pair Distance
- 0724.Find Pivot Index
- 0731.My Calendar II
- 0732.My Calendar III
- 0733.Flood Fill
- 0736.Parse Lisp Expression
- 0738.Monotone Increasing Digits
- 0739.Daily Temperatures
- 0743.Network Delay Time
- 0744.Find Smallest Letter Greater Than Target
- 0745.Prefix and Suffix Search
- 0746.Min Cost Climbing Stairs
- 0753.Cracking the Safe
- 0754.Reach a Number
- 0755.Pour Water
- 0756.Pyramid Transition Matrix
- 0761.Special Binary String
- 0762.Prime Number of Set Bits in Binary Representation
- 0763.Partition Labels
- 0764.Largest Plus Sign
- 0766.Toeplitz Matrix
- 0767.Reorganize String
- 0768.Max Chunks To Make Sorted II
- 0769.Max Chunks To Make Sorted
- 0771.Jewels and Stones
- 0774.Minimize Max Distance to Gas Station
- 0775.Global and Local Inversions
- 0776.Split BST
- 0777.Swap Adjacent in LR String
- 0779.K-th Symbol in Grammar
- 0782.Transform to Chessboard
- 0784.Letter Case Permutation
- 0788.Rotated Digits
- 0789.Escape The Ghosts
- 0790.Domino and Tromino Tiling
- 0791.Custom Sort String
- 0792.Number of Matching Subsequences
- 0793.Preimage Size of Factorial Zeroes Function
- 0794.Valid Tic-Tac-Toe State
- 0795.Number of Subarrays with Bounded Maximum
- 0799.Champagne Tower
- 0800-0899
- 0801.Minimum Swaps To Make Sequences Increasing
- 0802.Find Eventual Safe States
- 0804.Unique Morse Code Words
- 0805.Split Array With Same Average
- 0808.Soup Servings
- 0809.Expressive Words
- 0810.Chalkboard XOR Game
- 0811.Subdomain Visit Count
- 0813.Largest Sum of Averages
- 0815.Bus Routes
- 0816.Ambiguous Coordinates
- 0817.Linked List Components
- 0818.Race Car
- 0823.Binary Trees With Factors
- 0826.Most Profit Assigning Work
- 0827.Making A Large Island
- 0828.Count Unique Characters of All Substrings of a Given String
- 0829.Consecutive Numbers Sum
- 0830.Positions of Large Groups
- 0831.Masking Personal Information
- 0832.Flipping an Image
- 0833.Find And Replace in String
- 0834.Sum of Distances in Tree
- 0836.Rectangle Overlap
- 0837.New 21 Game
- 0842.Split Array into Fibonacci Sequence
- 0844.Backspace String Compare
- 0845.Longest Mountain in Array
- 0846.Hand of Straights
- 0847.Shortest Path Visiting All Nodes
- 0848.Shifting Letters
- 0849.Maximize Distance to Closest Person
- 0850.Rectangle Area II
- 0851.Loud and Rich
- 0854.K-Similar Strings
- 0855.Exam Room
- 0856.Score of Parentheses
- 0857.Minimum Cost to Hire K Workers
- 0859.Buddy Strings
- 0860.Lemonade Change
- 0861.Score After Flipping Matrix
- 0862.Shortest Subarray with Sum at Least K
- 0863.All Nodes Distance K in Binary Tree
- 0864.Shortest Path to Get All Keys
- 0870.Advantage Shuffle
- 0871.Minimum Number of Refueling Stops
- 0875.Koko Eating Bananas
- 0876.Middle of the Linked List
- 0877.Stone Game
- 0878.Nth Magical Number
- 0879.Profitable Schemes
- 0881.Boats to Save People
- 0882.Reachable Nodes In Subdivided Graph
- 0884.Uncommon Words from Two Sentences
- 0886.Possible Bipartition
- 0887.Super Egg Drop
- 0891.Sum of Subsequence Widths
- 0892.Surface Area of 3D Shapes
- 0894.All Possible Full Binary Trees
- 0895.Maximum Frequency Stack
- 0896.Monotonic Array
- 0897.Increasing Order Search Tree
- 0899.Orderly Queue
- 0900-0999
- 0901.Online Stock Span
- 0902.Numbers At Most N Given Digit Set
- 0904.Fruit Into Baskets
- 0907.Sum of Subarray Minimums
- 0910.Smallest Range II
- 0912.Sort an Array
- 0913.Cat and Mouse
- 0914.X of a Kind in a Deck of Cards
- 0915.Partition Array into Disjoint Intervals
- 0916.Word Subsets
- 0920.Number of Music Playlists
- 0921.Minimum Add to Make Parentheses Valid
- 0923.3Sum With Multiplicity
- 0927.Three Equal Parts
- 0930.Binary Subarrays With Sum
- 0932.Beautiful Array
- 0934.Shortest Bridge
- 0939.Minimum Area Rectangle
- 0940.Distinct Subsequences II
- 0943.Find the Shortest Superstring
- 0946.Validate Stack Sequences
- 0948.Bag of Tokens
- 0949.Largest Time for Given Digits
- 0950.Reveal Cards In Increasing Order
- 0952.Largest Component Size by Common Factor
- 0956.Tallest Billboard
- 0962.Maximum Width Ramp
- 0966.Vowel Spellchecker
- 0968.Binary Tree Cameras
- 0970.Powerful Integers
- 0973.K Closest Points to Origin
- 0974.Subarray Sums Divisible by K
- 0975.Odd Even Jump
- 0978.Longest Turbulent Subarray
- 0979.Distribute Coins in Binary Tree
- 0980.Unique Paths III
- 0981.Time Based Key-Value Store
- 0982.Triples with Bitwise AND Equal To Zero
- 0983.Minimum Cost For Tickets
- 0984.String Without AAA or BBB
- 0991.Broken Calculator
- 0992.Subarrays with K Different Integers
- 0993.Cousins in Binary Tree
- 0996.Number of Squareful Arrays
- 0997.Find the Town Judge
- 0998.Maximum Binary Tree II
- 0999.Available Captures for Rook
- 1000-1099
- 1000.Minimum Cost to Merge Stones
- 1001.Grid Illumination
- 1002.Find Common Characters
- 1003.Check If Word Is Valid After Substitutions
- 1004.Max Consecutive Ones III
- 1005.Maximize Sum Of Array After K Negations
- 1010.Pairs of Songs With Total Durations Divisible by 60
- 1011.Capacity To Ship Packages Within D Days
- 1012.Numbers With Repeated Digits
- 1013.Partition Array Into Three Parts With Equal Sum
- 1014.Best Sightseeing Pair
- 1015.Smallest Integer Divisible by K
- 1016.Binary String With Substrings Representing 1 To N
- 1017.Convert to Base -2
- 1018.Binary Prefix Divisible By 5
- 1019.Next Greater Node In Linked List
- 1020.Number of Enclaves
- 1021.Remove Outermost Parentheses
- 1022.Sum of Root To Leaf Binary Numbers
- 1023.Camelcase Matching
- 1024.Video Stitching
- 1025.Divisor Game
- 1026.Maximum Difference Between Node and Ancestor
- 1027.Longest Arithmetic Subsequence
- 1029.Two City Scheduling
- 1030.Matrix Cells in Distance Order
- 1031.Maximum Sum of Two Non-Overlapping Subarrays
- 1032.Stream of Characters
- 1033.Moving Stones Until Consecutive
- 1034.Coloring A Border
- 1035.Uncrossed Lines
- 1037.Valid Boomerang
- 1038.Binary Search Tree to Greater Sum Tree
- 1039.Minimum Score Triangulation of Polygon
- 1040.Moving Stones Until Consecutive II
- 1041.Robot Bounded In Circle
- 1042.Flower Planting With No Adjacent
- 1043.Partition Array for Maximum Sum
- 1044.Longest Duplicate Substring
- 1046.Last Stone Weight
- 1047.Remove All Adjacent Duplicates In String
- 1051.Height Checker
- 1052.Grumpy Bookstore Owner
- 1053.Previous Permutation With One Swap
- 1054.Distant Barcodes
- 1055.Shortest Way to Form String
- 1056.Confusing Number
- 1057.Campus Bikes
- 1058.Minimize Rounding Error to Meet Target
- 1059.All Paths from Source Lead to Destination
- 1060.Missing Element in Sorted Array
- 1062.Longest Repeating Substring
- 1066.Campus Bikes II
- 1067.Digit Count in Range
- 1072.Flip Columns For Maximum Number of Equal Rows
- 1073.Adding Two Negabinary Numbers
- 1074.Number of Submatrices That Sum to Target
- 1078.Occurrences After Bigram
- 1079.Letter Tile Possibilities
- 1080.Insufficient Nodes in Root to Leaf Paths
- 1081.Smallest Subsequence of Distinct Characters
- 1085.Sum of Digits in the Minimum Number
- 1089.Duplicate Zeros
- 1092.Shortest Common Supersequence
- 1094.Car Pooling
- 1096.Brace Expansion II
- 1099.Two Sum Less Than K
- 1100-1199
- 1100.Find K-Length Substrings With No Repeated Characters
- 1101.The Earliest Moment When Everyone Become Friends
- 1102.Path With Maximum Minimum Value
- 1104.Path In Zigzag Labelled Binary Tree
- 1105.Filling Bookcase Shelves
- 1106.Parsing A Boolean Expression
- 1109.Corporate Flight Bookings
- 1110.Delete Nodes And Return Forest
- 1114.Print in Order
- 1115.Print FooBar Alternately
- 1116.Print Zero Even Odd
- 1119.Remove Vowels from a String
- 1120.Maximum Average Subtree
- 1121.Divide Array Into Increasing Sequences
- 1124.Longest Well-Performing Interval
- 1125.Smallest Sufficient Team
- 1128.Number of Equivalent Domino Pairs
- 1129.Shortest Path with Alternating Colors
- 1130.Minimum Cost Tree From Leaf Values
- 1133.Largest Unique Number
- 1134.Armstrong Number
- 1135.Connecting Cities With Minimum Cost
- 1136.Parallel Courses
- 1137.N-th Tribonacci Number
- 1138.Alphabet Board Path
- 1139.Largest 1-Bordered Square
- 1140.Stone Game II
- 1143.Longest Common Subsequence
- 1144.Decrease Elements To Make Array Zigzag
- 1145.Binary Tree Coloring Game
- 1146.Snapshot Array
- 1147.Longest Chunked Palindrome Decomposition
- 1150.Check If a Number Is Majority Element in a Sorted Array
- 1151.Minimum Swaps to Group All 1's Together
- 1152.Analyze User Website Visit Pattern
- 1153.String Transforms Into Another String
- 1154.Day of the Year
- 1155.Number of Dice Rolls With Target Sum
- 1156.Swap For Longest Repeated Character Substring
- 1157.Online Majority Element In Subarray
- 1160.Find Words That Can Be Formed by Characters
- 1161.Maximum Level Sum of a Binary Tree
- 1162.As Far from Land as Possible
- 1163.Last Substring in Lexicographical Order
- 1169.Invalid Transactions
- 1170.Compare Strings by Frequency of the Smallest Character
- 1171.Remove Zero Sum Consecutive Nodes from Linked List
- 1172.Dinner Plate Stacks
- 1175.Prime Arrangements
- 1176.Diet Plan Performance
- 1177.Can Make Palindrome from Substring
- 1183.Maximum Number of Ones
- 1186.Maximum Subarray Sum with One Deletion
- 1187.Make Array Strictly Increasing
- 1189.Maximum Number of Balloons
- 1190.Reverse Substrings Between Each Pair of Parentheses
- 1191.K-Concatenation Maximum Sum
- 1192.Critical Connections in a Network
- 1199.Minimum Time to Build Blocks
- 1200-1299
- 1200.Minimum Absolute Difference
- 1207.Unique Number of Occurrences
- 1208.Get Equal Substrings Within Budget
- 1209.Remove All Adjacent Duplicates in String II
- 1210.Minimum Moves to Reach Target with Rotations
- 1213.Intersection of Three Sorted Arrays
- 1216.Valid Palindrome III
- 1217.Minimum Cost to Move Chips to The Same Position
- 1218.Longest Arithmetic Subsequence of Given Difference
- 1220.Count Vowels Permutation
- 1221.Split a String in Balanced Strings
- 1223.Dice Roll Simulation
- 1224.Maximum Equal Frequency
- 1227.Airplane Seat Assignment Probability
- 1228.Missing Number In Arithmetic Progression
- 1229.Meeting Scheduler
- 1230.Toss Strange Coins
- 1232.Check If It Is a Straight Line
- 1233.Remove Sub-Folders from the Filesystem
- 1234.Replace the Substring for Balanced String
- 1235.Maximum Profit in Job Scheduling
- 1237.Find Positive Integer Solution for a Given Equation
- 1238.Circular Permutation in Binary Representation
- 1239.Maximum Length of a Concatenated String with Unique Characters
- 1240.Tiling a Rectangle with the Fewest Squares
- 1243.Array Transformation
- 1244.Design A Leaderboard
- 1246.Palindrome Removal
- 1247.Minimum Swaps to Make Strings Equal
- 1248.Count Number of Nice Subarrays
- 1249.Minimum Remove to Make Valid Parentheses
- 1250.Check If It Is a Good Array
- 1252.Cells with Odd Values in a Matrix
- 1253.Reconstruct a 2-Row Binary Matrix
- 1254.Number of Closed Islands
- 1255.Maximum Score Words Formed by Letters
- 1258.Synonymous Sentences
- 1261.Find Elements in a Contaminated Binary Tree
- 1262.Greatest Sum Divisible by Three
- 1263.Minimum Moves to Move a Box to Their Target Location
- 1266.Minimum Time Visiting All Points
- 1267.Count Servers that Communicate
- 1268.Search Suggestions System
- 1269.Number of Ways to Stay in the Same Place After Some Steps
- 1271.Hexspeak
- 1272.Remove Interval
- 1273.Delete Tree Nodes
- 1275.Find Winner on a Tic Tac Toe Game
- 1276.Number of Burgers with No Waste of Ingredients
- 1278.Palindrome Partitioning III
- 1282.Group the People Given the Group Size They Belong To
- 1286.Iterator for Combination
- 1289.Minimum Falling Path Sum II
- 1290.Convert Binary Number in a Linked List to Integer
- 1295.Find Numbers with Even Number of Digits
- 1296.Divide Array in Sets of K Consecutive Numbers
- 1297.Maximum Number of Occurrences of a Substring
- 1300-1399
- 1300.Sum of Mutated Array Closest to Target
- 1301.Number of Paths with Max Score
- 1302.Deepest Leaves Sum
- 1304.Find N Unique Integers Sum up to Zero
- 1306.Jump Game III
- 1310.XOR Queries of a Subarray
- 1312.Minimum Insertion Steps to Make a String Palindrome
- 1317.Convert Integer to the Sum of Two No-Zero Integers
- 1318.Minimum Flips to Make a OR b Equal to c
- 1320.Minimum Distance to Type a Word Using Two Fingers
- 1323.Maximum 69 Number
- 1324.Print Words Vertically
- 1325.Delete Leaves With a Given Value
- 1326.Minimum Number of Taps to Open to Water a Garden
- 1330.Reverse Subarray To Maximize Array Value
- 1331.Rank Transform of an Array
- 1332.Remove Palindromic Subsequences
- 1333.Filter Restaurants by Vegan-Friendly, Price and Distance
- 1334.Find the City With the Smallest Number of Neighbors at a Threshold Distance
- 1335.Minimum Difficulty of a Job Schedule
- 1338.Reduce Array Size to The Half
- 1339.Maximum Product of Splitted Binary Tree
- 1340.Jump Game V
- 1343.Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold
- 1346.Check If N and Its Double Exist
- 1347.Minimum Number of Steps to Make Two Strings Anagram
- 1348.Tweet Counts Per Frequency
- 1349.Maximum Students Taking Exam
- 1351.Count Negative Numbers in a Sorted Matrix
- 1352.Product of the Last K Numbers
- 1353.Maximum Number of Events That Can Be Attended
- 1356.Sort Integers by The Number of 1 Bits
- 1357.Apply Discount Every n Orders
- 1358.Number of Substrings Containing All Three Characters
- 1359.Count All Valid Pickup and Delivery Options
- 1361.Validate Binary Tree Nodes
- 1362.Closest Divisors
- 1365.How Many Numbers Are Smaller Than the Current Number
- 1366.Rank Teams by Votes
- 1367.Linked List in Binary Tree
- 1372.Longest ZigZag Path in a Binary Tree
- 1373.Maximum Sum BST in Binary Tree
- 1374.Generate a String With Characters That Have Odd Counts
- 1375.Number of Times Binary String Is Prefix-Aligned
- 1376.Time Needed to Inform All Employees
- 1383.Maximum Performance of a Team
- 1385.Find the Distance Value Between Two Arrays
- 1394.Find Lucky Integer in an Array
- 1395.Count Number of Teams
- 1396.Design Underground System
- 1399.Count Largest Group
- 1400-1499
- 1400.Construct K Palindrome Strings
- 1406.Stone Game III
- 1409.Queries on a Permutation With Key
- 1411.Number of Ways to Paint N × 3 Grid
- 1417.Reformat The String
- 1419.Minimum Number of Frogs Croaking
- 1420.Build Array Where You Can Find The Maximum Exactly K Comparisons
- 1424.Diagonal Traverse II
- 1426.Counting Elements
- 1427.Perform String Shifts
- 1429.First Unique Number
- 1430.Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree
- 1432.Max Difference You Can Get From Changing an Integer
- 1433.Check If a String Can Break Another String
- 1434.Number of Ways to Wear Different Hats to Each Other
- 1436.Destination City
- 1437.Check If All 1's Are at Least Length K Places Away
- 1438.Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
- 1439.Find the Kth Smallest Sum of a Matrix With Sorted Rows
- 1441.Build an Array With Stack Operations
- 1444.Number of Ways of Cutting a Pizza
- 1450.Number of Students Doing Homework at a Given Time
- 1451.Rearrange Words in a Sentence
- 1452.People Whose List of Favorite Companies Is Not a Subset of Another List
- 1455.Check If a Word Occurs As a Prefix of Any Word in a Sentence
- 1456.Maximum Number of Vowels in a Substring of Given Length
- 1458.Max Dot Product of Two Subsequences
- 1460.Make Two Arrays Equal by Reversing Subarrays
- 1461.Check If a String Contains All Binary Codes of Size K
- 1463.Cherry Pickup II
- 1464.Maximum Product of Two Elements in an Array
- 1465.Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
- 1469.Find All The Lonely Nodes
- 1471.The k Strongest Values in an Array
- 1473.Paint House III
- 1474.Delete N Nodes After M Nodes of a Linked List
- 1475.Final Prices With a Special Discount in a Shop
- 1477.Find Two Non-overlapping Sub-arrays Each With Target Sum
- 1478.Allocate Mailboxes
- 1480.Running Sum of 1d Array
- 1481.Least Number of Unique Integers after K Removals
- 1483.Kth Ancestor of a Tree Node
- 1486.XOR Operation in an Array
- 1487.Making File Names Unique
- 1488.Avoid Flood in The City
- 1490.Clone N-ary Tree
- 1491.Average Salary Excluding the Minimum and Maximum Salary
- 1492.The kth Factor of n
- 1493.Longest Subarray of 1's After Deleting One Element
- 1494.Parallel Courses II
- 1496.Path Crossing
- 1497.Check If Array Pairs Are Divisible by k
- 1498.Number of Subsequences That Satisfy the Given Sum Condition
- 1499.Max Value of Equation
- 1500-1599
- 1502.Can Make Arithmetic Progression From Sequence
- 1503.Last Moment Before All Ants Fall Out of a Plank
- 1504.Count Submatrices With All Ones
- 1505.Minimum Possible Integer After at Most K Adjacent Swaps On Digits
- 1506.Find Root of N-Ary Tree
- 1507.Reformat Date
- 1508.Range Sum of Sorted Subarray Sums
- 1509.Minimum Difference Between Largest and Smallest Value in Three Moves
- 1510.Stone Game IV
- 1511.Customer Order Frequency
- 1512.Number of Good Pairs
- 1513.Number of Substrings With Only 1s
- 1518.Water Bottles
- 1519.Number of Nodes in the Sub-Tree With the Same Label
- 1524.Number of Sub-arrays With Odd Sum
- 1525.Number of Good Ways to Split a String
- 1526.Minimum Number of Increments on Subarrays to Form a Target Array
- 1529.Minimum Suffix Flips
- 1530.Number of Good Leaf Nodes Pairs
- 1534.Count Good Triplets
- 1540.Can Convert String in K Moves
- 1541.Minimum Insertions to Balance a Parentheses String
- 1542.Find Longest Awesome Substring
- 1544.Make The String Great
- 1547.Minimum Cost to Cut a Stick
- 1550.Three Consecutive Odds
- 1555.Bank Account Summary
- 1556.Thousand Separator
- 1562.Find Latest Group of Size M
- 1563.Stone Game V
- 1565.Unique Orders and Customers Per Month
- 1566.Detect Pattern of Length M Repeated K or More Times
- 1568.Minimum Number of Days to Disconnect Island
- 1569.Number of Ways to Reorder Array to Get Same BST
- 1572.Matrix Diagonal Sum
- 1573.Number of Ways to Split a String
- 1574.Shortest Subarray to be Removed to Make Array Sorted
- 1575.Count All Possible Routes
- 1576.Replace All 's to Avoid Consecutive Repeating Characters
- 1577.Number of Ways Where Square of Number Is Equal to Product of Two Numbers
- 1578.Minimum Time to Make Rope Colorful
- 1579.Remove Max Number of Edges to Keep Graph Fully Traversable
- 1580.Put Boxes Into the Warehouse II
- 1582.Special Positions in a Binary Matrix
- 1583.Count Unhappy Friends
- 1584.Min Cost to Connect All Points
- 1585.Check If String Is Transformable With Substring Sort Operations
- 1588.Sum of All Odd Length Subarrays
- 1589.Maximum Sum Obtained of Any Permutation
- 1590.Make Sum Divisible by P
- 1592.Rearrange Spaces Between Words
- 1594.Maximum Non Negative Product in a Matrix
- 1598.Crawler Log Folder
- 1599.Maximum Profit of Operating a Centennial Wheel
- 1600-1699
- 1600.Throne Inheritance
- 1601.Maximum Number of Achievable Transfer Requests
- 1602.Find Nearest Right Node in Binary Tree
- 1603.Design Parking System
- 1604.Alert Using Same Key-Card Three or More Times in a One Hour Period
- 1605.Find Valid Matrix Given Row and Column Sums
- 1608.Special Array With X Elements Greater Than or Equal X
- 1609.Even Odd Tree
- 1611.Minimum One Bit Operations to Make Integers Zero
- 1612.Check If Two Expression Trees are Equivalent
- 1614.Maximum Nesting Depth of the Parentheses
- 1615.Maximal Network Rank
- 1616.Split Two Strings to Make Palindrome
- 1617.Count Subtrees With Max Distance Between Cities
- 1618.Maximum Font to Fit a Sentence in a Screen
- 1619.Mean of Array After Removing Some Elements
- 1620.Coordinate With Maximum Network Quality
- 1621.Number of Sets of K Non-Overlapping Line Segments
- 1624.Largest Substring Between Two Equal Characters
- 1625.Lexicographically Smallest String After Applying Operations
- 1626.Best Team With No Conflicts
- 1630.Arithmetic Subarrays
- 1632.Rank Transform of a Matrix
- 1634.Add Two Polynomials Represented as Linked Lists
- 1636.Sort Array by Increasing Frequency
- 1637.Widest Vertical Area Between Two Points Containing No Points
- 1638.Count Substrings That Differ by One Character
- 1639.Number of Ways to Form a Target String Given a Dictionary
- 1640.Check Array Formation Through Concatenation
- 1641.Count Sorted Vowel Strings
- 1642.Furthest Building You Can Reach
- 1643.Kth Smallest Instructions
- 1644.Lowest Common Ancestor of a Binary Tree II
- 1646.Get Maximum in Generated Array
- 1647.Minimum Deletions to Make Character Frequencies Unique
- 1648.Sell Diminishing-Valued Colored Balls
- 1649.Create Sorted Array through Instructions
- 1652.Defuse the Bomb
- 1653.Minimum Deletions to Make String Balanced
- 1654.Minimum Jumps to Reach Home
- 1655.Distribute Repeating Integers
- 1657.Determine if Two Strings Are Close
- 1658.Minimum Operations to Reduce X to Zero
- 1660.Correct a Binary Tree
- 1662.Check If Two String Arrays are Equivalent
- 1663.Smallest String With A Given Numeric Value
- 1664.Ways to Make a Fair Array
- 1665.Minimum Initial Energy to Finish Tasks
- 1666.Change the Root of a Binary Tree
- 1668.Maximum Repeating Substring
- 1669.Merge In Between Linked Lists
- 1670.Design Front Middle Back Queue
- 1671.Minimum Number of Removals to Make Mountain Array
- 1672.Richest Customer Wealth
- 1673.Find the Most Competitive Subsequence
- 1674.Minimum Moves to Make Array Complementary
- 1675.Minimize Deviation in Array
- 1678.Goal Parser Interpretation
- 1679.Max Number of K-Sum Pairs
- 1680.Concatenation of Consecutive Binary Numbers
- 1682.Longest Palindromic Subsequence II
- 1684.Count the Number of Consistent Strings
- 1685.Sum of Absolute Differences in a Sorted Array
- 1686.Stone Game VI
- 1687.Delivering Boxes from Storage to Ports
- 1688.Count of Matches in Tournament
- 1689.Partitioning Into Minimum Number Of Deci-Binary Numbers
- 1690.Stone Game VII
- 1691.Maximum Height by Stacking Cuboids
- 1692.Count Ways to Distribute Candies
- 1694.Reformat Phone Number
- 1695.Maximum Erasure Value
- 1696.Jump Game VI
- 1697.Checking Existence of Edge Length Limited Paths
- 1698.Number of Distinct Substrings in a String
- 1700-1799
- 1700.Number of Students Unable to Eat Lunch
- 1701.Average Waiting Time
- 1702.Maximum Binary String After Change
- 1703.Minimum Adjacent Swaps for K Consecutive Ones
- 1704.Determine if String Halves Are Alike
- 1705.Maximum Number of Eaten Apples
- 1708.Largest Subarray Length K
- 1710.Maximum Units on a Truck
- 1711.Count Good Meals
- 1712.Ways to Split Array Into Three Subarrays
- 1713.Minimum Operations to Make a Subsequence
- 1723.Find Minimum Time to Finish All Jobs
- 1726.Tuple with Same Product
- 1727.Largest Submatrix With Rearrangements
- 1730.Shortest Path to Get Food
- 1732.Find the Highest Altitude
- 1733.Minimum Number of People to Teach
- 1734.Decode XORed Permutation
- 1735.Count Ways to Make Array With Product
- 1736.Latest Time by Replacing Hidden Digits
- 1737.Change Minimum Characters to Satisfy One of Three Conditions
- 1739.Building Boxes
- 1742.Maximum Number of Balls in a Box
- 1743.Restore the Array From Adjacent Pairs
- 1744.Can You Eat Your Favorite Candy on Your Favorite Day
- 1745.Palindrome Partitioning IV
- 1746.Maximum Subarray Sum After One Operation
- 1748.Sum of Unique Elements
- 1749.Maximum Absolute Sum of Any Subarray
- 1750.Minimum Length of String After Deleting Similar Ends
- 1751.Maximum Number of Events That Can Be Attended II
- 1752.Check if Array Is Sorted and Rotated
- 1753.Maximum Score From Removing Stones
- 1754.Largest Merge Of Two Strings
- 1755.Closest Subsequence Sum
- 1756.Design Most Recently Used Queue
- 1758.Minimum Changes To Make Alternating Binary String
- 1759.Count Number of Homogenous Substrings
- 1760.Minimum Limit of Balls in a Bag
- 1761.Minimum Degree of a Connected Trio in a Graph
- 1762.Buildings With an Ocean View
- 1763.Longest Nice Substring
- 1764.Form Array by Concatenating Subarrays of Another Array
- 1765.Map of Highest Peak
- 1766.Tree of Coprimes
- 1768.Merge Strings Alternately
- 1769.Minimum Number of Operations to Move All Balls to Each Box
- 1770.Maximum Score from Performing Multiplication Operations
- 1771.Maximize Palindrome Length From Subsequences
- 1772.Sort Features by Popularity
- 1773.Count Items Matching a Rule
- 1774.Closest Dessert Cost
- 1775.Equal Sum Arrays With Minimum Number of Operations
- 1776.Car Fleet II
- 1779.Find Nearest Point That Has the Same X or Y Coordinate
- 1780.Check if Number is a Sum of Powers of Three
- 1781.Sum of Beauty of All Substrings
- 1782.Count Pairs Of Nodes
- 1784.Check if Binary String Has at Most One Segment of Ones
- 1785.Minimum Elements to Add to Form a Given Sum
- 1787.Make the XOR of All Segments Equal to Zero
- 1790.Check if One String Swap Can Make Strings Equal
- 1791.Find Center of Star Graph
- 1792.Maximum Average Pass Ratio
- 1793.Maximum Score of a Good Subarray
- 1794.Count Pairs of Equal Substrings With Minimum Difference
- 1796.Second Largest Digit in a String
- 1797.Design Authentication Manager
- 1798.Maximum Number of Consecutive Values You Can Make
- 1799.Maximize Score After N Operations
- 1800-1899
- 1800.Maximum Ascending Subarray Sum
- 1801.Number of Orders in the Backlog
- 1802.Maximum Value at a Given Index in a Bounded Array
- 1803.Count Pairs With XOR in a Range
- 1804.Implement Trie II (Prefix Tree)
- 1805.Number of Different Integers in a String
- 1806.Minimum Number of Operations to Reinitialize a Permutation
- 1807.Evaluate the Bracket Pairs of a String
- 1808.Maximize Number of Nice Divisors
- 1812.Determine Color of a Chessboard Square
- 1813.Sentence Similarity III
- 1814.Count Nice Pairs in an Array
- 1815.Maximum Number of Groups Getting Fresh Donuts
- 1816.Truncate Sentence
- 1817.Finding the Users Active Minutes
- 1818.Minimum Absolute Sum Difference
- 1819.Number of Different Subsequences GCDs
- 1820.Maximum Number of Accepted Invitations
- 1822.Sign of the Product of an Array
- 1824.Minimum Sideway Jumps
- 1825.Finding MK Average
- 1826.Faulty Sensor
- 1827.Minimum Operations to Make the Array Increasing
- 1828.Queries on Number of Points Inside a Circle
- 1829.Maximum XOR for Each Query
- 1830.Minimum Number of Operations to Make String Sorted
- 1832.Check if the Sentence Is Pangram
- 1833.Maximum Ice Cream Bars
- 1834.Single-Threaded CPU
- 1835.Find XOR Sum of All Pairs Bitwise AND
- 1836.Remove Duplicates From an Unsorted Linked List
- 1837.Sum of Digits in Base K
- 1838.Frequency of the Most Frequent Element
- 1839.Longest Substring Of All Vowels in Order
- 1840.Maximum Building Height
- 1844.Replace All Digits with Characters
- 1845.Seat Reservation Manager
- 1848.Minimum Distance to the Target Element
- 1849.Splitting a String Into Descending Consecutive Values
- 1852.Distinct Numbers in Each Subarray
- 1854.Maximum Population Year
- 1855.Maximum Distance Between a Pair of Values
- 1856.Maximum Subarray Min-Product
- 1857.Largest Color Value in a Directed Graph
- 1859.Sorting the Sentence
- 1860.Incremental Memory Leak
- 1861.Rotating the Box
- 1865.Finding Pairs With a Certain Sum
- 1866.Number of Ways to Rearrange Sticks With K Sticks Visible
- 1868.Product of Two Run-Length Encoded Arrays
- 1870.Minimum Speed to Arrive on Time
- 1872.Stone Game VIII
- 1887.Reduction Operations to Make the Array Elements Equal
- 1891.Cutting Ribbons
- 1893.Check if All the Integers in a Range Are Covered
- 1899.Merge Triplets to Form Target Triplet
- 1900-1999
- 1907.Count Salary Categories
- 1911.Maximum Alternating Subsequence Sum
- 1918.Kth Smallest Subarray Sum
- 1921.Eliminate Maximum Number of Monsters
- 1930.Unique Length-3 Palindromic Subsequences
- 1933.Check if String Is Decomposable Into Value-Equal Substrings
- 1945.Sum of Digits of String After Convert
- 1946.Largest Number After Mutating Substring
- 1947.Maximum Compatibility Score Sum
- 1950.Maximum of Minimum Values in All Subarrays
- 1952.Three Divisors
- 1964.Find the Longest Valid Obstacle Course at Each Position
- 1966.Binary Searchable Numbers in an Unsorted Array
- 1967.Number of Strings That Appear as Substrings in Word
- 1971.Find if Path Exists in Graph
- 1973.Count Nodes Equal to Sum of Descendants
- 1975.Maximum Matrix Sum
- 1976.Number of Ways to Arrive at Destination
- 1977.Number of Ways to Separate Numbers
- 1978.Employees Whose Manager Left the Company
- 1979.Find Greatest Common Divisor of Array
- 1980.Find Unique Binary String
- 1981.Minimize the Difference Between Target and Chosen Elements
- 1983.Widest Pair of Indices With Equal Range Sum
- 1989.Maximum Number of People That Can Be Caught in Tag
- 1991.Find the Middle Index in Array
- 1994.The Number of Good Subsets
- 1996.The Number of Weak Characters in the Game
- 1997.First Day Where You Have Been in All the Rooms
- 1999.Smallest Greater Multiple Made of Two Digits
- 2000-2099
- 2000.Reverse Prefix of Word
- 2001.Number of Pairs of Interchangeable Rectangles
- 2002.Maximum Product of the Length of Two Palindromic Subsequences
- 2006.Count Number of Pairs With Absolute Difference K
- 2007.Find Original Array From Doubled Array
- 2008.Maximum Earnings From Taxi
- 2009.Minimum Number of Operations to Make Array Continuous
- 2011.Final Value of Variable After Performing Operations
- 2013.Detect Squares
- 2015.Average Height of Buildings in Each Segment
- 2016.Maximum Difference Between Increasing Elements
- 2017.Grid Game
- 2018.Check if Word Can Be Placed In Crossword
- 2021.Brightest Position on Street
- 2022.Convert 1D Array Into 2D Array
- 2023.Number of Pairs of Strings With Concatenation Equal to Target
- 2025.Maximum Number of Ways to Partition an Array
- 2027.Minimum Moves to Convert String
- 2028.Find Missing Observations
- 2031.Count Subarrays With More Ones Than Zeros
- 2032.Two Out of Three
- 2033.Minimum Operations to Make a Uni-Value Grid
- 2036.Maximum Alternating Subarray Sum
- 2037.Minimum Number of Moves to Seat Everyone
- 2038.Remove Colored Pieces if Both Neighbors are the Same Color
- 2042.Check if Numbers Are Ascending in a Sentence
- 2043.Simple Bank System
- 2044.Count Number of Maximum Bitwise-OR Subsets
- 2050.Parallel Courses III
- 2054.Two Best Non-Overlapping Events
- 2061.Number of Spaces Cleaning Robot Cleaned
- 2062.Count Vowel Substrings of a String
- 2063.Vowels of All Substrings
- 2064.Minimized Maximum of Products Distributed to Any Store
- 2067.Number of Equal Count Substrings
- 2068.Check Whether Two Strings are Almost Equivalent
- 2071.Maximum Number of Tasks You Can Assign
- 2077.Paths in Maze That Lead to Same Room
- 2078.Two Furthest Houses With Different Colors
- 2083.Substrings That Begin and End With the Same Letter
- 2085.Count Common Words With One Occurrence
- 2086.Minimum Number of Food Buckets to Feed the Hamsters
- 2087.Minimum Cost Homecoming of a Robot in a Grid
- 2088.Count Fertile Pyramids in a Land
- 2089.Find Target Indices After Sorting Array
- 2090.K Radius Subarray Averages
- 2098.Subsequence of Size K With the Largest Even Sum
- 2100-2199
- 2104.Sum of Subarray Ranges
- 2106.Maximum Fruits Harvested After at Most K Steps
- 2107.Number of Unique Flavors After Sharing K Candies
- 2108.Find First Palindromic String in the Array
- 2109.Adding Spaces to a String
- 2110.Number of Smooth Descent Periods of a Stock
- 2113.Elements in Array After Removing and Replacing Elements
- 2114.Maximum Number of Words Found in Sentences
- 2116.Check if a Parentheses String Can Be Valid
- 2124.Check if All A's Appears Before All B's
- 2127.Maximum Employees to Be Invited to a Meeting
- 2129.Capitalize the Title
- 2130.Maximum Twin Sum of a Linked List
- 2131.Longest Palindrome by Concatenating Two Letter Words
- 2136.Earliest Possible Day of Full Bloom
- 2140.Solving Questions With Brainpower
- 2147.Number of Ways to Divide a Long Corridor
- 2151.Maximum Good People Based on Statements
- 2152.Minimum Number of Lines to Cover Points
- 2179.Count Good Triplets in an Array
- 2180.Count Integers With Even Digit Sum
- 2185.Counting Words With a Given Prefix
- 2193.Minimum Number of Moves to Make Palindrome
- 2200-2299
- 2203.Minimum Weighted Subgraph With the Required Paths
- 2209.Minimum White Tiles After Covering With Carpets
- 2214.Minimum Health to Beat Game
- 2218.Maximum Value of K Coins From Piles
- 2222.Number of Ways to Select Buildings
- 2226.Maximum Candies Allocated to K Children
- 2233.Maximum Product After K Increments
- 2237.Count Positions on Street With Required Brightness
- 2240.Number of Ways to Buy Pens and Pencils
- 2241.Design an ATM Machine
- 2242.Maximum Score of a Node Sequence
- 2243.Calculate Digit Sum of a String
- 2244.Minimum Rounds to Complete All Tasks
- 2245.Maximum Trailing Zeros in a Cornered Path
- 2248.Intersection of Multiple Arrays
- 2249.Count Lattice Points Inside a Circle
- 2257.Count Unguarded Cells in the Grid
- 2259.Remove Digit From Number to Maximize Result
- 2260.Minimum Consecutive Cards to Pick Up
- 2261.K Divisible Elements Subarrays
- 2263.Make Array Non-decreasing or Non-increasing
- 2271.Maximum White Tiles Covered by a Carpet
- 2272.Substring With Largest Variance
- 2283.Check if Number Has Equal Digit Count and Digit Value
- 2284.Sender With Largest Word Count
- 2285.Maximum Total Importance of Roads
- 2286.Booking Concert Tickets in Groups
- 2287.Rearrange Characters to Make Target String
- 2288.Apply Discount to Prices
- 2290.Minimum Obstacle Removal to Reach Corner
- 2291.Maximum Profit From Trading Stocks
- 2293.Min Max Game
- 2294.Partition Array Such That Maximum Difference Is K
- 2295.Replace Elements in an Array
- 2296.Design a Text Editor
- 2299.Strong Password Checker II
- 2300-2399
- 2300.Successful Pairs of Spells and Potions
- 2301.Match Substring After Replacement
- 2302.Count Subarrays With Score Less Than K
- 2303.Calculate Amount Paid in Taxes
- 2304.Minimum Path Cost in a Grid
- 2305.Fair Distribution of Cookies
- 2306.Naming a Company
- 2309.Greatest English Letter in Upper and Lower Case
- 2310.Sum of Numbers With Units Digit K
- 2311.Longest Binary Subsequence Less Than or Equal to K
- 2312.Selling Pieces of Wood
- 2315.Count Asterisks
- 2316.Count Unreachable Pairs of Nodes in an Undirected Graph
- 2317.Maximum XOR After Operations
- 2318.Number of Distinct Roll Sequences
- 2319.Check if Matrix Is X-Matrix
- 2320.Count Number of Ways to Place Houses
- 2322.Minimum Score After Removals on a Tree
- 2325.Decode the Message
- 2327.Number of People Aware of a Secret
- 2328.Number of Increasing Paths in a Grid
- 2330.Valid Palindrome IV
- 2331.Evaluate Boolean Binary Tree
- 2332.The Latest Time to Catch a Bus
- 2334.Subarray With Elements Greater Than Varying Threshold
- 2335.Minimum Amount of Time to Fill Cups
- 2337.Move Pieces to Obtain a String
- 2338.Count the Number of Ideal Arrays
- 2340.Minimum Adjacent Swaps to Make a Valid Array
- 2341.Maximum Number of Pairs in Array
- 2342.Max Sum of a Pair With Equal Sum of Digits
- 2343.Query Kth Smallest Trimmed Number
- 2344.Minimum Deletions to Make Array Divisible
- 2345.Finding the Number of Visible Mountains
- 2347.Best Poker Hand
- 2348.Number of Zero-Filled Subarrays
- 2350.Shortest Impossible Sequence of Rolls
- 2351.First Letter to Appear Twice
- 2352.Equal Row and Column Pairs
- 2355.Maximum Number of Books You Can Take
- 2357.Make Array Zero by Subtracting Equal Amounts
- 2358.Maximum Number of Groups Entering a Competition
- 2359.Find Closest Node to Given Two Nodes
- 2360.Longest Cycle in a Graph
- 2362.Generate the Invoice
- 2363.Merge Similar Items
- 2364.Count Number of Bad Pairs
- 2365.Task Scheduler II
- 2366.Minimum Replacements to Sort the Array
- 2367.Number of Arithmetic Triplets
- 2368.Reachable Nodes With Restrictions
- 2369.Check if There is a Valid Partition For The Array
- 2370.Longest Ideal Subsequence
- 2371.Minimize Maximum Value in a Grid
- 2373.Largest Local Values in a Matrix
- 2374.Node With Highest Edge Score
- 2375.Construct Smallest Number From DI String
- 2376.Count Special Integers
- 2378.Choose Edges to Maximize Score in a Tree
- 2379.Minimum Recolors to Get K Consecutive Black Blocks
- 2380.Time Needed to Rearrange a Binary String
- 2381.Shifting Letters II
- 2382.Maximum Segment Sum After Removals
- 2383.Minimum Hours of Training to Win a Competition
- 2384.Largest Palindromic Number
- 2385.Amount of Time for Binary Tree to Be Infected
- 2386.Find the K-Sum of an Array
- 2387.Median of a Row Wise Sorted Matrix
- 2389.Longest Subsequence With Limited Sum
- 2390.Removing Stars From a String
- 2391.Minimum Amount of Time to Collect Garbage
- 2392.Build a Matrix With Conditions
- 2393.Count Strictly Increasing Subarrays
- 2395.Find Subarrays With Equal Sum
- 2396.Strictly Palindromic Number
- 2397.Maximum Rows Covered by Columns
- 2398.Maximum Number of Robots Within Budget
- 2399.Check Distances Between Same Letters
- 2400-2499
- 2400.Number of Ways to Reach a Position After Exactly k Steps
- 2401.Longest Nice Subarray
- 2402.Meeting Rooms III
- 2403.Minimum Time to Kill All Monsters
- 2404.Most Frequent Even Element
- 2405.Optimal Partition of String
- 2406.Divide Intervals Into Minimum Number of Groups
- 2407.Longest Increasing Subsequence II
- 2408.Design SQL
- 2409.Count Days Spent Together
- 2410.Maximum Matching of Players With Trainers
- 2411.Smallest Subarrays With Maximum Bitwise OR
- 2412.Minimum Money Required Before Transactions
- 2413.Smallest Even Multiple
- 2414.Length of the Longest Alphabetical Continuous Substring
- 2415.Reverse Odd Levels of Binary Tree
- 2416.Sum of Prefix Scores of Strings
- 2417.Closest Fair Integer
- 2418.Sort the People
- 2419.Longest Subarray With Maximum Bitwise AND
- 2420.Find All Good Indices
- 2421.Number of Good Paths
- 2422.Merge Operations to Turn Array Into a Palindrome
- 2423.Remove Letter To Equalize Frequency
- 2424.Longest Uploaded Prefix
- 2425.Bitwise XOR of All Pairings
- 2426.Number of Pairs Satisfying Inequality
- 2427.Number of Common Factors
- 2428.Maximum Sum of an Hourglass
- 2429.Minimize XOR
- 2430.Maximum Deletions on a String
- 2431.Maximize Total Tastiness of Purchased Fruits
- 2432.The Employee That Worked on the Longest Task
- 2433.Find The Original Array of Prefix Xor
- 2434.Using a Robot to Print the Lexicographically Smallest String
- 2435.Paths in Matrix Whose Sum Is Divisible by K
- 2436.Minimum Split Into Subarrays With GCD Greater Than One
- 2437.Number of Valid Clock Times
- 2438.Range Product Queries of Powers
- 2439.Minimize Maximum of Array
- 2440.Create Components With Same Value
- 2441.Largest Positive Integer That Exists With Its Negative
- 2442.Count Number of Distinct Integers After Reverse Operations
- 2443.Sum of Number and Its Reverse
- 2444.Count Subarrays With Fixed Bounds
- 2445.Number of Nodes With Value One
- 2446.Determine if Two Events Have Conflict
- 2447.Number of Subarrays With GCD Equal to K
- 2448.Minimum Cost to Make Array Equal
- 2449.Minimum Number of Operations to Make Arrays Similar
- 2450.Number of Distinct Binary Strings After Applying Operations
- 2451.Odd String Difference
- 2452.Words Within Two Edits of Dictionary
- 2453.Destroy Sequential Targets
- 2454.Next Greater Element IV
- 2455.Average Value of Even Numbers That Are Divisible by Three
- 2456.Most Popular Video Creator
- 2457.Minimum Addition to Make Integer Beautiful
- 2458.Height of Binary Tree After Subtree Removal Queries
- 2459.Sort Array by Moving Items to Empty Space
- 2460.Apply Operations to an Array
- 2461.Maximum Sum of Distinct Subarrays With Length K
- 2462.Total Cost to Hire K Workers
- 2463.Minimum Total Distance Traveled
- 2464.Minimum Subarrays in a Valid Split
- 2465.Number of Distinct Averages
- 2466.Count Ways To Build Good Strings
- 2467.Most Profitable Path in a Tree
- 2468.Split Message Based on Limit
- 2469.Convert the Temperature
- 2470.Number of Subarrays With LCM Equal to K
- 2471.Minimum Number of Operations to Sort a Binary Tree by Level
- 2472.Maximum Number of Non-overlapping Palindrome Substrings
- 2473.Minimum Cost to Buy Apples
- 2475.Number of Unequal Triplets in Array
- 2476.Closest Nodes Queries in a Binary Search Tree
- 2477.Minimum Fuel Cost to Report to the Capital
- 2478.Number of Beautiful Partitions
- 2479.Maximum XOR of Two Non-Overlapping Subtrees
- 2481.Minimum Cuts to Divide a Circle
- 2482.Difference Between Ones and Zeros in Row and Column
- 2483.Minimum Penalty for a Shop
- 2484.Count Palindromic Subsequences
- 2485.Find the Pivot Integer
- 2486.Append Characters to String to Make Subsequence
- 2487.Remove Nodes From Linked List
- 2488.Count Subarrays With Median K
- 2489.Number of Substrings With Fixed Ratio
- 2490.Circular Sentence
- 2491.Divide Players Into Teams of Equal Skill
- 2492.Minimum Score of a Path Between Two Cities
- 2493.Divide Nodes Into the Maximum Number of Groups
- 2495.Number of Subarrays Having Even Product
- 2496.Maximum Value of a String in an Array
- 2497.Maximum Star Sum of a Graph
- 2498.Frog Jump II
- 2499.Minimum Total Cost to Make Arrays Unequal
- 2500-2599
- 2500.Delete Greatest Value in Each Row
- 2501.Longest Square Streak in an Array
- 2502.Design Memory Allocator
- 2503.Maximum Number of Points From Grid Queries
- 2505.Bitwise OR of All Subsequence Sums
- 2506.Count Pairs Of Similar Strings
- 2507.Smallest Value After Replacing With Sum of Prime Factors
- 2508.Add Edges to Make Degrees of All Nodes Even
- 2509.Cycle Length Queries in a Tree
- 2510.Check if There is a Path With Equal Number of 0's And 1's
- 2511.Maximum Enemy Forts That Can Be Captured
- 2515.Shortest Distance to Target String in a Circular Array
- 2516.Take K of Each Character From Left and Right
- 2517.Maximum Tastiness of Candy Basket
- 2518.Number of Great Partitions
- 2519.Count the Number of K-Big Indices
- 2520.Count the Digits That Divide a Number
- 2521.Distinct Prime Factors of Product of Array
- 2522.Partition String Into Substrings With Values at Most K
- 2523.Closest Prime Numbers in Range
- 2524.Maximum Frequency Score of a Subarray
- 2525.Categorize Box According to Criteria
- 2526.Find Consecutive Integers from a Data Stream
- 2527.Find Xor-Beauty of Array
- 2528.Maximize the Minimum Powered City
- 2529.Maximum Count of Positive Integer and Negative Integer
- 2530.Maximal Score After Applying K Operations
- 2531.Make Number of Distinct Characters Equal
- 2532.Time to Cross a Bridge
- 2533.Number of Good Binary Strings
- 2535.Difference Between Element Sum and Digit Sum of an Array
- 2536.Increment Submatrices by One
- 2537.Count the Number of Good Subarrays
- 2538.Difference Between Maximum and Minimum Price Sum
- 2539.Count the Number of Good Subsequences
- 2540.Minimum Common Value
- 2541.Minimum Operations to Make Array Equal II
- 2542.Maximum Subsequence Score
- 2543.Check if Point Is Reachable
- 2544.Alternating Digit Sum
- 2545.Sort the Students by Their Kth Score
- 2546.Apply Bitwise Operations to Make Strings Equal
- 2547.Minimum Cost to Split an Array
- 2548.Maximum Price to Fill a Bag
- 2549.Count Distinct Numbers on Board
- 2550.Count Collisions of Monkeys on a Polygon
- 2551.Put Marbles in Bags
- 2552.Count Increasing Quadruplets
- 2553.Separate the Digits in an Array
- 2554.Maximum Number of Integers to Choose From a Range I
- 2555.Maximize Win From Two Segments
- 2556.Disconnect Path in a Binary Matrix by at Most One Flip
- 2557.Maximum Number of Integers to Choose From a Range II
- 2558.Take Gifts From the Richest Pile
- 2559.Count Vowel Strings in Ranges
- 2560.House Robber IV
- 2561.Rearranging Fruits
- 2562.Find the Array Concatenation Value
- 2563.Count the Number of Fair Pairs
- 2564.Substring XOR Queries
- 2565.Subsequence With the Minimum Score
- 2566.Maximum Difference by Remapping a Digit
- 2567.Minimum Score by Changing Two Elements
- 2568.Minimum Impossible OR
- 2569.Handling Sum Queries After Update
- 2570.Merge Two 2D Arrays by Summing Values
- 2571.Minimum Operations to Reduce an Integer to 0
- 2572.Count the Number of Square-Free Subsets
- 2573.Find the String with LCP
- 2574.Left and Right Sum Differences
- 2575.Find the Divisibility Array of a String
- 2576.Find the Maximum Number of Marked Indices
- 2577.Minimum Time to Visit a Cell In a Grid
- 2578.Split With Minimum Sum
- 2579.Count Total Number of Colored Cells
- 2580.Count Ways to Group Overlapping Ranges
- 2581.Count Number of Possible Root Nodes
- 2582.Pass the Pillow
- 2583.Kth Largest Sum in a Binary Tree
- 2585.Number of Ways to Earn Points
- 2586.Count the Number of Vowel Strings in Range
- 2587.Rearrange Array to Maximize Prefix Score
- 2588.Count the Number of Beautiful Subarrays
- 2589.Minimum Time to Complete All Tasks
- 2590.Design a Todo List
- 2591.Distribute Money to Maximum Children
- 2592.Maximize Greatness of an Array
- 2593.Find Score of an Array After Marking All Elements
- 2594.Minimum Time to Repair Cars
- 2595.Number of Even and Odd Bits
- 2596.Check Knight Tour Configuration
- 2597.The Number of Beautiful Subsets
- 2598.Smallest Missing Non-negative Integer After Operations
- 2599.Make the Prefix Sum Non-negative
- 2600-2699
- 2600.K Items With the Maximum Sum
- 2601.Prime Subtraction Operation
- 2602.Minimum Operations to Make All Array Elements Equal
- 2603.Collect Coins in a Tree
- 2604.Minimum Time to Eat All Grains
- 2605.Form Smallest Number From Two Digit Arrays
- 2606.Find the Substring With Maximum Cost
- 2607.Make K-Subarray Sums Equal
- 2608.Shortest Cycle in a Graph
- 2609.Find the Longest Balanced Substring of a Binary String
- 2610.Convert an Array Into a 2D Array With Conditions
- 2611.Mice and Cheese
- 2612.Minimum Reverse Operations
- 2613.Beautiful Pairs
- 2614.Prime In Diagonal
- 2615.Sum of Distances
- 2616.Minimize the Maximum Difference of Pairs
- 2617.Minimum Number of Visited Cells in a Grid
- 2622.Cache With Time Limit
- 2623.Memoize
- 2624.Snail Traversal
- 2625.Flatten Deeply Nested Array
- 2628.JSON Deep Equal
- 2630.Memoize II
- 2634.Filter Elements from Array
- 2635.Apply Transform Over Each Element in Array
- 2638.Count the Number of K-Free Subsets
- 2639.Find the Width of Columns of a Grid
- 2640.Find the Score of All Prefixes of an Array
- 2641.Cousins in Binary Tree II
- 2642.Design Graph With Shortest Path Calculator
- 2643.Row With Maximum Ones
- 2644.Find the Maximum Divisibility Score
- 2645.Minimum Additions to Make Valid String
- 2646.Minimize the Total Price of the Trips
- 2647.Color the Triangle Red
- 2650.Design Cancellable Function
- 2651.Calculate Delayed Arrival Time
- 2652.Sum Multiples
- 2653.Sliding Subarray Beauty
- 2654.Minimum Number of Operations to Make All Array Elements Equal to 1
- 2655.Find Maximal Uncovered Ranges
- 2656.Maximum Sum With Exactly K Elements
- 2657.Find the Prefix Common Array of Two Arrays
- 2658.Maximum Number of Fish in a Grid
- 2659.Make Array Empty
- 2660.Determine the Winner of a Bowling Game
- 2661.First Completely Painted Row or Column
- 2662.Minimum Cost of a Path With Special Roads
- 2663.Lexicographically Smallest Beautiful String
- 2664.The Knight’s Tour
- 2674.Split a Circular Linked List
- 2678.Number of Senior Citizens
- 2679.Sum in a Matrix
- 2680.Maximum OR
- 2681.Power of Heroes
- 2682.Find the Losers of the Circular Game
- 2683.Neighboring Bitwise XOR
- 2684.Maximum Number of Moves in a Grid
- 2685.Count the Number of Complete Components
- 2689.Extract Kth Character From The Rope Tree
- 2692.Make Object Immutable
- 2693.Call Function with Custom Context
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,711 files changed
+139626
-6678
lines changedLines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 |
| - | |
| 30 | + | |
| 31 | + | |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
|
Lines changed: 14 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
| |||
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
26 |
| - | |
27 |
| - | |
28 |
| - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
| |||
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
50 |
| - | |
| 51 | + | |
51 | 52 |
| |
52 | 53 |
| |
| 54 | + | |
| 55 | + | |
| 56 | + | |
53 | 57 |
| |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
59 | 64 |
| |
60 | 65 |
| |
61 | 66 |
| |
|
0 commit comments