File tree
675 files changed
+28405
-16201
lines changed- solution
- 0500-0599
- 0511.Game Play Analysis I
- 0512.Game Play Analysis II
- 0534.Game Play Analysis III
- 0547.Number of Provinces
- 0550.Game Play Analysis IV
- 0569.Median Employee Salary
- 0570.Managers with at Least 5 Direct Reports
- 0571.Find Median Given Frequency of Numbers
- 0574.Winning Candidate
- 0577.Employee Bonus
- 0578.Get Highest Answer Rate Question
- 0579.Find Cumulative Salary of an Employee
- 0580.Count Student Number in Departments
- 0584.Find Customer Referee
- 0585.Investments in 2016
- 0586.Customer Placing the Largest Number of Orders
- 0597.Friend Requests I Overall Acceptance Rate
- 0597.Friend Requests I Overall Acceptance Rate
- 0600-0699
- 0602.Friend Requests II Who Has the Most Friends
- 0602.Friend Requests II Who Has the Most Friends
- 0603.Consecutive Available Seats
- 0608.Tree Node
- 0610.Triangle Judgement
- 0612.Shortest Distance in a Plane
- 0613.Shortest Distance in a Line
- 0614.Second Degree Follower
- 0615.Average Salary Departments VS Company
- 0618.Students Report By Geography
- 0619.Biggest Single Number
- 1000-1099
- 1012.Complement of Base 10 Integer
- 1013.Pairs of Songs With Total Durations Divisible by 60
- 1014.Capacity To Ship Packages Within D Days
- 1020.Partition Array Into Three Parts With Equal Sum
- 1021.Best Sightseeing Pair
- 1022.Smallest Integer Divisible by K
- 1023.Binary String With Substrings Representing 1 To N
- 1045.Customers Who Bought All Products
- 1049.Last Stone Weight I
- 1050.Actors and Directors Who Cooperated At Least Three Times
- 1068.Product Sales Analysis I
- 1069.Product Sales Analysis II
- 1070.Product Sales Analysis III
- 1075.Project Employees I
- 1076.Project Employees II
- 1077.Project Employees III
- 1082.Sales Analysis I
- 1083.Sales Analysis II
- 1084.Sales Analysis III
- 1097.Game Play Analysis V
- 1098.Unpopular Books
- 1100-1199
- 1107.New Users Daily Count
- 1112.Highest Grade For Each Student
- 1113.Reported Posts
- 1126.Active Businesses
- 1127.User Purchase Platform
- 1132.Reported Posts II
- 1141.User Activity for the Past 30 Days I
- 1142.User Activity for the Past 30 Days II
- 1148.Article Views I
- 1149.Article Views II
- 1158.Market Analysis I
- 1159.Market Analysis II
- 1164.Product Price at a Given Date
- 1173.Immediate Food Delivery I
- 1174.Immediate Food Delivery II
- 1188.Design Bounded Blocking Queue
- 1193.Monthly Transactions I
- 1194.Tournament Winners
- 1200-1299
- 1204.Last Person to Fit in the Elevator
- 1205.Monthly Transactions II
- 1211.Queries Quality and Percentage
- 1212.Team Scores in Football Tournament
- 1225.Report Contiguous Dates
- 1241.Number of Comments per Post
- 1242.Web Crawler Multithreaded
- images
- 1251.Average Selling Price
- 1264.Page Recommendations
- 1270.All People Report to the Given Manager
- 1279.Traffic Light Controlled Intersection
- images
- 1280.Students and Examinations
- 1285.Find the Start and End Number of Continuous Ranges
- 1294.Weather Type in Each Country
- 1300-1399
- 1303.Find the Team Size
- 1308.Running Total for Different Genders
- 1321.Restaurant Growth
- 1322.Ads Performance
- images
- 1327.List the Products Ordered in a Period
- 1336.Number of Transactions per Visit
- images
- 1341.Movie Rating
- 1350.Students With Invalid Departments
- 1355.Activity Participants
- 1364.Number of Trusted Contacts of a Customer
- 1369.Get the Second Most Recent Activity
- 1378.Replace Employee ID With The Unique Identifier
- 1384.Total Sales Amount by Year
- 1393.Capital Gain/Loss
- 1393.Capital GainLoss
- 1398.Customers Who Bought Products A and B but Not C
- 1400-1499
- 1407.Top Travellers
- 1412.Find the Quiet Students in All Exams
- 1421.NPV Queries
- 1426.Counting Elements
- 1427.Perform String Shifts
- 1428.Leftmost Column with at Least a One
- images
- 1429.First Unique Number
- 1430.Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree
- images
- 1435.Create a Session Bar Chart
- 1440.Evaluate Boolean Expression
- 1445.Apples & Oranges
- 1454.Active Users
- 1459.Rectangles Area
- images
- 1468.Calculate Salaries
- 1469.Find All The Lonely Nodes
- images
- 1474.Delete N Nodes After M Nodes of a Linked List
- images
- 1479.Sales by Day of the Week
- 1484.Group Sold Products By The Date
- 1485.Clone Binary Tree With Random Pointer
- images
- 1490.Clone N-ary Tree
- images
- 1495.Friendly Movies Streamed Last Month
- 1500-1599
- 1500.Design a File Sharing System
- 1501.Countries You Can Safely Invest In
- 1506.Find Root of N-Ary Tree
- images
- 1511.Customer Order Frequency
- 1516.Move Sub-Tree of N-Ary Tree
- images
- 1517.Find Users With Valid E-Mails
- 1522.Diameter of N-Ary Tree
- images
- 1527.Patients With a Condition
- 1532.The Most Recent Three Orders
- 1533.Find the Index of the Large Integer
- 1538.Guess the Majority in a Hidden Array
- 1543.Fix Product Name Format
- 1548.The Most Similar Path in a Graph
- images
- 1549.The Most Recent Orders for Each Product
- 1555.Bank Account Summary
- 1565.Unique Orders and Customers Per Month
- 1570.Dot Product of Two Sparse Vectors
- 1571.Warehouse Manager
- 1580.Put Boxes Into the Warehouse II
- images
- 1581.Customer Who Visited but Did Not Make Any Transactions
- 1586.Binary Search Tree Iterator II
- images
- 1587.Bank Account Summary II
- 1596.The Most Frequently Ordered Products for Each Customer
- 1597.Build Binary Expression Tree From Infix Expression
- images
- 1600-1600
- 1600.Throne Inheritance
- 1601.Maximum Number of Achievable Transfer Requests
- images
- 1603.Design Parking System
- 1604.Alert Using Same Key-Card Three or More Times in a One Hour Period
- 1605.Find Valid Matrix Given Row and Column Sums
- 1606.Find Servers That Handled Most Number of Requests
- images
- 1608.Special Array With X Elements Greater Than or Equal X
- 1609.Even Odd Tree
- images
- 1610.Maximum Number of Visible Points
- images
- videos
- 1611.Minimum One Bit Operations to Make Integers Zero
- 1614.Maximum Nesting Depth of the Parentheses
- 1615.Maximal Network Rank
- images
- 1616.Split Two Strings to Make Palindrome
- 1617.Count Subtrees With Max Distance Between Cities
- images
- 1619.Mean of Array After Removing Some Elements
- 1620.Coordinate With Maximum Network Quality
- images
- 1621.Number of Sets of K Non-Overlapping Line Segments
- images
- 1622.Fancy Sequence
- 1624.Largest Substring Between Two Equal Characters
- 1625.Lexicographically Smallest String After Applying Operations
- 1626.Best Team With No Conflicts
- 1627.Graph Connectivity With Threshold
- images
- 1629.Slowest Key
- 1630.Arithmetic Subarrays
- 1631.Path With Minimum Effort
- images
- 1632.Rank Transform of a Matrix
- 1636.Sort Array by Increasing Frequency
- 1637.Widest Vertical Area Between Two Points Containing No Points
- images
- 1638.Count Substrings That Differ by One Character
- 1639.Number of Ways to Form a Target String Given a Dictionary
- 1640.Check Array Formation Through Concatenation
- 1641.Count Sorted Vowel Strings
- 1642.Furthest Building You Can Reach
- images
- 1643.Kth Smallest Instructions
- images
- 1646.Get Maximum in Generated Array
- 1647.Minimum Deletions to Make Character Frequencies Unique
- 1648.Sell Diminishing-Valued Colored Balls
- images
- 1649.Create Sorted Array through Instructions
- 1652.Defuse the Bomb
- 1653.Minimum Deletions to Make String Balanced
- 1654.Minimum Jumps to Reach Home
- 1655.Distribute Repeating Integers
- 1656.Design an Ordered Stream
- images
- 1657.Determine if Two Strings Are Close
- 1658.Minimum Operations to Reduce X to Zero
- 1659.Maximize Grid Happiness
- images
- 1662.Check If Two String Arrays are Equivalent
- 1663.Smallest String With A Given Numeric Value
- 1664.Ways to Make a Fair Array
- 1665.Minimum Initial Energy to Finish Tasks
- 1668.Maximum Repeating Substring
- 1669.Merge In Between Linked Lists
- images
- 1670.Design Front Middle Back Queue
- 1671.Minimum Number of Removals to Make Mountain Array
- 1672.Richest Customer Wealth
- 1673.Find the Most Competitive Subsequence
- 1674.Minimum Moves to Make Array Complementary
- 1675.Minimize Deviation in Array
- 1678.Goal Parser Interpretation
- 1679.Max Number of K-Sum Pairs
- 1680.Concatenation of Consecutive Binary Numbers
- 1681.Minimum Incompatibility
- 1684.Count the Number of Consistent Strings
- 1685.Sum of Absolute Differences in a Sorted Array
- 1686.Stone Game VI
- 1687.Delivering Boxes from Storage to Ports
- 1688.Count of Matches in Tournament
- 1689.Partitioning Into Minimum Number Of Deci-Binary Numbers
- 1690.Stone Game VII
- 1691.Maximum Height by Stacking Cuboids
- images
- 1694.Reformat Phone Number
- 1695.Maximum Erasure Value
- 1696.Jump Game VI
- 1697.Checking Existence of Edge Length Limited Paths
- images
- 1600-1699
- 1602.Find Nearest Right Node in Binary Tree
- images
- 1607.Sellers With No Sales
- 1612.Check If Two Expression Trees are Equivalent
- images
- 1613.Find the Missing IDs
- 1618.Maximum Font to Fit a Sentence in a Screen
- 1623.All Valid Triplets That Can Represent a Country
- 1628.Design an Expression Tree With Evaluate Function
- images
- 1633.Percentage of Users Attended a Contest
- 1634.Add Two Polynomials Represented as Linked Lists
- images
- 1635.Hopper Company Queries I
- 1644.Lowest Common Ancestor of a Binary Tree II
- images
- 1645.Hopper Company Queries II
- images
- 1650.Lowest Common Ancestor of a Binary Tree III
- images
- 1651.Hopper Company Queries III
- 1660.Correct a Binary Tree
- images
- 1661.Average Time of Process per Machine
- 1666.Change the Root of a Binary Tree
- images
- 1667.Fix Names in a Table
- 1675.Minimize Deviation in Array
- 1676.Lowest Common Ancestor of a Binary Tree IV
- images
- 1677.Product's Worth Over Invoices
- 1682.Longest Palindromic Subsequence II
- 1683.Invalid Tweets
- 1692.Count Ways to Distribute Candies
- images
- 1693.Daily Leads and Partners
- 1698.Number of Distinct Substrings in a String
- 1699.Number of Calls Between Two Persons
- 1700-1799
- 1708.Largest Subarray Length K
- 1709.Biggest Window Between Visits
- 1714.Sum Of Special Evenly-Spaced Elements In Array
- 1715.Count Apples and Oranges
- 1724.Checking Existence of Edge Length Limited Paths II
- images
- 1729.Find Followers Count
- 1730.Shortest Path to Get Food
- images
- 1731.The Number of Employees Which Report to Each Employee
- 1740.Find Distance in a Binary Tree
- images
- 1741.Find Total Time Spent by Each Employee
- 1746.Maximum Subarray Sum After One Operation
- 1747.Leetflex Banned Accounts
- 1756.Design Most Recently Used Queue
- 1757.Recyclable and Low Fat Products
- 1762.Buildings With an Ocean View
- 1767.Find the Subtasks That Did Not Execute
- 1772.Sort Features by Popularity
- 1777.Product's Price for Each Store
- 1778.Shortest Path in a Hidden Grid
- 1783.Grand Slam Titles
- 1788.Maximize the Beauty of the Garden
- 1789.Primary Department for Each Employee
- 1794.Count Pairs of Equal Substrings With Minimum Difference
- 1795.Rearrange Products Table
- 1800-1899
- 1804.Implement Trie II (Prefix Tree)
- 1809.Ad-Free Sessions
- 1810.Minimum Path Cost in a Hidden Grid
- 1811.Find Interview Candidates
- 1820.Maximum Number of Accepted Invitations
- 1821.Find Customers With Positive Revenue this Year
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
675 files changed
+28405
-16201
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 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 | + | |
10 | 52 |
| |
11 | 53 |
| |
12 | 54 |
| |
| |||
16 | 58 |
| |
17 | 59 |
| |
18 | 60 |
| |
19 |
| - | |
20 |
| - | |
| 61 | + | |
| 62 | + | |
21 | 63 |
| |
22 | 64 |
| |
23 | 65 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 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 | + | |
8 | 50 |
| |
9 | 51 |
| |
10 | 52 |
| |
11 | 53 |
| |
12 | 54 |
| |
13 | 55 |
| |
14 | 56 |
| |
15 |
| - | |
16 |
| - | |
| 57 | + | |
| 58 | + | |
17 | 59 |
| |
18 | 60 |
| |
19 | 61 |
|
This file was deleted.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 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 | + | |
10 | 49 |
| |
11 | 50 |
| |
12 | 51 |
| |
| |||
16 | 55 |
| |
17 | 56 |
| |
18 | 57 |
| |
19 |
| - | |
20 |
| - | |
| 58 | + | |
| 59 | + | |
21 | 60 |
| |
22 | 61 |
| |
23 | 62 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 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 | + | |
8 | 49 |
| |
9 | 50 |
| |
10 | 51 |
| |
11 | 52 |
| |
12 | 53 |
| |
13 | 54 |
| |
14 | 55 |
| |
15 |
| - | |
16 |
| - | |
| 56 | + | |
| 57 | + | |
17 | 58 |
| |
18 | 59 |
| |
19 | 60 |
|
This file was deleted.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 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 | + | |
10 | 57 |
| |
11 | 58 |
| |
12 | 59 |
| |
| |||
16 | 63 |
| |
17 | 64 |
| |
18 | 65 |
| |
19 |
| - | |
20 |
| - | |
| 66 | + | |
| 67 | + | |
21 | 68 |
| |
22 | 69 |
| |
23 | 70 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 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 | + | |
8 | 55 |
| |
9 | 56 |
| |
10 | 57 |
| |
11 | 58 |
| |
12 | 59 |
| |
13 | 60 |
| |
14 | 61 |
| |
15 |
| - | |
16 |
| - | |
| 62 | + | |
| 63 | + | |
17 | 64 |
| |
18 | 65 |
| |
19 | 66 |
|
This file was deleted.
0 commit comments