File tree
692 files changed
+67395
-50428
lines changed- images
- lcp/LCP 68. 美观的花束
- solution
- 0000-0099
- 0003.Longest Substring Without Repeating Characters
- 0034.Find First and Last Position of Element in Sorted Array
- 0100-0199
- 0128.Longest Consecutive Sequence
- 0131.Palindrome Partitioning
- 0132.Palindrome Partitioning II
- 0195.Tenth Line
- 0200-0299
- 0254.Factor Combinations
- 0262.Trips and Users
- 0500-0599/0525.Contiguous Array
- 0600-0699
- 0624.Maximum Distance in Arrays
- 0657.Robot Return to Origin
- 0700-0799
- 0720.Longest Word in Dictionary
- 0722.Remove Comments
- 0727.Minimum Window Subsequence
- 0733.Flood Fill
- 0763.Partition Labels
- 0765.Couples Holding Hands
- 0768.Max Chunks To Make Sorted II
- 0769.Max Chunks To Make Sorted
- 0771.Jewels and Stones
- 0772.Basic Calculator III
- 0779.K-th Symbol in Grammar
- 0781.Rabbits in Forest
- 0784.Letter Case Permutation
- 0785.Is Graph Bipartite
- 0790.Domino and Tromino Tiling
- 0799.Champagne Tower
- 0800-0899
- 0801.Minimum Swaps To Make Sequences Increasing
- 0850.Rectangle Area II
- 0863.All Nodes Distance K in Binary Tree
- 0888.Fair Candy Swap
- 0900-0999
- 0937.Reorder Data in Log Files
- 0980.Unique Paths III
- 0981.Time Based Key-Value Store
- 0985.Sum of Even Numbers After Queries
- 0989.Add to Array-Form of Integer
- 0991.Broken Calculator
- 1000-1099/1028.Recover a Tree From Preorder Traversal
- 1100-1199
- 1108.Defanging an IP Address
- 1111.Maximum Nesting Depth of Two Valid Parentheses Strings
- 1138.Alphabet Board Path
- 1139.Largest 1-Bordered Square
- 1184.Distance Between Bus Stops
- 1200-1299
- 1206.Design Skiplist
- 1238.Circular Permutation in Binary Representation
- 1256.Encode Number
- 1257.Smallest Common Region
- 1261.Find Elements in a Contaminated Binary Tree
- 1278.Palindrome Partitioning III
- 1287.Element Appearing More Than 25% In Sorted Array
- 1288.Remove Covered Intervals
- 1289.Minimum Falling Path Sum II
- 1300-1399
- 1301.Number of Paths with Max Score
- 1318.Minimum Flips to Make a OR b Equal to c
- 1324.Print Words Vertically
- 1328.Break a Palindrome
- 1352.Product of the Last K Numbers
- 1363.Largest Multiple of Three
- 1365.How Many Numbers Are Smaller Than the Current Number
- 1400-1499
- 1408.String Matching in an Array
- 1415.The k-th Lexicographical String of All Happy Strings of Length n
- 1418.Display Table of Food Orders in a Restaurant
- 1434.Number of Ways to Wear Different Hats to Each Other
- 1448.Count Good Nodes in Binary Tree
- 1470.Shuffle the Array
- 1471.The k Strongest Values in an Array
- 1481.Least Number of Unique Integers after K Removals
- 1500-1599
- 1523.Count Odd Numbers in an Interval Range
- 1524.Number of Sub-arrays With Odd Sum
- 1534.Count Good Triplets
- 1600-1699
- 1603.Design Parking System
- 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
- 1634.Add Two Polynomials Represented as Linked Lists
- 1649.Create Sorted Array through Instructions
- 1656.Design an Ordered Stream
- 1660.Correct a Binary Tree
- 1676.Lowest Common Ancestor of a Binary Tree IV
- 1681.Minimum Incompatibility
- 1700-1799
- 1718.Construct the Lexicographically Largest Valid Sequence
- 1725.Number Of Rectangles That Can Form The Largest Square
- 1730.Shortest Path to Get Food
- 1745.Palindrome Partitioning IV
- 1746.Maximum Subarray Sum After One Operation
- 1752.Check if Array Is Sorted and Rotated
- 1768.Merge Strings Alternately
- 1788.Maximize the Beauty of the Garden
- 1800-1899
- 1800.Maximum Ascending Subarray Sum
- 1801.Number of Orders in the Backlog
- 1803.Count Pairs With XOR in a Range
- 1808.Maximize Number of Nice Divisors
- 1827.Minimum Operations to Make the Array Increasing
- 1836.Remove Duplicates From an Unsorted Linked List
- 1852.Distinct Numbers in Each Subarray
- 1857.Largest Color Value in a Directed Graph
- 1872.Stone Game VIII
- 1874.Minimize Product Sum of Two Arrays
- 1877.Minimize Maximum Pair Sum in Array
- 1900-1999
- 1911.Maximum Alternating Subsequence Sum
- 1913.Maximum Product Difference Between Two Pairs
- 1914.Cyclically Rotating a Grid
- 1915.Number of Wonderful Substrings
- 1916.Count Ways to Build Rooms in an Ant Colony
- 1944.Number of Visible People in a Queue
- 1945.Sum of Digits of String After Convert
- 1968.Array With Elements Not Equal to Average of Neighbors
- 1974.Minimum Time to Type Word Using Special Typewriter
- 1976.Number of Ways to Arrive at Destination
- images
- 1977.Number of Ways to Separate Numbers
- 1980.Find Unique Binary String
- 2000-2099
- 2012.Sum of Beauty in the Array
- 2054.Two Best Non-Overlapping Events
- 2062.Count Vowel Substrings of a String
- 2063.Vowels of All Substrings
- 2080.Range Frequency Queries
- 2100-2199
- 2115.Find All Possible Recipes from Given Supplies
- 2116.Check if a Parentheses String Can Be Valid
- 2117.Abbreviating the Product of a Range
- 2124.Check if All A's Appears Before All B's
- 2126.Destroying Asteroids
- 2138.Divide a String Into Groups of Size k
- 2161.Partition Array According to Given Pivot
- 2200-2299
- 2209.Minimum White Tiles After Covering With Carpets
- 2211.Count Collisions on a Road
- 2212.Maximum Points in an Archery Competition
- 2226.Maximum Candies Allocated to K Children
- 2227.Encrypt and Decrypt Strings
- 2276.Count Integers in Intervals
- 2282.Number of People That Can Be Seen in a Grid
- 2287.Rearrange Characters to Make Target String
- 2290.Minimum Obstacle Removal to Reach Corner
- 2291.Maximum Profit From Trading Stocks
- 2296.Design a Text Editor
- 2300-2399
- 2311.Longest Binary Subsequence Less Than or Equal to K
- 2313.Minimum Flips in Binary Tree to Get Result
- 2315.Count Asterisks
- 2317.Maximum XOR After Operations
- 2319.Check if Matrix Is X-Matrix
- 2320.Count Number of Ways to Place Houses
- 2330.Valid Palindrome IV
- 2342.Max Sum of a Pair With Equal Sum of Digits
- 2353.Design a Food Rating System
- 2378.Choose Edges to Maximize Score in a Tree
- 2400-2499
- 2425.Bitwise XOR of All Pairings
- 2452.Words Within Two Edits of Dictionary
- 2500-2599
- 2502.Design Memory Allocator
- 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
- 2514.Count Anagrams
- 2523.Closest Prime Numbers in Range
- 2524.Maximum Frequency Score of a Subarray
- 2559.Count Vowel Strings in Ranges
- 2562.Find the Array Concatenation Value
- 2570.Merge Two 2D Arrays by Summing Values
- 2574.Left and Right Sum Differences
- 2588.Count the Number of Beautiful Subarrays
- 2595.Number of Even and Odd Bits
- 2596.Check Knight Tour Configuration
- 2597.The Number of Beautiful Subsets
- 2600-2699/2698.Find the Punishment Number of an Integer
- 2700-2799/2780.Minimum Index of a Valid Split
- 2900-2999/2992.Number of Self-Divisible Permutations
- 3000-3099/3066.Minimum Operations to Exceed Threshold Value II
- 3100-3199
- 3147.Taking Maximum Energy From the Mystic Dungeon
- 3151.Special Array I
- 3160.Find the Number of Distinct Colors Among the Balls
- 3174.Clear Digits
- 3200-3299/3223.Minimum Length of String After Operations
- 3400-3499
- 3440.Reschedule Meetings for Maximum Free Time II
- 3446.Sort Matrix by Diagonals
- 3447.Assign Elements to Groups with Constraints
- 3448.Count Substrings Divisible By Last Digit
- 3449.Maximize the Minimum Game Score
- 3450.Maximum Students on a Single Bench
- 3451.Find Invalid IP Addresses
- 3452.Sum of Good Numbers
- 3453.Separate Squares I
- images
- 3454.Separate Squares II
- images
- 3455.Shortest Matching Substring
- 3456.Find Special Substring of Length K
- 3457.Eat Pizzas!
- 3458.Select K Disjoint Special Substrings
- 3459.Length of Longest V-Shaped Diagonal Segment
- images
- 3460.Longest Common Prefix After at Most One Removal
- 3461.Check If Digits Are Equal in String After Operations I
- 3462.Maximum Sum With at Most K Elements
- 3463.Check If Digits Are Equal in String After Operations II
- 3464.Maximize the Distance Between Points on a Square
- images
- 3465.Find Products with Valid Serial Numbers
- 3466.Maximum Coin Collection
- 3467.Transform Array by Parity
- 3468.Find the Number of Copy Arrays
- 3469.Find Minimum Cost to Remove Array Elements
- 3470.Permutations IV
- 3471.Find the Largest Almost Missing Integer
- 3472.Longest Palindromic Subsequence After at Most K Operations
- 3473.Sum of K Subarrays With Length at Least M
- 3474.Lexicographically Smallest Generated String
- 3475.DNA Pattern Recognition
- 3476.Maximize Profit from Task Assignment
- 3477.Fruits Into Baskets II
- 3478.Choose K Elements With Maximum Sum
- 3479.Fruits Into Baskets III
- 3480.Maximize Subarrays After Removing One Conflicting Pair
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
692 files changed
+67395
-50428
lines changedLines changed: 12 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
194 |
| - | |
195 |
| - | |
196 |
| - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
197 | 206 |
| |
198 | 207 |
| |
199 | 208 |
| |
|
Lines changed: 12 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
183 | 183 |
| |
184 | 184 |
| |
185 | 185 |
| |
186 |
| - | |
187 |
| - | |
188 |
| - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
189 | 198 |
| |
190 | 199 |
| |
191 | 200 |
| |
|
0 commit comments