File tree
138 files changed
+465
-394
lines changed- solution
- 0000-0099
- 0013.Roman to Integer
- 0014.Longest Common Prefix
- 0017.Letter Combinations of a Phone Number
- 0033.Search in Rotated Sorted Array
- 0034.Find First and Last Position of Element in Sorted Array
- 0050.Pow(x, n)
- 0056.Merge Intervals
- 0068.Text Justification
- 0100-0199
- 0126.Word Ladder II
- 0158.Read N Characters Given read4 II - Call Multiple Times
- 0192.Word Frequency
- 0200-0299
- 0209.Minimum Size Subarray Sum
- 0230.Kth Smallest Element in a BST
- 0241.Different Ways to Add Parentheses
- 0251.Flatten 2D Vector
- 0300-0399
- 0304.Range Sum Query 2D - Immutable
- 0313.Super Ugly Number
- 0336.Palindrome Pairs
- 0342.Power of Four
- 0383.Ransom Note
- 0397.Integer Replacement
- 0400-0499
- 0401.Binary Watch
- 0444.Sequence Reconstruction
- 0450.Delete Node in a BST
- 0472.Concatenated Words
- 0497.Random Point in Non-overlapping Rectangles
- 0500-0599
- 0532.K-diff Pairs in an Array
- 0554.Brick Wall
- 0600-0699
- 0607.Sales Person
- 0668.Kth Smallest Number in Multiplication Table
- 0673.Number of Longest Increasing Subsequence
- 0687.Longest Univalue Path
- 0696.Count Binary Substrings
- 0700-0799
- 0710.Random Pick with Blacklist
- 0733.Flood Fill
- 0745.Prefix and Suffix Search
- 0756.Pyramid Transition Matrix
- 0775.Global and Local Inversions
- 0783.Minimum Distance Between BST Nodes
- 0786.K-th Smallest Prime Fraction
- 0791.Custom Sort String
- 0800-0899
- 0830.Positions of Large Groups
- 0836.Rectangle Overlap
- 0864.Shortest Path to Get All Keys
- 0900-0999/0945.Minimum Increment to Make Array Unique
- 1000-1099
- 1032.Stream of Characters
- 1046.Last Stone Weight
- 1089.Duplicate Zeros
- 1200-1299
- 1217.Minimum Cost to Move Chips to The Same Position
- 1258.Synonymous Sentences
- 1260.Shift 2D Grid
- 1300-1399/1368.Minimum Cost to Make at Least One Valid Path in a Grid
- 1400-1499/1492.The kth Factor of n
- 1500-1599
- 1523.Count Odd Numbers in an Interval Range
- 1539.Kth Missing Positive Number
- 1557.Minimum Number of Vertices to Reach All Nodes
- 1588.Sum of All Odd Length Subarrays
- 1600-1699
- 1682.Longest Palindromic Subsequence II
- 1692.Count Ways to Distribute Candies
- 1700-1799/1723.Find Minimum Time to Finish All Jobs
- 1800-1899
- 1823.Find the Winner of the Circular Game
- 1850.Minimum Adjacent Swaps to Reach the Kth Smallest Number
- 1900-1999/1901.Find a Peak Element II
- 2000-2099/2017.Grid Game
- 2100-2199
- 2164.Sort Even and Odd Indices Independently
- 2166.Design Bitset
- 2200-2299
- 2201.Count Artifacts That Can Be Extracted
- 2205.The Number of Users That Are Eligible for Discount
- 2230.The Users That Are Eligible for Discount
- 2286.Booking Concert Tickets in Groups
- 2287.Rearrange Characters to Make Target String
- 2288.Apply Discount to Prices
- 2289.Steps to Make Array Non-decreasing
- 2290.Minimum Obstacle Removal to Reach Corner
- 2291.Maximum Profit From Trading Stocks
- 2292.Products With Three or More Orders in Two Consecutive Years
- 2293.Min Max Game
- 2294.Partition Array Such That Maximum Difference Is K
- 2295.Replace Elements in an Array
- 2296.Design a Text Editor
- 2297.Jump Game IX
- 2298.Tasks Count in the Weekend
- 2299.Strong Password Checker II
- 2300-2399
- 2300.Successful Pairs of Spells and Potions
- 2301.Match Substring After Replacement
- 2302.Count Subarrays With Score Less Than K
- 2303.Calculate Amount Paid in Taxes
- 2304.Minimum Path Cost in a Grid
- 2305.Fair Distribution of Cookies
- 2306.Naming a Company
- 2307.Check for Contradictions in Equations
- 2308.Arrange Table by Gender
- 2309.Greatest English Letter in Upper and Lower Case
- 2310.Sum of Numbers With Units Digit K
- 2311.Longest Binary Subsequence Less Than or Equal to K
- 2312.Selling Pieces of Wood
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
138 files changed
+465
-394
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
|
Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
10 |
| - | |
11 |
| - | |
12 |
| - | |
| 9 | + | |
| 10 | + | |
13 | 11 |
| |
14 | 12 |
| |
15 | 13 |
| |
|
Lines changed: 10 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
| |||
21 | 23 |
| |
22 | 24 |
| |
23 | 25 |
| |
24 |
| - | |
| 26 | + | |
25 | 27 |
| |
26 | 28 |
| |
27 | 29 |
| |
| |||
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
| |
37 |
| - | |
| 39 | + | |
38 | 40 |
| |
39 | 41 |
| |
40 | 42 |
| |
41 | 43 |
| |
42 |
| - | |
43 |
| - | |
| 44 | + | |
| 45 | + | |
44 | 46 |
| |
45 | 47 |
| |
46 |
| - | |
| 48 | + | |
47 | 49 |
| |
48 | 50 |
| |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 | 51 |
| |
54 | 52 |
| |
55 | 53 |
| |
|
Lines changed: 10 additions & 14 deletions
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 |
| - | |
| 15 | + | |
20 | 16 |
| |
21 | 17 |
| |
22 | 18 |
| |
23 | 19 |
| |
24 | 20 |
| |
25 | 21 |
| |
26 | 22 |
| |
27 |
| - | |
| 23 | + | |
28 | 24 |
| |
29 | 25 |
| |
30 | 26 |
| |
| |||
36 | 32 |
| |
37 | 33 |
| |
38 | 34 |
| |
39 |
| - | |
| 35 | + | |
40 | 36 |
| |
41 | 37 |
| |
42 | 38 |
| |
43 | 39 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
48 | 44 |
| |
49 | 45 |
| |
50 | 46 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
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 |
| |
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
| 46 | + | |
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
| 48 | + | |
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
| 42 | + | |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
|
0 commit comments