File tree
187 files changed
+9875
-9727
lines changed- basic/sorting
- CountingSort
- HeapSort
- lcci
- 03.05.Sort of Stacks
- 04.06.Successor
- lcof
- 面试题13. 机器人的运动范围
- 面试题57. 和为s的两个数字
- solution
- 0000-0099
- 0006.Zigzag Conversion
- 0028.Implement strStr()
- 0038.Count and Say
- 0051.N-Queens
- 0057.Insert Interval
- 0058.Length of Last Word
- 0100-0199
- 0146.LRU Cache
- 0158.Read N Characters Given read4 II - Call Multiple Times
- 0171.Excel Sheet Column Number
- 0175.Combine Two Tables
- 0191.Number of 1 Bits
- 0192.Word Frequency
- 0196.Delete Duplicate Emails
- 0200-0299
- 0229.Majority Element II
- 0251.Flatten 2D Vector
- 0277.Find the Celebrity
- 0300-0399
- 0303.Range Sum Query - Immutable
- 0313.Super Ugly Number
- 0336.Palindrome Pairs
- 0394.Decode String
- 0400-0499
- 0432.All O`one Data Structure
- 0433.Minimum Genetic Mutation
- 0436.Find Right Interval
- 0456.132 Pattern
- 0462.Minimum Moves to Equal Array Elements II
- 0467.Unique Substrings in Wraparound String
- 0468.Validate IP Address
- 0472.Concatenated Words
- 0500-0599
- 0535.Encode and Decode TinyURL
- 0554.Brick Wall
- 0560.Subarray Sum Equals K
- 0584.Find Customer Referee
- 0591.Tag Validator
- 0595.Big Countries
- 0600-0699
- 0608.Tree Node
- 0660.Remove 9
- 0679.24 Game
- 0691.Stickers to Spell Word
- 0699.Falling Squares
- 0700-0799
- 0707.Design Linked List
- 0719.Find K-th Smallest Pair Distance
- 0721.Accounts Merge
- 0743.Network Delay Time
- 0745.Prefix and Suffix Search
- 0749.Contain Virus
- 0775.Global and Local Inversions
- 0800-0899/0830.Positions of Large Groups
- 0900-0999
- 0907.Sum of Subarray Minimums
- 0933.Number of Recent Calls
- 0998.Maximum Binary Tree II
- 1000-1099
- 1052.Grumpy Bookstore Owner
- 1084.Sales Analysis III
- 1100-1199/1195.Fizz Buzz Multithreaded
- 1300-1399
- 1316.Distinct Echo Substrings
- 1355.Activity Participants
- 1381.Design a Stack With Increment Operation
- 1400-1499
- 1404.Number of Steps to Reduce a Number in Binary Representation to One
- 1488.Avoid Flood in The City
- 1500-1599
- 1520.Maximum Number of Non-Overlapping Substrings
- 1587.Bank Account Summary II
- 1597.Build Binary Expression Tree From Infix Expression
- 1600-1699/1692.Count Ways to Distribute Candies
- 1800-1899/1823.Find the Winner of the Circular Game
- 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
- 1916.Count Ways to Build Rooms in an Ant Colony
- 1923.Longest Common Subpath
- 1943.Describe the Painting
- 1948.Delete Duplicate Folders in System
- 1951.All the Pairs With the Maximum Number of Common Followers
- 1993.Operations on Tree
- 1994.The Number of Good Subsets
- 2000-2099
- 2015.Average Height of Buildings in Each Segment
- 2032.Two Out of Three
- 2052.Minimum Cost to Separate Sentence Into Rows
- 2069.Walking Robot Simulation II
- 2100-2199
- 2104.Sum of Subarray Ranges
- 2111.Minimum Operations to Make the Array K-Increasing
- 2117.Abbreviating the Product of a Range
- 2132.Stamping the Grid
- 2135.Count Words Obtained After Adding a Letter
- 2140.Solving Questions With Brainpower
- 2145.Count the Hidden Sequences
- 2151.Maximum Good People Based on Statements
- 2164.Sort Even and Odd Indices Independently
- 2186.Minimum Number of Steps to Make Two Strings Anagram II
- 2194.Cells in a Range on an Excel Sheet
- 2200-2299
- 2255.Count Prefixes of a Given String
- 2256.Minimum Average Difference
- 2257.Count Unguarded Cells in the Grid
- 2258.Escape the Spreading Fire
- 2259.Remove Digit From Number to Maximize Result
- 2260.Minimum Consecutive Cards to Pick Up
- 2261.K Divisible Elements Subarrays
- 2262.Total Appeal of A String
- 2263.Make Array Non-decreasing or Non-increasing
- 2264.Largest 3-Same-Digit Number in String
- 2268.Minimum Number of Keypresses
- 2273.Find Resultant Array After Removing Anagrams
- 2274.Maximum Consecutive Floors Without Special Floors
- 2275.Largest Combination With Bitwise AND Greater Than Zero
- 2276.Count Integers in Intervals
- 2277.Closest Node to Path in Tree
- 2278.Percentage of Letter in String
- 2279.Maximum Bags With Full Capacity of Rocks
- 2280.Minimum Lines to Represent a Line Chart
- 2281.Sum of Total Strength of Wizards
- 2282.Number of People That Can Be Seen in a Grid
- 2283.Check if Number Has Equal Digit Count and Digit Value
- 2284.Sender With Largest Word Count
- 2285.Maximum Total Importance of Roads
- 2287.Rearrange Characters to Make Target String
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
187 files changed
+9875
-9727
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
| |||
68 | 69 |
| |
69 | 70 |
| |
70 | 71 |
| |
71 |
| - | |
72 |
| - | |
73 |
| - | |
| 72 | + | |
| 73 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
225 | 225 |
| |
226 | 226 |
| |
227 | 227 |
| |
| 228 | + | |
228 | 229 |
| |
229 | 230 |
| |
230 | 231 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
163 |
| - | |
| 163 | + | |
164 | 164 |
| |
165 | 165 |
| |
166 |
| - | |
| 166 | + | |
167 | 167 |
| |
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
171 |
| - | |
172 |
| - | |
| 171 | + | |
| 172 | + | |
173 | 173 |
| |
174 | 174 |
| |
175 |
| - | |
| 175 | + | |
176 | 176 |
| |
177 | 177 |
| |
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
181 |
| - | |
| 181 | + | |
182 | 182 |
| |
183 | 183 |
| |
184 | 184 |
| |
185 |
| - | |
| 185 | + | |
186 | 186 |
| |
187 | 187 |
| |
188 | 188 |
| |
189 |
| - | |
| 189 | + | |
190 | 190 |
| |
191 | 191 |
| |
192 | 192 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
165 | 165 |
| |
166 | 166 |
| |
167 | 167 |
| |
168 |
| - | |
| 168 | + | |
169 | 169 |
| |
170 | 170 |
| |
171 |
| - | |
| 171 | + | |
172 | 172 |
| |
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
176 |
| - | |
177 |
| - | |
| 176 | + | |
| 177 | + | |
178 | 178 |
| |
179 | 179 |
| |
180 |
| - | |
| 180 | + | |
181 | 181 |
| |
182 | 182 |
| |
183 | 183 |
| |
184 | 184 |
| |
185 | 185 |
| |
186 |
| - | |
| 186 | + | |
187 | 187 |
| |
188 | 188 |
| |
189 | 189 |
| |
190 |
| - | |
| 190 | + | |
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
194 |
| - | |
| 194 | + | |
195 | 195 |
| |
196 | 196 |
| |
197 | 197 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
41 |
| - | |
42 | 40 |
| |
43 | 41 |
| |
44 | 42 |
| |
| |||
225 | 223 |
| |
226 | 224 |
| |
227 | 225 |
| |
228 |
| - | |
| 226 | + | |
229 | 227 |
| |
230 |
| - | |
231 |
| - | |
| 228 | + | |
| 229 | + | |
232 | 230 |
| |
233 |
| - | |
| 231 | + | |
234 | 232 |
| |
235 | 233 |
| |
236 |
| - | |
| 234 | + | |
237 | 235 |
| |
238 |
| - | |
| 236 | + | |
239 | 237 |
| |
240 | 238 |
| |
241 | 239 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
236 | 236 |
| |
237 | 237 |
| |
238 | 238 |
| |
239 |
| - | |
| 239 | + | |
240 | 240 |
| |
241 |
| - | |
242 |
| - | |
| 241 | + | |
| 242 | + | |
243 | 243 |
| |
244 |
| - | |
| 244 | + | |
245 | 245 |
| |
246 | 246 |
| |
247 |
| - | |
| 247 | + | |
248 | 248 |
| |
249 |
| - | |
| 249 | + | |
250 | 250 |
| |
251 | 251 |
| |
252 | 252 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
43 |
| - | |
| 42 | + | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| 33 | + | |
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
| |||
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
62 |
| - | |
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
60 | 59 |
| |
61 | 60 |
| |
62 | 61 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
15 | 13 |
| |
16 | 14 |
| |
17 | 15 |
| |
| |||
34 | 32 |
| |
35 | 33 |
| |
36 | 34 |
| |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 | 35 |
| |
45 | 36 |
| |
46 | 37 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
| 10 | + | |
9 | 11 |
| |
10 | 12 |
| |
11 | 13 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
61 | 60 |
| |
62 | 61 |
| |
63 | 62 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 |
| - | |
53 | 52 |
| |
54 | 53 |
| |
55 | 54 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 |
| - | |
106 | 105 |
| |
107 | 106 |
| |
108 | 107 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
100 |
| - | |
101 | 100 |
| |
102 | 101 |
| |
103 | 102 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
20 |
| - | |
| 19 | + | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
37 |
| - | |
| 36 | + | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
| 42 | + | |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| |||
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
76 |
| - | |
| 76 | + | |
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
177 | 177 |
| |
178 | 178 |
| |
179 | 179 |
| |
180 |
| - | |
181 | 180 |
| |
182 | 181 |
| |
183 | 182 |
| |
|
0 commit comments