File tree
4,441 files changed
+225488
-78612
lines changed- .github/workflows
- images
- lcci
- 04.01.Route Between Nodes
- 04.02.Minimum Height Tree
- 08.01.Three Steps Problem
- lcof2
- 剑指 Offer II 057. 值和下标之差都在给定的范围内
- 剑指 Offer II 058. 日程表
- 剑指 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
- 面试题11. 旋转数组的最小数字
- 面试题20. 表示数值的字符串
- 面试题26. 树的子结构
- 面试题44. 数字序列中某一位的数字
- 面试题46. 把数字翻译成字符串
- 面试题67. 把字符串转换成整数
- lcp
- LCP 01. 猜数字
- LCP 02. 分式化简
- LCP 03. 机器人大冒险
- LCP 05. 发 LeetCoin
- LCP 06. 拿硬币
- LCP 07. 传递信息
- LCP 08. 剧情触发时间
- LCP 09. 最小跳跃次数
- LCP 10. 二叉树任务调度
- LCP 11. 期望个数统计
- LCP 12. 小张刷题计划
- LCP 17. 速算机器人
- LCP 18. 早餐组合
- LCP 19. 秋叶收藏集
- LCP 22. 黑白方格画
- LCP 24. 数字游戏
- LCP 25. 古董键盘
- LCP 28. 采购方案
- LCP 33. 蓄水
- LCP 34. 二叉树染色
- LCP 39. 无人机方阵
- LCP 40. 心算挑战
- LCP 41. 黑白翻转棋
- LCP 44. 开幕式焰火
- LCP 50. 宝石补给
- LCP 51. 烹饪料理
- LCP 52. 二叉搜索树染色
- LCP 55. 采集果实
- LCP 56. 信物传送
- LCP 61. 气温变化趋势
- LCP 62. 交通枢纽
- LCP 63. 弹珠游戏
- LCP 64. 二叉树灯饰
- LCP 66. 最小展台数量
- solution
- 0000-0099
- 0001.Two Sum
- 0003.Longest Substring Without Repeating Characters
- 0008.String to Integer (atoi)
- 0011.Container With Most Water
- 0014.Longest Common Prefix
- 0019.Remove Nth Node From End of List
- 0020.Valid Parentheses
- 0023.Merge k Sorted Lists
- 0024.Swap Nodes in Pairs
- 0025.Reverse Nodes in k-Group
- 0026.Remove Duplicates from Sorted Array
- 0030.Substring with Concatenation of All Words
- 0034.Find First and Last Position of Element in Sorted Array
- 0039.Combination Sum
- 0041.First Missing Positive
- 0043.Multiply Strings
- 0045.Jump Game II
- 0046.Permutations
- 0048.Rotate Image
- 0049.Group Anagrams
- 0053.Maximum Subarray
- 0054.Spiral Matrix
- 0056.Merge Intervals
- 0063.Unique Paths II
- 0066.Plus One
- 0070.Climbing Stairs
- 0071.Simplify Path
- 0073.Set Matrix Zeroes
- 0076.Minimum Window Substring
- 0078.Subsets
- 0079.Word Search
- 0081.Search in Rotated Sorted Array II
- 0086.Partition List
- 0094.Binary Tree Inorder Traversal
- images
- 0100-0199
- 0101.Symmetric Tree
- 0108.Convert Sorted Array to Binary Search Tree
- 0112.Path Sum
- 0119.Pascal's Triangle II
- 0128.Longest Consecutive Sequence
- 0130.Surrounded Regions
- 0131.Palindrome Partitioning
- 0134.Gas Station
- 0136.Single Number
- 0138.Copy List with Random Pointer
- 0144.Binary Tree Preorder Traversal
- images
- 0145.Binary Tree Postorder Traversal
- images
- 0146.LRU Cache
- 0148.Sort List
- 0151.Reverse Words in a String
- 0152.Maximum Product Subarray
- 0153.Find Minimum in Rotated Sorted Array
- 0160.Intersection of Two Linked Lists
- 0168.Excel Sheet Column Title
- 0176.Second Highest Salary
- 0179.Largest Number
- 0180.Consecutive Numbers
- 0181.Employees Earning More Than Their Managers
- 0185.Department Top Three Salaries
- 0189.Rotate Array
- 0191.Number of 1 Bits
- 0197.Rising Temperature
- 0198.House Robber
- 0199.Binary Tree Right Side View
- images
- 0200-0299
- 0205.Isomorphic Strings
- 0207.Course Schedule
- 0209.Minimum Size Subarray Sum
- 0217.Contains Duplicate
- 0219.Contains Duplicate II
- 0220.Contains Duplicate III
- 0222.Count Complete Tree Nodes
- 0225.Implement Stack using Queues
- 0226.Invert Binary Tree
- 0233.Number of Digit One
- 0238.Product of Array Except Self
- 0239.Sliding Window Maximum
- 0240.Search a 2D Matrix II
- 0241.Different Ways to Add Parentheses
- 0242.Valid Anagram
- 0258.Add Digits
- 0259.3Sum Smaller
- 0263.Ugly Number
- 0268.Missing Number
- 0277.Find the Celebrity
- 0283.Move Zeroes
- 0287.Find the Duplicate Number
- 0289.Game of Life
- 0290.Word Pattern
- 0297.Serialize and Deserialize Binary Tree
- 0300-0399
- 0303.Range Sum Query - Immutable
- 0304.Range Sum Query 2D - Immutable
- 0308.Range Sum Query 2D - Mutable
- 0314.Binary Tree Vertical Order Traversal
- images
- 0321.Create Maximum Number
- 0332.Reconstruct Itinerary
- 0341.Flatten Nested List Iterator
- 0345.Reverse Vowels of a String
- 0352.Data Stream as Disjoint Intervals
- 0354.Russian Doll Envelopes
- 0355.Design Twitter
- 0357.Count Numbers with Unique Digits
- 0363.Max Sum of Rectangle No Larger Than K
- 0364.Nested List Weight Sum II
- 0370.Range Addition
- 0384.Shuffle an Array
- 0387.First Unique Character in a String
- 0400-0499
- 0405.Convert a Number to Hexadecimal
- 0410.Split Array Largest Sum
- 0411.Minimum Unique Word Abbreviation
- 0413.Arithmetic Slices
- 0415.Add Strings
- 0428.Serialize and Deserialize N-ary Tree
- images
- 0431.Encode N-ary Tree to Binary Tree
- 0435.Non-overlapping Intervals
- 0436.Find Right Interval
- 0438.Find All Anagrams in a String
- 0439.Ternary Expression Parser
- 0442.Find All Duplicates in an Array
- 0451.Sort Characters By Frequency
- 0453.Minimum Moves to Equal Array Elements
- 0455.Assign Cookies
- 0459.Repeated Substring Pattern
- 0461.Hamming Distance
- 0462.Minimum Moves to Equal Array Elements II
- 0476.Number Complement
- 0480.Sliding Window Median
- 0490.The Maze
- 0496.Next Greater Element I
- 0500-0599
- 0500.Keyboard Row
- 0506.Relative Ranks
- 0507.Perfect Number
- 0508.Most Frequent Subtree Sum
- 0509.Fibonacci Number
- 0515.Find Largest Value in Each Tree Row
- 0530.Minimum Absolute Difference in BST
- 0536.Construct Binary Tree from String
- 0540.Single Element in a Sorted Array
- 0542.01 Matrix
- 0543.Diameter of Binary Tree
- 0545.Boundary of Binary Tree
- 0547.Number of Provinces
- 0552.Student Attendance Record II
- 0554.Brick Wall
- images
- 0555.Split Concatenated Strings
- 0557.Reverse Words in a String III
- 0559.Maximum Depth of N-ary Tree
- 0562.Longest Line of Consecutive One in Matrix
- 0563.Binary Tree Tilt
- 0564.Find the Closest Palindrome
- 0566.Reshape the Matrix
- 0567.Permutation in String
- 0572.Subtree of Another Tree
- images
- 0573.Squirrel Simulation
- 0576.Out of Boundary Paths
- 0583.Delete Operation for Two Strings
- 0588.Design In-Memory File System
- 0592.Fraction Addition and Subtraction
- 0593.Valid Square
- 0594.Longest Harmonious Subsequence
- 0596.Classes More Than 5 Students
- 0600-0699
- 0600.Non-negative Integers without Consecutive Ones
- 0608.Tree Node
- 0621.Task Scheduler
- 0622.Design Circular Queue
- 0626.Exchange Seats
- 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
- 0636.Exclusive Time of Functions
- 0640.Solve the Equation
- 0646.Maximum Length of Pair Chain
- 0649.Dota2 Senate
- 0658.Find K Closest Elements
- 0661.Image Smoother
- 0666.Path Sum IV
- 0670.Maximum Swap
- 0673.Number of Longest Increasing Subsequence
- 0684.Redundant Connection
- 0685.Redundant Connection II
- 0687.Longest Univalue Path
- 0688.Knight Probability in Chessboard
- 0689.Maximum Sum of 3 Non-Overlapping Subarrays
- 0690.Employee Importance
- 0692.Top K Frequent Words
- 0698.Partition to K Equal Sum Subsets
- 0700-0799
- 0703.Kth Largest Element in a Stream
- 0705.Design HashSet
- 0713.Subarray Product Less Than K
- 0716.Max Stack
- 0727.Minimum Window Subsequence
- 0728.Self Dividing Numbers
- 0729.My Calendar I
- 0731.My Calendar II
- 0732.My Calendar III
- 0733.Flood Fill
- 0735.Asteroid Collision
- 0739.Daily Temperatures
- 0743.Network Delay Time
- 0746.Min Cost Climbing Stairs
- 0753.Cracking the Safe
- 0754.Reach a Number
- 0755.Pour Water
- 0769.Max Chunks To Make Sorted
- 0772.Basic Calculator III
- 0773.Sliding Puzzle
- 0777.Swap Adjacent in LR String
- 0782.Transform to Chessboard
- 0783.Minimum Distance Between BST Nodes
- 0788.Rotated Digits
- 0791.Custom Sort String
- 0800-0899
- 0805.Split Array With Same Average
- 0808.Soup Servings
- 0809.Expressive Words
- 0810.Chalkboard XOR Game
- 0813.Largest Sum of Averages
- 0815.Bus Routes
- 0825.Friends Of Appropriate Ages
- 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
- 0835.Image Overlap
- 0836.Rectangle Overlap
- 0840.Magic Squares In Grid
- 0846.Hand of Straights
- 0850.Rectangle Area II
- 0855.Exam Room
- 0862.Shortest Subarray with Sum at Least K
- 0864.Shortest Path to Get All Keys
- 0865.Smallest Subtree with all the Deepest Nodes
- 0867.Transpose Matrix
- 0868.Binary Gap
- 0871.Minimum Number of Refueling Stops
- 0874.Walking Robot Simulation
- 0877.Stone Game
- 0884.Uncommon Words from Two Sentences
- 0885.Spiral Matrix III
- 0887.Super Egg Drop
- 0896.Monotonic Array
- 0900-0999
- 0902.Numbers At Most N Given Digit Set
- 0906.Super Palindromes
- 0908.Smallest Range I
- 0909.Snakes and Ladders
- 0912.Sort an Array
- 0916.Word Subsets
- 0921.Minimum Add to Make Parentheses Valid
- 0929.Unique Email Addresses
- 0931.Minimum Falling Path Sum
- images
- 0935.Knight Dialer
- 0945.Minimum Increment to Make Array Unique
- 0947.Most Stones Removed with Same Row or Column
- 0951.Flip Equivalent Binary Trees
- 0962.Maximum Width Ramp
- 0965.Univalued Binary Tree
- 0966.Vowel Spellchecker
- 0967.Numbers With Same Consecutive Differences
- 0968.Binary Tree Cameras
- 0971.Flip Binary Tree To Match Preorder Traversal
- 0974.Subarray Sums Divisible by K
- 0975.Odd Even Jump
- 0977.Squares of a Sorted Array
- 0978.Longest Turbulent Subarray
- 0986.Interval List Intersections
- 0994.Rotting Oranges
- 0999.Available Captures for Rook
- 1000-1099
- 1004.Max Consecutive Ones III
- 1005.Maximize Sum Of Array After K Negations
- 1008.Construct Binary Search Tree from Preorder Traversal
- 1009.Complement of Base 10 Integer
- 1012.Numbers With Repeated Digits
- 1013.Partition Array Into Three Parts With Equal Sum
- 1014.Best Sightseeing Pair
- 1018.Binary Prefix Divisible By 5
- 1020.Number of Enclaves
- 1023.Camelcase Matching
- 1028.Recover a Tree From Preorder Traversal
- images
- 1030.Matrix Cells in Distance Order
- 1039.Minimum Score Triangulation of Polygon
- 1040.Moving Stones Until Consecutive II
- 1047.Remove All Adjacent Duplicates In String
- 1052.Grumpy Bookstore Owner
- 1055.Shortest Way to Form String
- 1078.Occurrences After Bigram
- 1084.Sales Analysis III
- 1095.Find in Mountain Array
- 1100-1199
- 1120.Maximum Average Subtree
- 1137.N-th Tribonacci Number
- 1140.Stone Game II
- 1152.Analyze User Website Visit Pattern
- 1154.Day of the Year
- 1160.Find Words That Can Be Formed by Characters
- 1172.Dinner Plate Stacks
- 1183.Maximum Number of Ones
- 1184.Distance Between Bus Stops
- 1189.Maximum Number of Balloons
- 1200-1299
- 1204.Last Person to Fit in the Bus
- 1207.Unique Number of Occurrences
- 1209.Remove All Adjacent Duplicates in String II
- 1211.Queries Quality and Percentage
- 1215.Stepping Numbers
- 1217.Minimum Cost to Move Chips to The Same Position
- 1218.Longest Arithmetic Subsequence of Given Difference
- 1220.Count Vowels Permutation
- 1227.Airplane Seat Assignment Probability
- 1228.Missing Number In Arithmetic Progression
- 1229.Meeting Scheduler
- 1233.Remove Sub-Folders from the Filesystem
- 1239.Maximum Length of a Concatenated String with Unique Characters
- 1244.Design A Leaderboard
- 1245.Tree Diameter
- 1246.Palindrome Removal
- 1247.Minimum Swaps to Make Strings Equal
- 1248.Count Number of Nice Subarrays
- 1250.Check If It Is a Good Array
- 1251.Average Selling Price
- 1257.Smallest Common Region
- 1258.Synonymous Sentences
- 1260.Shift 2D Grid
- 1275.Find Winner on a Tic Tac Toe Game
- 1277.Count Square Submatrices with All Ones
- 1281.Subtract the Product and Sum of Digits of an Integer
- 1282.Group the People Given the Group Size They Belong To
- 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
- 1299.Replace Elements with Greatest Element on Right Side
- 1300-1399
- 1300.Sum of Mutated Array Closest to Target
- 1301.Number of Paths with Max Score
- 1302.Deepest Leaves Sum
- 1305.All Elements in Two Binary Search Trees
- 1309.Decrypt String from Alphabet to Integer Mapping
- 1313.Decompress Run-Length Encoded List
- 1317.Convert Integer to the Sum of Two No-Zero Integers
- 1319.Number of Operations to Make Network Connected
- 1320.Minimum Distance to Type a Word Using Two Fingers
- 1326.Minimum Number of Taps to Open to Water a Garden
- 1328.Break a Palindrome
- 1330.Reverse Subarray To Maximize Array Value
- 1331.Rank Transform of an Array
- 1334.Find the City With the Smallest Number of Neighbors at a Threshold Distance
- images
- 1338.Reduce Array Size to The Half
- 1341.Movie Rating
- 1345.Jump Game IV
- 1347.Minimum Number of Steps to Make Two Strings Anagram
- 1348.Tweet Counts Per Frequency
- 1352.Product of the Last K Numbers
- 1366.Rank Teams by Votes
- 1367.Linked List in Binary Tree
- 1370.Increasing Decreasing String
- 1371.Find the Longest Substring Containing Vowels in Even Counts
- 1373.Maximum Sum BST in Binary Tree
- 1385.Find the Distance Value Between Two Arrays
- 1387.Sort Integers by The Power Value
- 1393.Capital GainLoss
- 1394.Find Lucky Integer in an Array
- 1400-1499
- 1400.Construct K Palindrome Strings
- 1405.Longest Happy String
- 1409.Queries on a Permutation With Key
- 1419.Minimum Number of Frogs Croaking
- 1431.Kids With the Greatest Number of Candies
- 1432.Max Difference You Can Get From Changing an Integer
- 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
- 1444.Number of Ways of Cutting a Pizza
- 1450.Number of Students Doing Homework at a Given Time
- 1462.Course Schedule IV
- 1467.Probability of a Two Boxes Having The Same Number of Distinct Balls
- 1469.Find All The Lonely Nodes
- 1470.Shuffle the Array
- 1471.The k Strongest Values in an Array
- 1472.Design Browser History
- 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
- 1482.Minimum Number of Days to Make m Bouquets
- 1488.Avoid Flood in The City
- 1497.Check If Array Pairs Are Divisible by k
- 1500-1599
- 1503.Last Moment Before All Ants Fall Out of a Plank
- 1504.Count Submatrices With All Ones
- 1508.Range Sum of Sorted Subarray Sums
- 1512.Number of Good Pairs
- 1514.Path with Maximum Probability
- 1545.Find Kth Bit in Nth Binary String
- 1547.Minimum Cost to Cut a Stick
- 1559.Detect Cycles in 2D Grid
- 1560.Most Visited Sector in a Circular Track
- 1561.Maximum Number of Coins You Can Get
- 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
- 1567.Maximum Length of Subarray With Positive Product
- 1572.Matrix Diagonal Sum
- 1573.Number of Ways to Split a String
- 1574.Shortest Subarray to be Removed to Make Array Sorted
- 1577.Number of Ways Where Square of Number Is Equal to Product of Two Numbers
- 1580.Put Boxes Into the Warehouse II
- 1582.Special Positions in a Binary Matrix
- 1583.Count Unhappy Friends
- 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
- 1593.Split a String Into the Max Number of Unique Substrings
- 1600-1699
- 1606.Find Servers That Handled Most Number of Requests
- 1614.Maximum Nesting Depth of the Parentheses
- 1615.Maximal Network Rank
- 1616.Split Two Strings to Make Palindrome
- 1632.Rank Transform of a Matrix
- 1647.Minimum Deletions to Make Character Frequencies Unique
- 1661.Average Time of Process per Machine
- 1666.Change the Root of a Binary Tree
- images
- 1676.Lowest Common Ancestor of a Binary Tree IV
- 1683.Invalid Tweets
- 1684.Count the Number of Consistent Strings
- 1700-1799
- 1705.Maximum Number of Eaten Apples
- 1717.Maximum Score From Removing Substrings
- 1743.Restore the Array From Adjacent Pairs
- 1755.Closest Subsequence Sum
- 1765.Map of Highest Peak
- 1769.Minimum Number of Operations to Move All Balls to Each Box
- 1796.Second Largest Digit in a String
- 1798.Maximum Number of Consecutive Values You Can Make
- 1800-1899
- 1808.Maximize Number of Nice Divisors
- 1812.Determine Color of a Chessboard Square
- 1813.Sentence Similarity III
- 1822.Sign of the Product of an Array
- 1825.Finding MK Average
- 1833.Maximum Ice Cream Bars
- 1840.Maximum Building Height
- 1844.Replace All Digits with Characters
- 1845.Seat Reservation Manager
- 1847.Closest Room
- 1849.Splitting a String Into Descending Consecutive Values
- 1858.Longest Word With All Prefixes
- 1859.Sorting the Sentence
- 1861.Rotating the Box
- 1870.Minimum Speed to Arrive on Time
- 1874.Minimize Product Sum of Two Arrays
- 1876.Substrings of Size Three with Distinct Characters
- 1878.Get Biggest Three Rhombus Sums in a Grid
- 1884.Egg Drop With 2 Eggs and N Floors
- 1891.Cutting Ribbons
- 1897.Redistribute Characters to Make All Strings Equal
- 1898.Maximum Number of Removable Characters
- 1900-1999
- 1902.Depth of BST Given Insertion Order
- 1905.Count Sub Islands
- 1909.Remove One Element to Make the Array Strictly Increasing
- 1910.Remove All Occurrences of a Substring
- 1912.Design Movie Rental System
- 1921.Eliminate Maximum Number of Monsters
- 1922.Count Good Numbers
- 1925.Count Square Sum Triples
- 1926.Nearest Exit from Entrance in Maze
- 1927.Sum Game
- 1928.Minimum Cost to Reach Destination in Time
- 1929.Concatenation of Array
- 1930.Unique Length-3 Palindromic Subsequences
- 1933.Check if String Is Decomposable Into Value-Equal Substrings
- 1941.Check if All Characters Have Equal Number of Occurrences
- 1945.Sum of Digits of String After Convert
- 1957.Delete Characters to Make Fancy String
- 1967.Number of Strings That Appear as Substrings in Word
- 1968.Array With Elements Not Equal to Average of Neighbors
- 1970.Last Day Where You Can Still Cross
- 1971.Find if Path Exists in Graph
- 1975.Maximum Matrix Sum
- 1979.Find Greatest Common Divisor of Array
- 1981.Minimize the Difference Between Target and Chosen Elements
- 1982.Find Array Given Subset Sums
- 1985.Find the Kth Largest Integer in the Array
- 1986.Minimum Number of Work Sessions to Finish the Tasks
- 1987.Number of Unique Good Subsequences
- 1989.Maximum Number of People That Can Be Caught in Tag
- 1991.Find the Middle Index in Array
- 2000-2099
- 2000.Reverse Prefix of Word
- 2011.Final Value of Variable After Performing Operations
- 2021.Brightest Position on Street
- 2031.Count Subarrays With More Ones Than Zeros
- 2034.Stock Price Fluctuation
- 2037.Minimum Number of Moves to Seat Everyone
- 2052.Minimum Cost to Separate Sentence Into Rows
- 2056.Number of Valid Move Combinations On Chessboard
- 2057.Smallest Index With Equal Value
- 2064.Minimized Maximum of Products Distributed to Any Store
- 2065.Maximum Path Quality of a Graph
- 2073.Time Needed to Buy Tickets
- 2083.Substrings That Begin and End With the Same Letter
- 2090.K Radius Subarray Averages
- 2096.Step-By-Step Directions From a Binary Tree Node to Another
- 2100-2199
- 2102.Sequentially Ordinal Rank Tracker
- 2107.Number of Unique Flavors After Sharing K Candies
- 2119.A Number After a Double Reversal
- 2121.Intervals Between Identical Elements
- 2132.Stamping the Grid
- 2133.Check if Every Row and Column Contains All Numbers
- 2134.Minimum Swaps to Group All 1's Together II
- 2145.Count the Hidden Sequences
- 2146.K Highest Ranked Items Within a Price Range
- 2147.Number of Ways to Divide a Long Corridor
- 2148.Count Elements With Strictly Smaller and Greater Elements
- 2151.Maximum Good People Based on Statements
- 2161.Partition Array According to Given Pivot
- 2165.Smallest Value of the Rearranged Number
- 2169.Count Operations to Obtain Zero
- 2176.Count Equal and Divisible Pairs in an Array
- 2177.Find Three Consecutive Integers That Sum to a Given Number
- 2178.Maximum Split of Positive Even Integers
- 2181.Merge Nodes in Between Zeros
- 2189.Number of Ways to Build House of Cards
- 2190.Most Frequent Number Following Key In an Array
- 2200-2299
- 2205.The Number of Users That Are Eligible for Discount
- 2206.Divide Array Into Equal Pairs
- 2207.Maximize Number of Subsequences in a String
- 2208.Minimum Operations to Halve Array Sum
- 2214.Minimum Health to Beat Game
- 2218.Maximum Value of K Coins From Piles
- 2219.Maximum Sum Score of Array
- 2220.Minimum Bit Flips to Convert Number
- 2221.Find Triangular Sum of an Array
- 2222.Number of Ways to Select Buildings
- 2226.Maximum Candies Allocated to K Children
- 2227.Encrypt and Decrypt Strings
- 2229.Check if an Array Is Consecutive
- 2231.Largest Number After Digit Swaps by Parity
- 2233.Maximum Product After K Increments
- 2234.Maximum Total Beauty of the Gardens
- 2237.Count Positions on Street With Required Brightness
- 2239.Find Closest Number to Zero
- 2241.Design an ATM Machine
- 2243.Calculate Digit Sum of a String
- 2244.Minimum Rounds to Complete All Tasks
- 2251.Number of Flowers in Full Bloom
- 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
- 2265.Count Nodes Equal to Average of Subtree
- 2266.Count Number of Texts
- 2267.Check if There Is a Valid Parentheses String Path
- 2270.Number of Ways to Split Array
- 2271.Maximum White Tiles Covered by a Carpet
- 2273.Find Resultant Array After Removing Anagrams
- 2274.Maximum Consecutive Floors Without Special Floors
- 2275.Largest Combination With Bitwise AND Greater Than Zero
- 2286.Booking Concert Tickets in Groups
- 2287.Rearrange Characters to Make Target String
- 2297.Jump Game VIII
- 2299.Strong Password Checker II
- 2300-2399
- 2306.Naming a Company
- 2310.Sum of Numbers With Units Digit K
- 2314.The First Day of the Maximum Recorded Degree in Each City
- 2323.Find Minimum Time to Finish All Jobs II
- 2324.Product Sales Analysis IV
- 2332.The Latest Time to Catch a Bus
- 2333.Minimum Sum of Squared Difference
- 2336.Smallest Number in Infinite Set
- 2340.Minimum Adjacent Swaps to Make a Valid Array
- 2341.Maximum Number of Pairs in Array
- 2343.Query Kth Smallest Trimmed Number
- 2345.Finding the Number of Visible Mountains
- 2347.Best Poker Hand
- 2349.Design a Number Container System
- 2353.Design a Food Rating System
- 2361.Minimum Costs Using the Train Line
- 2364.Count Number of Bad Pairs
- 2367.Number of Arithmetic Triplets
- 2374.Node With Highest Edge Score
- 2376.Count Special Integers
- 2383.Minimum Hours of Training to Win a Competition
- 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
- 2393.Count Strictly Increasing Subarrays
- 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
- 2403.Minimum Time to Kill All Monsters
- 2405.Optimal Partition of String
- 2408.Design SQL
- 2410.Maximum Matching of Players With Trainers
- 2412.Minimum Money Required Before Transactions
- 2414.Length of the Longest Alphabetical Continuous Substring
- 2416.Sum of Prefix Scores of Strings
- 2419.Longest Subarray With Maximum Bitwise AND
- 2442.Count Number of Distinct Integers After Reverse Operations
- 2454.Next Greater Element IV
- 2456.Most Popular Video Creator
- 2458.Height of Binary Tree After Subtree Removal Queries
- 2466.Count Ways To Build Good Strings
- 2468.Split Message Based on Limit
- 2470.Number of Subarrays With LCM Equal to K
- 2472.Maximum Number of Non-overlapping Palindrome Substrings
- 2490.Circular Sentence
- 2491.Divide Players Into Teams of Equal Skill
- 2500-2599
- 2500.Delete Greatest Value in Each Row
- 2501.Longest Square Streak in an Array
- 2502.Design Memory Allocator
- 2506.Count Pairs Of Similar Strings
- 2524.Maximum Frequency Score of a Subarray
- 2526.Find Consecutive Integers from a Data Stream
- 2528.Maximize the Minimum Powered City
- 2530.Maximal Score After Applying K Operations
- 2532.Time to Cross a Bridge
- 2534.Time Taken to Cross the Door
- 2535.Difference Between Element Sum and Digit Sum of an Array
- 2537.Count the Number of Good Subarrays
- 2545.Sort the Students by Their Kth Score
- 2555.Maximize Win From Two Segments
- 2557.Maximum Number of Integers to Choose From a Range II
- 2558.Take Gifts From the Richest Pile
- 2559.Count Vowel Strings in Ranges
- 2576.Find the Maximum Number of Marked Indices
- 2577.Minimum Time to Visit a Cell In a Grid
- 2582.Pass the Pillow
- 2586.Count the Number of Vowel Strings in Range
- 2590.Design a Todo List
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
4,441 files changed
+225488
-78612
lines changedLines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
11 |
| - | |
| 12 | + |
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| 28 | + |
Lines changed: 7 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
199 | 199 |
| |
200 | 200 |
| |
201 | 201 |
| |
202 |
| - | |
203 |
| - | |
204 |
| - | |
205 |
| - | |
206 |
| - | |
207 | 202 |
| |
208 | 203 |
| |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
209 | 211 |
| |
210 | 212 |
| |
211 | 213 |
| |
|
Lines changed: 7 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
194 |
| - | |
195 |
| - | |
196 |
| - | |
197 |
| - | |
198 | 194 |
| |
199 | 195 |
| |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
200 | 203 |
| |
201 | 204 |
| |
202 | 205 |
| |
|
0 commit comments