File tree
229 files changed
+9134
-9528
lines changed- lcof
- lcp
- lcs
- solution
- 0000-0099
- 0017.Letter Combinations of a Phone Number
- 0028.Implement strStr()
- 0035.Search Insert Position
- 0037.Sudoku Solver
- 0063.Unique Paths II
- 0064.Minimum Path Sum
- 0094.Binary Tree Inorder Traversal
- 0100-0199
- 0109.Convert Sorted List to Binary Search Tree
- 0151.Reverse Words in a String
- 0161.One Edit Distance
- 0166.Fraction to Recurring Decimal
- 0175.Combine Two Tables
- 0196.Delete Duplicate Emails
- 0200-0299
- 0202.Happy Number
- 0211.Design Add and Search Words Data Structure
- 0228.Summary Ranges
- 0237.Delete Node in a Linked List
- 0263.Ugly Number
- 0282.Expression Add Operators
- 0300-0399
- 0300.Longest Increasing Subsequence
- 0307.Range Sum Query - Mutable
- 0309.Best Time to Buy and Sell Stock with Cooldown
- 0312.Burst Balloons
- 0357.Count Numbers with Unique Digits
- 0400-0499
- 0404.Sum of Left Leaves
- 0436.Find Right Interval
- 0451.Sort Characters By Frequency
- 0452.Minimum Number of Arrows to Burst Balloons
- 0500-0599
- 0560.Subarray Sum Equals K
- 0565.Array Nesting
- 0583.Delete Operation for Two Strings
- 0584.Find Customer Referee
- 0600-0699
- 0607.Sales Person
- 0608.Tree Node
- 0618.Students Report By Geography
- 0650.2 Keys Keyboard
- 0662.Maximum Width of Binary Tree
- 0691.Stickers to Spell Word
- 0700-0799
- 0735.Asteroid Collision
- 0773.Sliding Puzzle
- 0779.K-th Symbol in Grammar
- 0787.Cheapest Flights Within K Stops
- images
- 0800-0899
- 0802.Find Eventual Safe States
- 0804.Unique Morse Code Words
- 0806.Number of Lines To Write String
- 0870.Advantage Shuffle
- 0878.Nth Magical Number
- 0900-0999/0991.Broken Calculator
- 1000-1099
- 1003.Check If Word Is Valid After Substitutions
- 1004.Max Consecutive Ones III
- 1018.Binary Prefix Divisible By 5
- 1022.Sum of Root To Leaf Binary Numbers
- 1031.Maximum Sum of Two Non-Overlapping Subarrays
- 1041.Robot Bounded In Circle
- 1049.Last Stone Weight II
- 1056.Confusing Number
- 1071.Greatest Common Divisor of Strings
- 1094.Car Pooling
- 1100-1199/1168.Optimize Water Distribution in a Village
- 1200-1299
- 1204.Last Person to Fit in the Bus
- 1212.Team Scores in Football Tournament
- 1239.Maximum Length of a Concatenated String with Unique Characters
- 1285.Find the Start and End Number of Continuous Ranges
- 1286.Iterator for Combination
- 1292.Maximum Side Length of a Square with Sum Less than or Equal to Threshold
- 1293.Shortest Path in a Grid with Obstacles Elimination
- 1300-1399
- 1308.Running Total for Different Genders
- 1309.Decrypt String from Alphabet to Integer Mapping
- 1312.Minimum Insertion Steps to Make a String Palindrome
- 1320.Minimum Distance to Type a Word Using Two Fingers
- 1321.Restaurant Growth
- 1326.Minimum Number of Taps to Open to Water a Garden
- 1328.Break a Palindrome
- 1338.Reduce Array Size to The Half
- 1343.Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold
- 1345.Jump Game IV
- 1348.Tweet Counts Per Frequency
- 1350.Students With Invalid Departments
- 1351.Count Negative Numbers in a Sorted Matrix
- 1376.Time Needed to Inform All Employees
- 1377.Frog Position After T Seconds
- 1379.Find a Corresponding Node of a Binary Tree in a Clone of That Tree
- 1380.Lucky Numbers in a Matrix
- 1382.Balance a Binary Search Tree
- 1384.Total Sales Amount by Year
- 1387.Sort Integers by The Power Value
- 1388.Pizza With 3n Slices
- 1390.Four Divisors
- 1392.Longest Happy Prefix
- 1400-1499
- 1402.Reducing Dishes
- 1426.Counting Elements
- 1441.Build an Array With Stack Operations
- 1446.Consecutive Characters
- 1462.Course Schedule IV
- 1463.Cherry Pickup II
- 1465.Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
- 1467.Probability of a Two Boxes Having The Same Number of Distinct Balls
- 1479.Sales by Day of the Week
- 1483.Kth Ancestor of a Tree Node
- 1484.Group Sold Products By The Date
- 1485.Clone Binary Tree With Random Pointer
- 1488.Avoid Flood in The City
- 1492.The kth Factor of n
- 1493.Longest Subarray of 1's After Deleting One Element
- 1496.Path Crossing
- 1497.Check If Array Pairs Are Divisible by k
- 1498.Number of Subsequences That Satisfy the Given Sum Condition
- 1500-1599
- 1503.Last Moment Before All Ants Fall Out of a Plank
- 1504.Count Submatrices With All Ones
- 1516.Move Sub-Tree of N-Ary Tree
- 1519.Number of Nodes in the Sub-Tree With the Same Label
- 1527.Patients With a Condition
- 1528.Shuffle String
- 1543.Fix Product Name Format
- 1549.The Most Recent Orders for Each Product
- 1564.Put Boxes Into the Warehouse I
- 1575.Count All Possible Routes
- 1576.Replace All 's to Avoid Consecutive Repeating Characters
- 1581.Customer Who Visited but Did Not Make Any Transactions
- 1585.Check If String Is Transformable With Substring Sort Operations
- 1596.The Most Frequently Ordered Products for Each Customer
- 1599.Maximum Profit of Operating a Centennial Wheel
- 1600-1699
- 1606.Find Servers That Handled Most Number of Requests
- 1611.Minimum One Bit Operations to Make Integers Zero
- 1613.Find the Missing IDs
- 1614.Maximum Nesting Depth of the Parentheses
- 1616.Split Two Strings to Make Palindrome
- 1620.Coordinate With Maximum Network Quality
- 1623.All Valid Triplets That Can Represent a Country
- 1628.Design an Expression Tree With Evaluate Function
- 1633.Percentage of Users Attended a Contest
- 1635.Hopper Company Queries I
- 1640.Check Array Formation Through Concatenation
- 1651.Hopper Company Queries III
- 1655.Distribute Repeating Integers
- 1657.Determine if Two Strings Are Close
- 1661.Average Time of Process per Machine
- 1667.Fix Names in a Table
- 1671.Minimum Number of Removals to Make Mountain Array
- 1693.Daily Leads and Partners
- 1699.Number of Calls Between Two Persons
- 1700-1799
- 1704.Determine if String Halves Are Alike
- 1715.Count Apples and Oranges
- 1721.Swapping Nodes in a Linked List
- 1726.Tuple with Same Product
- 1729.Find Followers Count
- 1730.Shortest Path to Get Food
- 1752.Check if Array Is Sorted and Rotated
- 1800-1899
- 1807.Evaluate the Bracket Pairs of a String
- 1811.Find Interview Candidates
- 1838.Frequency of the Most Frequent Element
- 1841.League Statistics
- 1843.Suspicious Bank Accounts
- 1852.Distinct Numbers in Each Subarray
- 1853.Convert Date Format
- 1855.Maximum Distance Between a Pair of Values
- 1873.Calculate Special Bonus
- 1875.Group Employees of the Same Salary
- 1890.The Latest Login in 2020
- 1892.Page Recommendations II
- 1900-1999
- 1907.Count Salary Categories
- 1919.Leetcodify Similar Friends
- 1932.Merge BSTs to Create Single BST
- 1934.Confirmation Rate
- 1965.Employees With Missing Information
- 1972.First and Last Call On the Same Day
- 1983.Widest Pair of Indices With Equal Range Sum
- 2000-2099
- 2004.The Number of Seniors and Juniors to Join the Company
- 2010.The Number of Seniors and Juniors to Join the Company II
- 2014.Longest Subsequence Repeated k Times
- 2015.Average Height of Buildings in Each Segment
- 2020.Number of Accounts That Did Not Stream
- 2047.Number of Valid Words in a Sentence
- 2059.Minimum Operations to Convert Number
- 2074.Reverse Nodes in Even Length Groups
- 2092.Find All People With Secret
- 2094.Finding 3-Digit Even Numbers
- 2098.Subsequence of Size K With the Largest Even Sum
- 2100-2199
- 2100.Find Good Days to Rob the Bank
- 2105.Watering Plants II
- 2107.Number of Unique Flavors After Sharing K Candies
- 2152.Minimum Number of Lines to Cover Points
- 2173.Longest Winning Streak
- 2200-2299
- 2206.Divide Array Into Equal Pairs
- 2213.Longest Substring of One Repeating Character
- 2215.Find the Difference of Two Arrays
- 2217.Find Palindrome With Fixed Length
- 2221.Find Triangular Sum of an Array
- 2227.Encrypt and Decrypt Strings
- 2228.Users With Two Purchases Within Seven Days
- 2229.Check if an Array Is Consecutive
- 2230.The Users That Are Eligible for Discount
- 2231.Largest Number After Digit Swaps by Parity
- 2232.Minimize Result by Adding Parentheses to Expression
- 2233.Maximum Product After K Increments
- 2234.Maximum Total Beauty of the Gardens
- 2235.Add Two Integers
- 2236.Root Equals Sum of Children
- 2237.Count Positions on Street With Required Brightness
- 2238.Number of Times a Driver Was a Passenger
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
229 files changed
+9134
-9528
lines changed+76-76
Large diffs are not rendered by default.
+50-50
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 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
4 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
|
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 |
| |
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
|
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 | + | |
| 21 | + | |
20 | 22 |
| |
21 |
| - | |
22 |
| - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 |
| |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 | 30 |
| |
| 31 | + | |
28 | 32 |
| |
29 | 33 |
| |
30 | 34 |
| |
31 | 35 |
| |
32 |
| - | |
33 |
| - | |
| 36 | + | |
| 37 | + | |
34 | 38 |
| |
35 | 39 |
| |
36 | 40 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
| 36 | + | |
51 | 37 |
| |
52 | 38 |
| |
53 | 39 |
| |
54 | 40 |
| |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
59 | 45 |
| |
60 | 46 |
| |
61 | 47 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
15 |
| - | |
16 |
| - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
| 26 | + | |
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
| 36 | + | |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
|
0 commit comments