File tree
1,102 files changed
+64991
-40868
lines changed- images
- lcof2
- 剑指 Offer II 057. 值和下标之差都在给定的范围内
- 剑指 Offer II 058. 日程表
- lcp
- LCP 24. 数字游戏
- LCP 52. 二叉搜索树染色
- LCP 56. 信物传送
- LCP 61. 气温变化趋势
- LCP 62. 交通枢纽
- LCP 63. 弹珠游戏
- LCP 64. 二叉树灯饰
- LCP 66. 最小展台数量
- LCP 67. 装饰树
- solution
- 0000-0099
- 0005.Longest Palindromic Substring
- 0009.Palindrome Number
- 0014.Longest Common Prefix
- 0016.3Sum Closest
- 0019.Remove Nth Node From End of List
- 0021.Merge Two Sorted Lists
- 0022.Generate Parentheses
- 0024.Swap Nodes in Pairs
- 0030.Substring with Concatenation of All Words
- 0045.Jump Game II
- 0047.Permutations II
- 0059.Spiral Matrix II
- 0063.Unique Paths II
- images
- 0081.Search in Rotated Sorted Array II
- 0086.Partition List
- 0090.Subsets II
- 0100-0199
- 0119.Pascal's Triangle II
- 0136.Single Number
- 0191.Number of 1 Bits
- 0200-0299
- 0219.Contains Duplicate II
- 0220.Contains Duplicate III
- 0225.Implement Stack using Queues
- 0238.Product of Array Except Self
- 0268.Missing Number
- 0300-0399
- 0352.Data Stream as Disjoint Intervals
- 0363.Max Sum of Rectangle No Larger Than K
- 0400-0499
- 0436.Find Right Interval
- 0480.Sliding Window Median
- 0500-0599
- 0547.Number of Provinces
- 0554.Brick Wall
- images
- 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
- 0566.Reshape the Matrix
- 0567.Permutation in String
- 0573.Squirrel Simulation
- 0576.Out of Boundary Paths
- 0583.Delete Operation for Two Strings
- 0588.Design In-Memory File System
- 0598.Range Addition II
- 0599.Minimum Index Sum of Two Lists
- 0600-0699
- 0622.Design Circular Queue
- 0628.Maximum Product of Three Numbers
- 0629.K Inverse Pairs Array
- 0680.Valid Palindrome II
- 0691.Stickers to Spell Word
- 0692.Top K Frequent Words
- 0700-0799
- 0705.Design HashSet
- 0713.Subarray Product Less Than K
- 0716.Max Stack
- 0729.My Calendar I
- 0731.My Calendar II
- 0734.Sentence Similarity
- 0753.Cracking the Safe
- 0754.Reach a Number
- 0755.Pour Water
- 0800-0899
- 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
- 0846.Hand of Straights
- 0855.Exam Room
- 0896.Monotonic Array
- 0900-0999
- 0906.Super Palindromes
- 0916.Word Subsets
- 0922.Sort Array By Parity II
- 0965.Univalued Binary Tree
- 0966.Vowel Spellchecker
- 0968.Binary Tree Cameras
- 0971.Flip Binary Tree To Match Preorder Traversal
- 0975.Odd Even Jump
- 0978.Longest Turbulent Subarray
- 1000-1099
- 1023.Camelcase Matching
- 1030.Matrix Cells in Distance Order
- 1100-1199
- 1172.Dinner Plate Stacks
- 1183.Maximum Number of Ones
- 1200-1299
- 1244.Design A Leaderboard
- 1296.Divide Array in Sets of K Consecutive Numbers
- 1300-1399
- 1348.Tweet Counts Per Frequency
- 1352.Product of the Last K Numbers
- 1400-1499
- 1400.Construct K Palindrome Strings
- 1438.Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
- 1444.Number of Ways of Cutting a Pizza
- 1467.Probability of a Two Boxes Having The Same Number of Distinct Balls
- 1488.Avoid Flood in The City
- 1500-1599
- 1535.Find the Winner of an Array Game
- 1590.Make Sum Divisible by P
- 1600-1699
- 1606.Find Servers That Handled Most Number of Requests
- 1647.Minimum Deletions to Make Character Frequencies Unique
- 1700-1799
- 1752.Check if Array Is Sorted and Rotated
- 1755.Closest Subsequence Sum
- 1769.Minimum Number of Operations to Move All Balls to Each Box
- 1800-1899
- 1825.Finding MK Average
- 1847.Closest Room
- 1864.Minimum Number of Swaps to Make the Binary String Alternating
- 1865.Finding Pairs With a Certain Sum
- 1866.Number of Ways to Rearrange Sticks With K Sticks Visible
- 1877.Minimize Maximum Pair Sum in Array
- 1878.Get Biggest Three Rhombus Sums in a Grid
- 1880.Check if Word Equals Summation of Two Words
- 1881.Maximum Value after Insertion
- 1882.Process Tasks Using Servers
- 1883.Minimum Skips to Arrive at Meeting On Time
- 1900-1999
- 1902.Depth of BST Given Insertion Order
- 1909.Remove One Element to Make the Array Strictly Increasing
- 1911.Maximum Alternating Subsequence Sum
- 1912.Design Movie Rental System
- 1920.Build Array from Permutation
- 1926.Nearest Exit from Entrance in Maze
- 1927.Sum Game
- 1930.Unique Length-3 Palindromic Subsequences
- 1940.Longest Common Subsequence Between Sorted Arrays
- 1941.Check if All Characters Have Equal Number of Occurrences
- 1942.The Number of the Smallest Unoccupied Chair
- 1946.Largest Number After Mutating Substring
- 1947.Maximum Compatibility Score Sum
- 1967.Number of Strings That Appear as Substrings in Word
- 1975.Maximum Matrix Sum
- 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
- 1996.The Number of Weak Characters in the Game
- 2000-2099
- 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
- 2083.Substrings That Begin and End With the Same Letter
- 2100-2199
- 2102.Sequentially Ordinal Rank Tracker
- 2119.A Number After a Double Reversal
- 2151.Maximum Good People Based on Statements
- 2165.Smallest Value of the Rearranged Number
- 2169.Count Operations to Obtain Zero
- 2177.Find Three Consecutive Integers That Sum to a Given Number
- 2178.Maximum Split of Positive Even Integers
- 2189.Number of Ways to Build House of Cards
- 2190.Most Frequent Number Following Key In an Array
- 2200-2299
- 2206.Divide Array Into Equal Pairs
- 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
- 2229.Check if an Array Is Consecutive
- 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
- 2243.Calculate Digit Sum of a String
- 2260.Minimum Consecutive Cards to Pick Up
- 2266.Count Number of Texts
- 2271.Maximum White Tiles Covered by a Carpet
- 2297.Jump Game VIII
- 2299.Strong Password Checker II
- 2300-2399
- 2310.Sum of Numbers With Units Digit K
- 2323.Find Minimum Time to Finish All Jobs II
- 2336.Smallest Number in Infinite Set
- 2349.Design a Number Container System
- 2353.Design a Food Rating System
- 2360.Longest Cycle in a Graph
- 2389.Longest Subsequence With Limited Sum
- 2400-2499
- 2412.Minimum Money Required Before Transactions
- 2419.Longest Subarray With Maximum Bitwise AND
- 2454.Next Greater Element IV
- 2468.Split Message Based on Limit
- 2493.Divide Nodes Into the Maximum Number of Groups
- 2500-2599
- 2502.Design Memory Allocator
- 2590.Design a Todo List
- 2600-2699
- 2607.Make K-Subarray Sums Equal
- 2612.Minimum Reverse Operations
- 2653.Sliding Subarray Beauty
- 2659.Make Array Empty
- 2674.Split a Circular Linked List
- 2700-2799
- 2723.Add Two Promises
- 2745.Construct the Longest New String
- 2749.Minimum Operations to Make the Integer Zero
- 2762.Continuous Subarrays
- 2763.Sum of Imbalance Numbers of All Subarrays
- 2769.Find the Maximum Achievable Number
- 2800-2899
- 2812.Find the Safest Path in a Grid
- 2817.Minimum Absolute Difference Between Elements With Constraint
- 2818.Apply Operations to Maximize Score
- 2900-2999
- 2920.Maximum Points After Collecting Coins From All Nodes
- 2944.Minimum Number of Coins for Fruits
- 3000-3099
- 3013.Divide an Array Into Subarrays With Minimum Cost II
- 3019.Number of Changing Keys
- 3066.Minimum Operations to Exceed Threshold Value II
- 3072.Distribute Elements Into Two Arrays II
- 3073.Maximum Increasing Triplet Value
- 3095.Shortest Subarray With OR at Least K I
- 3097.Shortest Subarray With OR at Least K II
- 3100-3199
- 3102.Minimize Manhattan Distances
- 3105.Longest Strictly Increasing or Strictly Decreasing Subarray
- 3180.Maximum Total Reward Using Operations I
- 3181.Maximum Total Reward Using Operations II
- 3200-3299
- 3278.Find Candidates for Data Scientist Position II
- 3287.Find the Maximum Sequence Value of Array
- 3300-3399
- 3318.Find X-Sum of All K-Long Subarrays I
- 3321.Find X-Sum of All K-Long Subarrays II
- 3322.Premier League Table Ranking III
- 3369.Design an Array Statistics Tracker
- 3376.Minimum Time to Break Locks I
- 3377.Digit Operations to Make Two Integers Equal
- 3378.Count Connected Components in LCM Graph
- 3383.Minimum Runes to Add to Cast Spell
- 3391.Design a 3D Binary Matrix with Efficient Layer Tracking
- 3392.Count Subarrays of Length Three With a Condition
- 3393.Count Paths With the Given XOR Value
- 3394.Check if Grid can be Cut into Sections
- 3395.Subsequences with a Unique Middle Mode I
- 3396.Minimum Number of Operations to Make Elements in Array Distinct
- 3397.Maximum Number of Distinct Elements After Operations
- 3398.Smallest Substring With Identical Characters I
- 3399.Smallest Substring With Identical Characters II
- 3400-3499
- 3400.Maximum Number of Matching Indices After Right Shifts
- 3402.Minimum Operations to Make Columns Strictly Increasing
- 3403.Find the Lexicographically Largest String From the Box I
- 3404.Count Special Subsequences
- 3405.Count the Number of Arrays with K Matching Adjacent Elements
- 3406.Find the Lexicographically Largest String From the Box II
- 3407.Substring Matching Pattern
- 3408.Design Task Manager
- 3409.Longest Subsequence With Decreasing Adjacent Difference
- 3410.Maximize Subarray Sum After Removing All Occurrences of One Element
- 3411.Maximum Subarray With Equal Products
- 3412.Find Mirror Score of a String
- 3413.Maximum Coins From K Consecutive Bags
- 3414.Maximum Score of Non-overlapping Intervals
- 3415.Find Products with Three Consecutive Digits
- 3416.Subsequences with a Unique Middle Mode II
- 3417.Zigzag Grid Traversal With Skip
- 3418.Maximum Amount of Money Robot Can Earn
- 3419.Minimize the Maximum Edge Weight of Graph
- images
- 3420.Count Non-Decreasing Subarrays After K Operations
- 3421.Find Students Who Improved
- 3422.Minimum Operations to Make Subarray Elements Equal
- 3423.Maximum Difference Between Adjacent Elements in a Circular Array
- 3424.Minimum Cost to Make Arrays Identical
- 3425.Longest Special Path
- images
- 3426.Manhattan Distances of All Arrangements of Pieces
- images
- 3427.Sum of Variable Length Subarrays
- 3428.Maximum and Minimum Sums of at Most Size K Subsequences
- 3429.Paint House IV
- 3430.Maximum and Minimum Sums of at Most Size K Subarrays
- 3431.Minimum Unlocked Indices to Sort Nums
- 3432.Count Partitions with Even Sum Difference
- 3433.Count Mentions Per User
- 3434.Maximum Frequency After Subarray Operation
- 3435.Frequencies of Shortest Supersequences
- 3436.Find Valid Emails
- 3437.Permutations III
- 3438.Find Valid Pair of Adjacent Digits in String
- 3439.Reschedule Meetings for Maximum Free Time I
- images
- 3440.Reschedule Meetings for Maximum Free Time II
- images
- 3441.Minimum Cost Good Caption
- 3442.Maximum Difference Between Even and Odd Frequency I
- 3443.Maximum Manhattan Distance After K Changes
- 3444.Minimum Increments for Target Multiples in an Array
- 3445.Maximum Difference Between Even and Odd Frequency II
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,102 files changed
+64991
-40868
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 |
| - | |
| 23 | + | |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
35 |
| - | |
| 34 | + | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
|
0 commit comments