File tree
883 files changed
+59355
-41337
lines changed- images
- lcci/08.01.Three Steps Problem
- lcof2
- 剑指 Offer II 098. 路径的数目
- 剑指 Offer II 099. 最小路径之和
- 剑指 Offer II 100. 三角形中最小路径之和
- solution
- 0000-0099
- 0001.Two Sum
- 0003.Longest Substring Without Repeating Characters
- 0034.Find First and Last Position of Element in Sorted Array
- 0043.Multiply Strings
- 0046.Permutations
- 0056.Merge Intervals
- 0063.Unique Paths II
- 0070.Climbing Stairs
- 0100-0199
- 0153.Find Minimum in Rotated Sorted Array
- 0179.Largest Number
- 0180.Consecutive Numbers
- 0191.Number of 1 Bits
- 0200-0299
- 0233.Number of Digit One
- 0241.Different Ways to Add Parentheses
- 0287.Find the Duplicate Number
- 0300-0399
- 0303.Range Sum Query - Immutable
- 0304.Range Sum Query 2D - Immutable
- 0314.Binary Tree Vertical Order Traversal
- images
- 0345.Reverse Vowels of a String
- 0357.Count Numbers with Unique Digits
- 0400-0499
- 0415.Add Strings
- 0428.Serialize and Deserialize N-ary Tree
- images
- 0438.Find All Anagrams in a String
- 0461.Hamming Distance
- 0500-0599
- 0508.Most Frequent Subtree Sum
- 0509.Fibonacci Number
- 0567.Permutation in String
- 0600-0699
- 0600.Non-negative Integers without Consecutive Ones
- 0621.Task Scheduler
- 0640.Solve the Equation
- 0658.Find K Closest Elements
- 0666.Path Sum IV
- 0700-0799
- 0713.Subarray Product Less Than K
- 0728.Self Dividing Numbers
- 0729.My Calendar I
- 0731.My Calendar II
- 0733.Flood Fill
- 0772.Basic Calculator III
- 0788.Rotated Digits
- 0800-0899
- 0815.Bus Routes
- 0874.Walking Robot Simulation
- 0900-0999
- 0902.Numbers At Most N Given Digit Set
- 0912.Sort an Array
- 0929.Unique Email Addresses
- 1000-1099
- 1012.Numbers With Repeated Digits
- 1014.Best Sightseeing Pair
- 1018.Binary Prefix Divisible By 5
- 1020.Number of Enclaves
- 1028.Recover a Tree From Preorder Traversal
- images
- 1100-1199
- 1137.N-th Tribonacci Number
- 1184.Distance Between Bus Stops
- 1189.Maximum Number of Balloons
- 1200-1299
- 1204.Last Person to Fit in the Bus
- 1209.Remove All Adjacent Duplicates in String II
- 1211.Queries Quality and Percentage
- 1217.Minimum Cost to Move Chips to The Same Position
- 1218.Longest Arithmetic Subsequence of Given Difference
- 1220.Count Vowels Permutation
- 1228.Missing Number In Arithmetic Progression
- 1229.Meeting Scheduler
- 1239.Maximum Length of a Concatenated String with Unique Characters
- 1246.Palindrome Removal
- 1247.Minimum Swaps to Make Strings Equal
- 1248.Count Number of Nice Subarrays
- 1250.Check If It Is a Good Array
- 1251.Average Selling Price
- 1282.Group the People Given the Group Size They Belong To
- 1300-1399
- 1302.Deepest Leaves Sum
- 1367.Linked List in Binary Tree
- 1500-1599
- 1559.Detect Cycles in 2D Grid
- 1560.Most Visited Sector in a Circular Track
- 1561.Maximum Number of Coins You Can Get
- 1566.Detect Pattern of Length M Repeated K or More Times
- 1600-1699
- 1632.Rank Transform of a Matrix
- 1661.Average Time of Process per Machine
- 1666.Change the Root of a Binary Tree
- images
- 1683.Invalid Tweets
- 1700-1799
- 1743.Restore the Array From Adjacent Pairs
- 1769.Minimum Number of Operations to Move All Balls to Each Box
- 1800-1899
- 1813.Sentence Similarity III
- 1833.Maximum Ice Cream Bars
- 1858.Longest Word With All Prefixes
- 1870.Minimum Speed to Arrive on Time
- 1898.Maximum Number of Removable Characters
- 1900-1999
- 1910.Remove All Occurrences of a Substring
- 1925.Count Square Sum Triples
- 1945.Sum of Digits of String After Convert
- 1957.Delete Characters to Make Fancy String
- 1967.Number of Strings That Appear as Substrings in Word
- 1968.Array With Elements Not Equal to Average of Neighbors
- 1970.Last Day Where You Can Still Cross
- 1971.Find if Path Exists in Graph
- 2000-2099/2073.Time Needed to Buy Tickets
- 2100-2199
- 2132.Stamping the Grid
- 2133.Check if Every Row and Column Contains All Numbers
- 2145.Count the Hidden Sequences
- 2146.K Highest Ranked Items Within a Price Range
- 2147.Number of Ways to Divide a Long Corridor
- 2148.Count Elements With Strictly Smaller and Greater Elements
- 2176.Count Equal and Divisible Pairs in an Array
- 2177.Find Three Consecutive Integers That Sum to a Given Number
- 2181.Merge Nodes in Between Zeros
- 2200-2299
- 2207.Maximize Number of Subsequences in a String
- 2208.Minimum Operations to Halve Array Sum
- 2220.Minimum Bit Flips to Convert Number
- 2273.Find Resultant Array After Removing Anagrams
- 2274.Maximum Consecutive Floors Without Special Floors
- 2275.Largest Combination With Bitwise AND Greater Than Zero
- 2286.Booking Concert Tickets in Groups
- 2287.Rearrange Characters to Make Target String
- 2300-2399
- 2306.Naming a Company
- 2332.The Latest Time to Catch a Bus
- 2333.Minimum Sum of Squared Difference
- 2336.Smallest Number in Infinite Set
- 2374.Node With Highest Edge Score
- 2376.Count Special Integers
- 2383.Minimum Hours of Training to Win a Competition
- 2386.Find the K-Sum of an Array
- 2387.Median of a Row Wise Sorted Matrix
- 2389.Longest Subsequence With Limited Sum
- 2390.Removing Stars From a String
- 2393.Count Strictly Increasing Subarrays
- 2398.Maximum Number of Robots Within Budget
- 2399.Check Distances Between Same Letters
- 2400-2499
- 2400.Number of Ways to Reach a Position After Exactly k Steps
- 2401.Longest Nice Subarray
- 2403.Minimum Time to Kill All Monsters
- 2405.Optimal Partition of String
- 2410.Maximum Matching of Players With Trainers
- 2416.Sum of Prefix Scores of Strings
- 2419.Longest Subarray With Maximum Bitwise AND
- 2442.Count Number of Distinct Integers After Reverse Operations
- 2470.Number of Subarrays With LCM Equal to K
- 2472.Maximum Number of Non-overlapping Palindrome Substrings
- 2500-2599
- 2506.Count Pairs Of Similar Strings
- 2532.Time to Cross a Bridge
- 2535.Difference Between Element Sum and Digit Sum of an Array
- 2555.Maximize Win From Two Segments
- 2586.Count the Number of Vowel Strings in Range
- 2600-2699
- 2631.Group By
- 2687.Bikes Last Time Used
- 2700-2799
- 2707.Extra Characters in a String
- 2724.Sort By
- 2725.Interval Cancellation
- 2750.Ways to Split Array Into Good Subarrays
- 2800-2899
- 2848.Points That Intersect With Cars
- 2868.The Wording Game
- 2900-2999
- 2960.Count Tested Devices After Test Operations
- 2991.Top Three Wineries
- 3000-3099
- 3038.Maximum Number of Operations With the Same Score I
- 3043.Find the Length of the Longest Common Prefix
- 3088.Make String Anti-palindrome
- 3100-3199
- 3103.Find Trending Hashtags II
- 3128.Right Triangles
- 3176.Find the Maximum Length of a Good Subsequence I
- 3200-3299
- 3264.Final Array State After K Multiplication Operations I
- 3265.Count Almost Equal Pairs I
- 3266.Final Array State After K Multiplication Operations II
- 3267.Count Almost Equal Pairs II
- 3270.Find the Key of the Numbers
- 3271.Hash Divided String
- 3272.Find the Count of Good Integers
- 3273.Minimum Amount of Damage Dealt to Bob
- 3274.Check if Two Chessboard Squares Have the Same Color
- 3275.K-th Nearest Obstacle Queries
- 3276.Select Cells in Grid With Maximum Score
- 3277.Maximum XOR Score Subarray Queries
- 3279.Maximum Total Area Occupied by Pistons
- 3280.Convert Date to Binary
- 3281.Maximize Score of Numbers in Ranges
- 3282.Reach End of Array With Max Score
- 3283.Maximum Number of Moves to Kill All Pawns
- images
- 3284.Sum of Consecutive Subarrays
- 3285.Find Indices of Stable Mountains
- 3286.Find a Safe Walk Through a Grid
- images
- 3287.Find the Maximum Sequence Value of Array
- 3288.Length of the Longest Increasing Path
- 3289.The Two Sneaky Numbers of Digitville
- 3290.Maximum Multiplication Score
- 3291.Minimum Number of Valid Strings to Form Target I
- 3292.Minimum Number of Valid Strings to Form Target II
- 3293.Calculate Product Final Price
- 3294.Convert Doubly Linked List to Array II
- 3295.Report Spam Message
- 3296.Minimum Number of Seconds to Make Mountain Height Zero
- 3297.Count Substrings That Can Be Rearranged to Contain a String I
- 3298.Count Substrings That Can Be Rearranged to Contain a String II
- 3299.Sum of Consecutive Subsequences
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
883 files changed
+59355
-41337
lines changedLines changed: 28143 additions & 27831 deletions
Loading
Lines changed: 3 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | 229 | | |
261 | 230 | | |
262 | 231 | | |
| |||
266 | 235 | | |
267 | 236 | | |
268 | 237 | | |
269 | | - | |
270 | | - | |
| 238 | + | |
| 239 | + | |
271 | 240 | | |
272 | 241 | | |
273 | 242 | | |
| |||
Lines changed: 3 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | 232 | | |
264 | 233 | | |
265 | 234 | | |
| |||
269 | 238 | | |
270 | 239 | | |
271 | 240 | | |
272 | | - | |
273 | | - | |
| 241 | + | |
| 242 | + | |
274 | 243 | | |
275 | 244 | | |
276 | 245 | | |
| |||
Lines changed: 13 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 1 | + | |
13 | 2 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 3 | | |
| 4 | + | |
| 5 | + | |
23 | 6 | | |
24 | 7 | | |
25 | | - | |
26 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 42 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
250 | 274 | | |
251 | 275 | | |
252 | 276 | | |
| |||
362 | 386 | | |
363 | 387 | | |
364 | 388 | | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
365 | 407 | | |
366 | 408 | | |
367 | 409 | | |
| |||
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
205 | 233 | | |
206 | 234 | | |
207 | 235 | | |
| |||
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments