File tree
360 files changed
+25485
-296
lines changed- solution
- 0200-0299
- 0211.Add and Search Word - Data structure design
- 0211.Design Add and Search Words Data Structure
- 0500-0599/0597.Friend Requests I Overall Acceptance Rate
- 0600-0699
- 0602.Friend Requests II Who Has the Most Friends
- 0615.Average Salary Departments VS Company
- 1000-1099/1027.Longest Arithmetic Subsequence
- 1200-1299
- 1217.Minimum Cost to Move Chips to The Same Position
- 1217.Play with Chips
- 1300-1399
- 1384.Total Sales Amount by Year
- 1385.Find the Distance Value Between Two Arrays
- 1386.Cinema Seat Allocation
- 1387.Sort Integers by The Power Value
- 1388.Pizza With 3n Slices
- 1389.Create Target Array in the Given Order
- 1390.Four Divisors
- 1391.Check if There is a Valid Path in a Grid
- 1392.Longest Happy Prefix
- 1393.Capital Gain/Loss
- 1394.Find Lucky Integer in an Array
- 1395.Count Number of Teams
- 1396.Design Underground System
- 1397.Find All Good Strings
- 1398.Customers Who Bought Products A and B but Not C
- 1399.Count Largest Group
- 1400-1499
- 1400.Construct K Palindrome Strings
- 1401.Circle and Rectangle Overlapping
- 1402.Reducing Dishes
- 1403.Minimum Subsequence in Non-Increasing Order
- 1404.Number of Steps to Reduce a Number in Binary Representation to One
- 1405.Longest Happy String
- 1406.Stone Game III
- 1407.Top Travellers
- 1408.String Matching in an Array
- 1409.Queries on a Permutation With Key
- 1410.HTML Entity Parser
- 1411.Number of Ways to Paint N × 3 Grid
- 1412.Find the Quiet Students in All Exams
- 1413.Minimum Value to Get Positive Step by Step Sum
- 1414.Find the Minimum Number of Fibonacci Numbers Whose Sum Is K
- 1415.The k-th Lexicographical String of All Happy Strings of Length n
- 1416.Restore The Array
- 1417.Reformat The String
- 1418.Display Table of Food Orders in a Restaurant
- 1419.Minimum Number of Frogs Croaking
- 1420.Build Array Where You Can Find The Maximum Exactly K Comparisons
- 1421.NPV Queries
- 1422.Maximum Score After Splitting a String
- 1423.Maximum Points You Can Obtain from Cards
- 1424.Diagonal Traverse II
- 1425.Constrained Subsequence Sum
- 1426.Counting Elements
- 1427.Perform String Shifts
- 1428.Leftmost Column with at Least a One
- 1429.First Unique Number
- 1430.Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree
- 1432.Max Difference You Can Get From Changing an Integer
- 1433.Check If a String Can Break Another String
- 1434.Number of Ways to Wear Different Hats to Each Other
- 1435.Create a Session Bar Chart
- 1436.Destination City
- 1437.Check If All 1's Are at Least Length K Places Away
- 1438.Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
- 1439.Find the Kth Smallest Sum of a Matrix With Sorted Rows
- 1440.Evaluate Boolean Expression
- 1441.Build an Array With Stack Operations
- 1442.Count Triplets That Can Form Two Arrays of Equal XOR
- 1443.Minimum Time to Collect All Apples in a Tree
- 1444.Number of Ways of Cutting a Pizza
- 1445.Apples & Oranges
- 1446.Consecutive Characters
- 1447.Simplified Fractions
- 1448.Count Good Nodes in Binary Tree
- 1449.Form Largest Integer With Digits That Add up to Target
- 1450.Number of Students Doing Homework at a Given Time
- 1451.Rearrange Words in a Sentence
- 1452.People Whose List of Favorite Companies Is Not a Subset of Another List
- 1453.Maximum Number of Darts Inside of a Circular Dartboard
- 1454.Active Users
- 1455.Check If a Word Occurs As a Prefix of Any Word in a Sentence
- 1456.Maximum Number of Vowels in a Substring of Given Length
- 1457.Pseudo-Palindromic Paths in a Binary Tree
- 1458.Max Dot Product of Two Subsequences
- 1459.Rectangles Area
- 1460.Make Two Arrays Equal by Reversing Sub-arrays
- 1461.Check If a String Contains All Binary Codes of Size K
- 1462.Course Schedule IV
- 1463.Cherry Pickup II
- 1464.Maximum Product of Two Elements in an Array
- 1465.Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
- 1466.Reorder Routes to Make All Paths Lead to the City Zero
- 1467.Probability of a Two Boxes Having The Same Number of Distinct Balls
- 1468.Calculate Salaries
- 1469.Find All The Lonely Nodes
- 1470.Shuffle the Array
- 1471.The k Strongest Values in an Array
- 1472.Design Browser History
- 1473.Paint House III
- 1474.Delete N Nodes After M Nodes of a Linked List
- 1475.Final Prices With a Special Discount in a Shop
- 1476.Subrectangle Queries
- 1477.Find Two Non-overlapping Sub-arrays Each With Target Sum
- 1478.Allocate Mailboxes
- 1479.Sales by Day of the Week
- 1480.Running Sum of 1d Array
- 1481.Least Number of Unique Integers after K Removals
- 1482.Minimum Number of Days to Make m Bouquets
- 1483.Kth Ancestor of a Tree Node
- 1484.Group Sold Products By The Date
- 1485.Clone Binary Tree With Random Pointer
- 1486.XOR Operation in an Array
- 1487.Making File Names Unique
- 1488.Avoid Flood in The City
- 1489.Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree
- 1490.Clone N-ary Tree
- 1491.Average Salary Excluding the Minimum and Maximum Salary
- 1492.The kth Factor of n
- 1493.Longest Subarray of 1's After Deleting One Element
- 1494.Parallel Courses II
- 1495.Friendly Movies Streamed Last Month
- 1496.Path Crossing
- 1497.Check If Array Pairs Are Divisible by k
- 1498.Number of Subsequences That Satisfy the Given Sum Condition
- 1499.Max Value of Equation
- 1500-1599
- 1500.Design a File Sharing System
- 1501.Countries You Can Safely Invest In
- 1502.Can Make Arithmetic Progression From Sequence
- 1503.Last Moment Before All Ants Fall Out of a Plank
- 1504.Count Submatrices With All Ones
- 1505.Minimum Possible Integer After at Most K Adjacent Swaps On Digits
- 1506.Find Root of N-Ary Tree
- 1507.Reformat Date
- 1508.Range Sum of Sorted Subarray Sums
- 1509.Minimum Difference Between Largest and Smallest Value in Three Moves
- 1510.Stone Game IV
- 1511.Customer Order Frequency
- 1512.Number of Good Pairs
- 1513.Number of Substrings With Only 1s
- 1514.Path with Maximum Probability
- 1515.Best Position for a Service Centre
- 1516.Move Sub-Tree of N-Ary Tree
- 1517.Find Users With Valid E-Mails
- 1518.Water Bottles
- 1519.Number of Nodes in the Sub-Tree With the Same Label
- 1520.Maximum Number of Non-Overlapping Substrings
- 1521.Find a Value of a Mysterious Function Closest to Target
- 1522.Diameter of N-Ary Tree
- 1523.Count Odd Numbers in an Interval Range
- 1524.Number of Sub-arrays With Odd Sum
- 1525.Number of Good Ways to Split a String
- 1526.Minimum Number of Increments on Subarrays to Form a Target Array
- 1527.Patients With a Condition
- 1528.Shuffle String
- 1529.Bulb Switcher IV
- 1530.Number of Good Leaf Nodes Pairs
- 1531.String Compression II
- 1532.The Most Recent Three Orders
- 1533.Find the Index of the Large Integer
- 1534.Count Good Triplets
- 1535.Find the Winner of an Array Game
- 1536.Minimum Swaps to Arrange a Binary Grid
- 1537.Get the Maximum Score
- 1538.Guess the Majority in a Hidden Array
- 1539.Kth Missing Positive Number
- 1540.Can Convert String in K Moves
- 1541.Minimum Insertions to Balance a Parentheses String
- 1542.Find Longest Awesome Substring
- 1543.Fix Product Name Format
- 1544.Make The String Great
- 1545.Find Kth Bit in Nth Binary String
- 1546.Maximum Number of Non-Overlapping Subarrays With Sum Equals Target
- 1547.Minimum Cost to Cut a Stick
- 1548.The Most Similar Path in a Graph
- 1549.The Most Recent Orders for Each Product
- 1550.Three Consecutive Odds
- 1551.Minimum Operations to Make Array Equal
- 1552.Magnetic Force Between Two Balls
- 1553.Minimum Number of Days to Eat N Oranges
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
360 files changed
+25485
-296
lines changedThis file was deleted.
This file was deleted.
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 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + |
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 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + |
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 | + |
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 | + |
0 commit comments