File tree
155 files changed
+3108
-322
lines changed- solution
- 0100-0199
- 0131.Palindrome Partitioning
- 0195.Tenth Line
- 0200-0299/0278.First Bad Version
- 0500-0599/0525.Contiguous Array
- 0700-0799
- 0766.Toeplitz Matrix
- 0799.Champagne Tower
- 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
- 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
- 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
- 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
- 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
- 1959.Minimum Total Space Wasted With K Resizing Operations
- 2100-2199/2138.Divide a String Into Groups of Size k
- 2500-2599/2562.Find the Array Concatenation Value
- 2800-2899/2829.Determine the Minimum Sum of a k-avoiding Array
- 3100-3199/3147.Taking Maximum Energy From the Mystic Dungeon
- 3400-3499
- 3432.Count Partitions with Even Sum Difference
- 3433.Count Mentions Per User
- 3434.Maximum Frequency After Subarray Operation
- 3435.Frequencies of Shortest Supersequences
- 3438.Find Valid Pair of Adjacent Digits in String
- 3439.Reschedule Meetings for Maximum Free Time I
- 3440.Reschedule Meetings for Maximum Free Time II
- 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
- 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
- 3452.Sum of Good Numbers
- 3453.Separate Squares I
- 3454.Separate Squares II
- 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
- 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
- 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
- 3482.Analyze Organization Hierarchy
- 3483.Unique 3-Digit Even Numbers
- 3484.Design Spreadsheet
- 3485.Longest Common Prefix of K Strings After Removal
- 3486.Longest Special Path II
- images
- 3487.Maximum Unique Subarray Sum After Deletion
- 3488.Closest Equal Element Queries
- 3489.Zero Array Transformation IV
- 3490.Count Beautiful Numbers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
155 files changed
+3108
-322
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
| 28 | + | |
27 | 29 |
| |
| 30 | + | |
28 | 31 |
| |
| 32 | + | |
29 | 33 |
| |
| 34 | + | |
30 | 35 |
| |
| 36 | + | |
31 | 37 |
| |
| 38 | + | |
32 | 39 |
| |
| 40 | + | |
33 | 41 |
| |
| 42 | + | |
34 | 43 |
| |
| 44 | + | |
35 | 45 |
| |
| 46 | + | |
36 | 47 |
| |
37 | 48 |
| |
38 | 49 |
| |
39 | 50 |
| |
40 | 51 |
| |
| 52 | + | |
41 | 53 |
| |
| 54 | + | |
42 | 55 |
| |
43 | 56 |
| |
44 | 57 |
| |
| 58 | + | |
45 | 59 |
| |
| 60 | + | |
46 | 61 |
| |
47 | 62 |
| |
48 | 63 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
34 |
| - | |
| 33 | + | |
| 34 | + | |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
| 23 | + | |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 |
| |
32 |
| - | |
| 32 | + | |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
36 |
| - | |
37 |
| - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 |
| |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
| 39 | + | |
47 | 40 |
| |
48 | 41 |
| |
49 | 42 |
| |
50 | 43 |
| |
51 |
| - | |
| 44 | + | |
52 | 45 |
| |
53 | 46 |
| |
54 | 47 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 | 40 |
| |
49 | 41 |
| |
50 | 42 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
33 |
| - | |
| 32 | + | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
| 34 | + | |
33 | 35 |
| |
| 36 | + | |
34 | 37 |
| |
| 38 | + | |
35 | 39 |
| |
| 40 | + | |
36 | 41 |
| |
37 | 42 |
| |
38 | 43 |
| |
39 | 44 |
| |
40 | 45 |
| |
| 46 | + | |
41 | 47 |
| |
| 48 | + | |
42 | 49 |
| |
| 50 | + | |
43 | 51 |
| |
| 52 | + | |
44 | 53 |
| |
45 | 54 |
| |
46 | 55 |
| |
47 | 56 |
| |
48 | 57 |
| |
| 58 | + | |
49 | 59 |
| |
| 60 | + | |
50 | 61 |
| |
| 62 | + | |
51 | 63 |
| |
52 | 64 |
| |
53 | 65 |
| |
| 66 | + | |
54 | 67 |
| |
55 | 68 |
| |
56 | 69 |
| |
57 |
| - | |
58 |
| - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
59 | 75 |
| |
60 | 76 |
| |
61 | 77 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
| 28 | + | |
27 | 29 |
| |
| 30 | + | |
28 | 31 |
| |
| 32 | + | |
29 | 33 |
| |
| 34 | + | |
30 | 35 |
| |
| 36 | + | |
31 | 37 |
| |
| 38 | + | |
32 | 39 |
| |
| 40 | + | |
33 | 41 |
| |
| 42 | + | |
34 | 43 |
| |
35 | 44 |
| |
36 | 45 |
| |
37 |
| - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
38 | 49 |
| |
39 | 50 |
| |
40 | 51 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
26 |
| - | |
27 |
| - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 |
| |
29 | 33 |
| |
30 | 34 |
| |
31 | 35 |
| |
32 | 36 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
36 | 44 |
| |
37 | 45 |
| |
38 | 46 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 |
| |
37 | 43 |
| |
38 | 44 |
| |
39 | 45 |
| |
40 | 46 |
| |
41 | 47 |
| |
42 | 48 |
| |
| 49 | + | |
43 | 50 |
| |
| 51 | + | |
44 | 52 |
| |
| 53 | + | |
45 | 54 |
| |
| 55 | + | |
46 | 56 |
| |
| 57 | + | |
47 | 58 |
| |
| 59 | + | |
48 | 60 |
| |
| 61 | + | |
49 | 62 |
| |
| 63 | + | |
50 | 64 |
| |
| 65 | + | |
51 | 66 |
| |
52 | 67 |
| |
53 | 68 |
| |
54 |
| - | |
55 |
| - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
56 | 74 |
| |
57 | 75 |
| |
58 | 76 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| 30 | + | |
29 | 31 |
| |
| 32 | + | |
30 | 33 |
| |
| 34 | + | |
31 | 35 |
| |
32 | 36 |
| |
33 | 37 |
| |
34 | 38 |
| |
35 | 39 |
| |
| 40 | + | |
36 | 41 |
| |
| 42 | + | |
37 | 43 |
| |
| 44 | + | |
38 | 45 |
| |
39 | 46 |
| |
40 | 47 |
| |
| 48 | + | |
41 | 49 |
| |
42 | 50 |
| |
43 | 51 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
47 | 59 |
| |
48 | 60 |
| |
49 | 61 |
| |
|
0 commit comments