File tree
185 files changed
+8802
-8776
lines changed- lcci/17.12.BiNode
- solution
- 0000-0099
- 0020.Valid Parentheses
- 0025.Reverse Nodes in k-Group
- 0041.First Missing Positive
- 0100-0199
- 0122.Best Time to Buy and Sell Stock II
- 0169.Majority Element
- 0174.Dungeon Game
- 0180.Consecutive Numbers
- 0192.Word Frequency
- 0196.Delete Duplicate Emails
- 0200-0299/0207.Course Schedule
- 0300-0399
- 0302.Smallest Rectangle Enclosing Black Pixels
- 0320.Generalized Abbreviation
- 0328.Odd Even Linked List
- 0336.Palindrome Pairs
- 0384.Shuffle an Array
- 0388.Longest Absolute File Path
- 0393.UTF-8 Validation
- 0396.Rotate Function
- 0398.Random Pick Index
- 0400-0499/0417.Pacific Atlantic Water Flow
- 0500-0599
- 0554.Brick Wall
- 0578.Get Highest Answer Rate Question
- 0587.Erect the Fence
- 0594.Longest Harmonious Subsequence
- 0600-0699
- 0606.Construct String from Binary Tree
- 0607.Sales Person
- 0608.Tree Node
- 0669.Trim a Binary Search Tree
- 0682.Baseball Game
- 0700-0799
- 0706.Design HashMap
- 0713.Subarray Product Less Than K
- 0743.Network Delay Time
- 0745.Prefix and Suffix Search
- 0775.Global and Local Inversions
- 0785.Is Graph Bipartite
- 0799.Champagne Tower
- 0800-0899
- 0802.Find Eventual Safe States
- 0818.Race Car
- 0822.Card Flipping Game
- 0824.Goat Latin
- 0827.Making A Large Island
- 0828.Count Unique Characters of All Substrings of a Given String
- 0830.Positions of Large Groups
- 0875.Koko Eating Bananas
- 0897.Increasing Order Search Tree
- 0900-0999
- 0905.Sort Array By Parity
- 0908.Smallest Range I
- 0923.3Sum With Multiplicity
- 0926.Flip String to Monotone Increasing
- 0930.Binary Subarrays With Sum
- 0966.Vowel Spellchecker
- 0972.Equal Rational Numbers
- 0978.Longest Turbulent Subarray
- 1000-1099/1011.Capacity To Ship Packages Within D Days
- 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
- 1488.Avoid Flood in The City
- 1494.Parallel Courses II
- 1500-1599
- 1514.Path with Maximum Probability
- 1520.Maximum Number of Non-Overlapping Substrings
- 1523.Count Odd Numbers in an Interval Range
- 1534.Count Good Triplets
- 1541.Minimum Insertions to Balance a Parentheses String
- 1557.Minimum Number of Vertices to Reach All Nodes
- 1600-1699
- 1617.Count Subtrees With Max Distance Between Cities
- 1630.Arithmetic Subarrays
- 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
- 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
- 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
- 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
- 1886.Determine Whether Matrix Can Be Obtained By Rotation
- 1900-1999/1971.Find if Path Exists in Graph
- 2100-2199/2192.All Ancestors of a Node in a Directed Acyclic Graph
- 2200-2299
- 2239.Find Closest Number to Zero
- 2240.Number of Ways to Buy Pens and Pencils
- 2241.Design an ATM Machine
- 2242.Maximum Score of a Node Sequence
- 2243.Calculate Digit Sum of a String
- 2244.Minimum Rounds to Complete All Tasks
- 2245.Maximum Trailing Zeros in a Cornered Path
- 2246.Longest Path With Different Adjacent Characters
- 2247.Maximum Cost of Trip With K Highways
- 2248.Intersection of Multiple Arrays
- 2249.Count Lattice Points Inside a Circle
- 2250.Count Number of Rectangles Containing Each Point
- 2251.Number of Flowers in Full Bloom
- 2252.Dynamic Pivoting of a Table
- 2253.Dynamic Unpivoting of a Table
- 2254.Design Video Sharing Platform
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
185 files changed
+8802
-8776
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
41 | 40 |
| |
42 | 41 |
| |
43 | 42 |
| |
| |||
86 | 85 |
| |
87 | 86 |
| |
88 | 87 |
| |
89 |
| - | |
| 88 | + | |
90 | 89 |
| |
91 | 90 |
| |
92 | 91 |
| |
| |||
122 | 121 |
| |
123 | 122 |
| |
124 | 123 |
| |
125 |
| - | |
| 124 | + | |
126 | 125 |
| |
127 | 126 |
| |
128 | 127 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
| 79 | + | |
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
| |||
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
115 |
| - | |
| 115 | + | |
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
72 |
| - | |
| 71 | + | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
76 |
| - | |
77 |
| - | |
| 76 | + | |
| 77 | + | |
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
| 15 | + | |
23 | 16 |
| |
24 | 17 |
| |
25 | 18 |
| |
| |||
29 | 22 |
| |
30 | 23 |
| |
31 | 24 |
| |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 | 25 |
| |
38 |
| - | |
| 26 | + | |
39 | 27 |
| |
40 | 28 |
| |
41 |
| - | |
42 |
| - | |
| 29 | + | |
| 30 | + | |
43 | 31 |
| |
44 | 32 |
| |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
| 33 | + | |
| 34 | + | |
51 | 35 |
| |
52 | 36 |
| |
| 37 | + | |
| 38 | + | |
| 39 | + | |
53 | 40 |
| |
54 | 41 |
| |
55 |
| - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
56 | 45 |
| |
57 | 46 |
| |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 | 47 |
| |
63 | 48 |
| |
64 | 49 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
157 | 157 |
| |
158 | 158 |
| |
159 | 159 |
| |
160 |
| - | |
| 160 | + | |
161 | 161 |
| |
162 |
| - | |
| 162 | + | |
163 | 163 |
| |
164 | 164 |
| |
165 | 165 |
| |
166 |
| - | |
| 166 | + | |
167 | 167 |
| |
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
171 | 171 |
| |
172 | 172 |
| |
173 |
| - | |
| 173 | + | |
174 | 174 |
| |
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
178 |
| - | |
| 178 | + | |
179 | 179 |
| |
180 | 180 |
| |
181 | 181 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 |
| - | |
| 108 | + | |
109 | 109 |
| |
110 |
| - | |
| 110 | + | |
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
114 |
| - | |
| 114 | + | |
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
121 |
| - | |
| 121 | + | |
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
126 |
| - | |
| 126 | + | |
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 |
| - | |
12 |
| - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
16 |
| - | |
| 17 | + | |
17 | 18 |
| |
18 | 19 |
| |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
24 | 25 |
| |
25 |
| - | |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
33 | 33 |
| |
34 |
| - | |
| 34 | + | |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
38 |
| - | |
39 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
| 28 | + | |
| 29 | + | |
31 | 30 |
| |
32 | 31 |
| |
33 |
| - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
34 | 35 |
| |
35 | 36 |
| |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
36 | 41 |
| |
37 | 42 |
| |
38 | 43 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
91 |
| - | |
92 | 91 |
| |
93 |
| - | |
94 | 92 |
| |
95 | 93 |
| |
96 |
| - | |
97 | 94 |
| |
98 | 95 |
| |
99 | 96 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
12 | 13 |
| |
| 14 | + | |
13 | 15 |
| |
| 16 | + | |
14 | 17 |
| |
15 | 18 |
| |
16 | 19 |
| |
| |||
44 | 47 |
| |
45 | 48 |
| |
46 | 49 |
| |
| 50 | + | |
47 | 51 |
| |
| 52 | + | |
48 | 53 |
| |
49 | 54 |
| |
50 | 55 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 |
| - | |
| 26 | + | |
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| 32 | + | |
| 33 | + | |
32 | 34 |
| |
33 | 35 |
| |
34 | 36 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
39 |
| - | |
| 38 | + | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
27 | 26 |
| |
28 | 27 |
| |
29 | 28 |
| |
|
0 commit comments