File tree
154 files changed
+802
-449
lines changed- solution
- 0100-0199
- 0174.Dungeon Game
- 0192.Word Frequency
- 0300-0399
- 0320.Generalized Abbreviation
- 0336.Palindrome Pairs
- 0500-0599
- 0554.Brick Wall
- 0587.Erect the Fence
- 0594.Longest Harmonious Subsequence
- 0600-0699/0679.24 Game
- 0700-0799
- 0745.Prefix and Suffix Search
- 0753.Cracking the Safe
- 0775.Global and Local Inversions
- 0799.Champagne Tower
- 0800-0899
- 0818.Race Car
- 0824.Goat Latin
- 0827.Making A Large Island
- 0830.Positions of Large Groups
- 0897.Increasing Order Search Tree
- 0900-0999
- 0909.Snakes and Ladders
- 0930.Binary Subarrays With Sum
- 0936.Stamping The Sequence
- 0966.Vowel Spellchecker
- 0972.Equal Rational Numbers
- 0978.Longest Turbulent Subarray
- 1000-1099
- 1011.Capacity To Ship Packages Within D Days
- 1096.Brace Expansion II
- 1100-1199
- 1108.Defanging an IP Address
- 1111.Maximum Nesting Depth of Two Valid Parentheses Strings
- 1137.N-th Tribonacci Number
- 1138.Alphabet Board Path
- 1139.Largest 1-Bordered Square
- 1184.Distance Between Bus Stops
- 1187.Make Array Strictly Increasing
- 1200-1299
- 1232.Check If It Is a Straight Line
- 1238.Circular Permutation in Binary Representation
- 1244.Design A Leaderboard
- 1248.Count Number of Nice Subarrays
- 1256.Encode Number
- 1266.Minimum Time Visiting All Points
- 1300-1399
- 1301.Number of Paths with Max Score
- 1318.Minimum Flips to Make a OR b Equal to c
- 1324.Print Words Vertically
- 1396.Design Underground System
- 1400-1499
- 1403.Minimum Subsequence in Non-Increasing Order
- 1409.Queries on a Permutation With Key
- 1418.Display Table of Food Orders in a Restaurant
- 1444.Number of Ways of Cutting a Pizza
- 1448.Count Good Nodes in Binary Tree
- 1470.Shuffle the Array
- 1480.Running Sum of 1d Array
- 1481.Least Number of Unique Integers after K Removals
- 1500-1599
- 1514.Path with Maximum Probability
- 1523.Count Odd Numbers in an Interval Range
- 1533.Find the Index of the Large Integer
- 1534.Count Good Triplets
- 1538.Guess the Majority in a Hidden Array
- 1557.Minimum Number of Vertices to Reach All Nodes
- 1585.Check If String Is Transformable With Substring Sort Operations
- 1600-1699
- 1617.Count Subtrees With Max Distance Between Cities
- 1618.Maximum Font to Fit a Sentence in a Screen
- 1620.Coordinate With Maximum Network Quality
- 1631.Path With Minimum Effort
- 1634.Add Two Polynomials Represented as Linked Lists
- 1649.Create Sorted Array through Instructions
- 1657.Determine if Two Strings Are Close
- 1660.Correct a Binary Tree
- 1675.Minimize Deviation in Array
- 1700-1799
- 1702.Maximum Binary String After Change
- 1712.Ways to Split Array Into Three Subarrays
- 1717.Maximum Score From Removing Substrings
- 1724.Checking Existence of Edge Length Limited Paths II
- 1725.Number Of Rectangles That Can Form The Largest Square
- 1746.Maximum Subarray Sum After One Operation
- 1754.Largest Merge Of Two Strings
- 1756.Design Most Recently Used Queue
- 1759.Count Number of Homogenous Substrings
- 1760.Minimum Limit of Balls in a Bag
- 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
- 1823.Find the Winner of the Circular Game
- 1827.Minimum Operations to Make the Array Increasing
- 1833.Maximum Ice Cream Bars
- 1836.Remove Duplicates From an Unsorted Linked List
- 1850.Minimum Adjacent Swaps to Reach the Kth Smallest Number
- 1852.Distinct Numbers in Each Subarray
- 1857.Largest Color Value in a Directed Graph
- 1858.Longest Word With All Prefixes
- 1859.Sorting the Sentence
- 1861.Rotating the Box
- 1872.Stone Game VIII
- 1874.Minimize Product Sum of Two Arrays
- 1877.Minimize Maximum Pair Sum in Array
- 1891.Cutting Ribbons
- 1899.Merge Triplets to Form Target Triplet
- 1900-1999
- 1900.The Earliest and Latest Rounds Where Players Compete
- 1902.Depth of BST Given Insertion Order
- 1911.Maximum Alternating Subsequence Sum
- 1912.Design Movie Rental System
- 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
- 1943.Describe the Painting
- 1948.Delete Duplicate Folders in System
- 1994.The Number of Good Subsets
- 2000-2099
- 2015.Average Height of Buildings in Each Segment
- 2052.Minimum Cost to Separate Sentence Into Rows
- 2100-2199
- 2111.Minimum Operations to Make the Array K-Increasing
- 2117.Abbreviating the Product of a Range
- 2135.Count Words Obtained After Adding a Letter
- 2140.Solving Questions With Brainpower
- 2145.Count the Hidden Sequences
- 2164.Sort Even and Odd Indices Independently
- 2194.Cells in a Range on an Excel Sheet
- 2198.Number of Single Divisor Triplets
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
154 files changed
+802
-449
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
90 |
| - | |
91 | 90 |
| |
92 | 91 |
| |
93 | 92 |
| |
94 | 93 |
| |
95 | 94 |
| |
96 |
| - | |
97 | 95 |
| |
98 | 96 |
| |
99 | 97 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 | 12 |
| |
14 |
| - | |
15 | 13 |
| |
16 |
| - | |
17 | 14 |
| |
18 | 15 |
| |
19 | 16 |
| |
| |||
47 | 44 |
| |
48 | 45 |
| |
49 | 46 |
| |
50 |
| - | |
51 | 47 |
| |
52 |
| - | |
53 | 48 |
| |
54 | 49 |
| |
55 | 50 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 | 13 |
| |
15 | 14 |
| |
16 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
12 | 11 |
| |
13 | 12 |
| |
14 | 13 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
36 |
| - | |
37 | 35 |
| |
38 | 36 |
| |
39 | 37 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
32 |
| - | |
33 | 31 |
| |
34 | 32 |
| |
35 | 33 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
45 | 44 |
| |
46 |
| - | |
47 | 45 |
| |
48 |
| - | |
49 | 46 |
| |
50 |
| - | |
51 | 47 |
| |
52 |
| - | |
53 | 48 |
| |
54 | 49 |
| |
55 | 50 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 |
| - | |
53 | 52 |
| |
54 |
| - | |
55 | 53 |
| |
56 | 54 |
| |
57 | 55 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 | 15 |
| |
17 | 16 |
| |
18 | 17 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 | 13 |
| |
15 | 14 |
| |
16 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
35 |
| - | |
36 | 34 |
| |
37 | 35 |
| |
38 | 36 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 | 13 |
| |
15 | 14 |
| |
16 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
46 |
| - | |
47 | 45 |
| |
48 | 46 |
| |
49 | 47 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 |
| - | |
59 | 58 |
| |
60 |
| - | |
61 | 59 |
| |
62 | 60 |
| |
63 | 61 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
12 | 11 |
| |
13 | 12 |
| |
14 | 13 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 | 13 |
| |
15 | 14 |
| |
16 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
55 | 54 |
| |
56 |
| - | |
57 | 55 |
| |
58 |
| - | |
59 | 56 |
| |
60 |
| - | |
61 | 57 |
| |
62 | 58 |
| |
63 | 59 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
52 |
| - | |
53 | 51 |
| |
54 | 52 |
| |
55 | 53 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
41 | 40 |
| |
42 |
| - | |
43 | 41 |
| |
44 | 42 |
| |
45 | 43 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 | 17 |
| |
19 | 18 |
| |
20 | 19 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 | 13 |
| |
15 | 14 |
| |
16 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
49 | 48 |
| |
50 |
| - | |
51 | 49 |
| |
52 |
| - | |
53 | 50 |
| |
54 | 51 |
| |
55 | 52 |
| |
| |||
221 | 218 |
| |
222 | 219 |
| |
223 | 220 |
| |
224 |
| - | |
225 |
| - | |
226 |
| - | |
227 |
| - | |
228 |
| - | |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 |
| - | |
234 |
| - | |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 |
| - | |
239 |
| - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
240 | 237 |
| |
241 | 238 |
| |
242 | 239 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 | 13 |
| |
15 | 14 |
| |
16 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 | 15 |
| |
17 | 16 |
| |
18 | 17 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 | 13 |
| |
15 | 14 |
| |
16 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 | 15 |
| |
17 | 16 |
| |
18 | 17 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 | 13 |
| |
15 | 14 |
| |
16 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 | 17 |
| |
19 | 18 |
| |
20 | 19 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 | 15 |
| |
17 | 16 |
| |
18 | 17 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
84 |
| - | |
85 | 84 |
| |
86 |
| - | |
87 | 85 |
| |
88 | 86 |
| |
89 | 87 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 | 15 |
| |
17 | 16 |
| |
18 | 17 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
33 | 32 |
| |
34 | 33 |
| |
35 | 34 |
| |
| |||
60 | 59 |
| |
61 | 60 |
| |
62 | 61 |
| |
63 |
| - | |
| 62 | + | |
64 | 63 |
| |
65 | 64 |
| |
66 | 65 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
11 | 10 |
| |
12 |
| - | |
13 | 11 |
| |
14 |
| - | |
15 | 12 |
| |
16 | 13 |
| |
17 | 14 |
| |
18 | 15 |
| |
19 | 16 |
| |
20 | 17 |
| |
21 | 18 |
| |
22 |
| - | |
23 | 19 |
| |
24 |
| - | |
25 | 20 |
| |
26 |
| - | |
27 | 21 |
| |
28 | 22 |
| |
29 | 23 |
| |
|
0 commit comments