File tree
480 files changed
+55564
-34059
lines changed- images
- 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
- 0008.String to Integer (atoi)
- 0100-0199
- 0134.Gas Station
- 0135.Candy
- 0147.Insertion Sort List
- 0195.Tenth Line
- 0200-0299
- 0245.Shortest Word Distance III
- 0262.Trips and Users
- 0269.Alien Dictionary
- 0400-0499/0440.K-th Smallest in Lexicographical Order
- 0500-0599
- 0581.Shortest Unsorted Continuous Subarray
- 0596.Classes With at Least 5 Students
- 0700-0799/0799.Champagne Tower
- 0900-0999/0909.Snakes and Ladders
- 1000-1099
- 1016.Binary String With Substrings Representing 1 To N
- 1061.Lexicographically Smallest Equivalent String
- 1062.Longest Repeating Substring
- 1070.Product Sales Analysis III
- 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
- 1238.Circular Permutation in Binary Representation
- 1256.Encode Number
- 1298.Maximum Candies You Can Get from Boxes
- 1300-1399
- 1301.Number of Paths with Max Score
- 1318.Minimum Flips to Make a OR b Equal to c
- 1324.Print Words Vertically
- 1400-1499
- 1418.Display Table of Food Orders in a Restaurant
- 1432.Max Difference You Can Get From Changing an Integer
- 1448.Count Good Nodes in Binary Tree
- 1470.Shuffle the Array
- 1481.Least Number of Unique Integers after K Removals
- 1500-1599
- 1523.Count Odd Numbers in an Interval Range
- 1534.Count Good Triplets
- 1600-1699
- 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
- 1660.Correct a Binary Tree
- 1700-1799
- 1725.Number Of Rectangles That Can Form The Largest Square
- 1746.Maximum Subarray Sum After One Operation
- 1768.Merge Strings Alternately
- 1788.Maximize the Beauty of the Garden
- 1800-1899
- 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
- 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
- 1888.Minimum Number of Flips to Make the Binary String Alternating
- 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
- 2000-2099/2009.Minimum Number of Operations to Make Array Continuous
- 2100-2199/2131.Longest Palindrome by Concatenating Two Letter Words
- 2300-2399
- 2311.Longest Binary Subsequence Less Than or Equal to K
- 2357.Make Array Zero by Subtracting Equal Amounts
- 2358.Maximum Number of Groups Entering a Competition
- 2359.Find Closest Node to Given Two Nodes
- 2400-2499/2434.Using a Robot to Print the Lexicographically Smallest String
- 2500-2599/2505.Bitwise OR of All Subsequence Sums
- 2600-2699/2616.Minimize the Maximum Difference of Pairs
- 2800-2899/2894.Divisible and Non-divisible Sums Difference
- 2900-2999
- 2929.Distribute Candies Among Children II
- 2942.Find Words Containing Character
- 2966.Divide Array Into Arrays With Max Difference
- 3100-3199/3170.Lexicographically Minimum String After Removing Stars
- 3300-3399
- 3356.Zero Array Transformation II
- 3357.Minimize the Maximum Adjacent Element Difference
- 3362.Zero Array Transformation III
- 3372.Maximize the Number of Target Nodes After Connecting Trees I
- 3373.Maximize the Number of Target Nodes After Connecting Trees II
- 3400-3499
- 3403.Find the Lexicographically Largest String From the Box I
- 3405.Count the Number of Arrays with K Matching Adjacent Elements
- 3406.Find the Lexicographically Largest String From the Box II
- 3442.Maximum Difference Between Even and Odd Frequency I
- 3445.Maximum Difference Between Even and Odd Frequency II
- 3500-3599
- 3506.Find Time Required to Eliminate Bacterial Strains II
- 3522.Calculate Score After Performing Instructions
- 3523.Make Array Non-decreasing
- 3524.Find X Value of Array I
- 3525.Find X Value of Array II
- 3527.Find the Most Common Response
- 3528.Unit Conversion I
- 3529.Count Cells in Overlapping Horizontal and Vertical Substrings
- 3530.Maximum Profit from Valid Topological Order in DAG
- 3531.Count Covered Buildings
- 3532.Path Existence Queries in a Graph I
- 3533.Concatenated Divisibility
- 3534.Path Existence Queries in a Graph II
- 3536.Maximum Product of Two Digits
- 3537.Fill a Special Grid
- 3538.Merge Operations for Minimum Travel Time
- 3539.Find Sum of Array Product of Magical Sequences
- 3541.Find Most Frequent Vowel and Consonant
- 3542.Minimum Operations to Convert All Elements to Zero
- 3543.Maximum Weighted K-Edge Path
- 3544.Subtree Inversion Sum
- 3545.Minimum Deletions for At Most K Distinct Characters
- 3546.Equal Sum Grid Partition I
- 3547.Maximum Sum of Edge Values in a Graph
- 3548.Equal Sum Grid Partition II
- 3549.Multiply Two Polynomials
- 3550.Smallest Index With Digit Sum Equal to Index
- 3551.Minimum Swaps to Sort by Digit Sum
- 3552.Grid Teleportation Traversal
- 3553.Minimum Weighted Subgraph With the Required Paths II
- 3554.Find Category Recommendation Pairs
- 3555.Smallest Subarray to Sort in Every Sliding Window
- 3556.Sum of Largest Prime Substrings
- 3557.Find Maximum Number of Non Intersecting Substrings
- 3558.Number of Ways to Assign Edge Weights I
- images
- 3559.Number of Ways to Assign Edge Weights II
- images
- 3560.Find Minimum Log Transportation Cost
- 3561.Resulting String After Adjacent Removals
- 3562.Maximum Profit from Trading Stocks with Discounts
- images
- 3563.Lexicographically Smallest String After Adjacent Removals
- 3564.Seasonal Sales Analysis
- 3565.Sequential Grid Path Cover
- images
- 3566.Partition Array into Two Equal Product Subsets
- 3567.Minimum Absolute Difference in Sliding Submatrix
- 3568.Minimum Moves to Clean the Classroom
- 3569.Maximize Count of Distinct Primes After Split
- 3570.Find Books with No Available Copies
- 3571.Find the Shortest Superstring II
- 3572.Maximize Y‑Sum by Picking a Triplet of Distinct X‑Values
- 3573.Best Time to Buy and Sell Stock V
- 3574.Maximize Subarray GCD Score
- 3575.Maximum Good Subtree Score
- images
- 3576.Transform Array to All Equal Elements
- 3577.Count the Number of Computer Unlocking Permutations
- 3578.Count Partitions With Max-Min Difference at Most K
- 3579.Minimum Steps to Convert String with Operations
- 3580.Find Consistently Improving Employees
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
480 files changed
+55564
-34059
lines changedLines changed: 8 additions & 25 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| |||
190 | 190 |
| |
191 | 191 |
| |
192 | 192 |
| |
193 |
| - | |
| 193 | + | |
194 | 194 |
| |
195 | 195 |
| |
196 |
| - | |
197 |
| - | |
198 |
| - | |
199 |
| - | |
200 |
| - | |
201 |
| - | |
202 |
| - | |
203 |
| - | |
204 |
| - | |
205 |
| - | |
| 196 | + | |
206 | 197 |
| |
207 | 198 |
| |
208 | 199 |
| |
| |||
224 | 215 |
| |
225 | 216 |
| |
226 | 217 |
| |
227 |
| - | |
228 |
| - | |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 |
| - | |
234 |
| - | |
235 |
| - | |
236 |
| - | |
237 | 218 |
| |
238 | 219 |
| |
239 | 220 |
| |
240 | 221 |
| |
241 |
| - | |
| 222 | + | |
242 | 223 |
| |
243 | 224 |
| |
244 | 225 |
| |
245 |
| - | |
246 |
| - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
247 | 230 |
| |
248 | 231 |
| |
249 | 232 |
| |
|
Lines changed: 6 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
185 | 185 |
| |
186 | 186 |
| |
187 | 187 |
| |
188 |
| - | |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 |
| - | |
197 |
| - | |
| 188 | + | |
198 | 189 |
| |
199 | 190 |
| |
200 | 191 |
| |
| |||
216 | 207 |
| |
217 | 208 |
| |
218 | 209 |
| |
219 |
| - | |
220 |
| - | |
221 |
| - | |
222 |
| - | |
223 |
| - | |
224 |
| - | |
225 |
| - | |
226 |
| - | |
227 |
| - | |
228 |
| - | |
229 | 210 |
| |
230 | 211 |
| |
231 | 212 |
| |
232 | 213 |
| |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
233 | 219 |
| |
234 | 220 |
| |
235 | 221 |
| |
|
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
0 commit comments