Medium LeetCode Problems: Page 8 of 8

Problems 1,401 to 1,579 of the 1,579 Medium-rated problems in this library, continuing the list on the Medium hub.

ProblemsPage 8 of 8
Medium problems, page 8
No.Problem
1783Grand Slam TitlesPremium
1794Count Pairs of Equal Substrings With Minimum DifferencePremium
1804Implement Trie II (Prefix Tree)Premium
1810Minimum Path Cost in a Hidden GridPremium
1811Find Interview CandidatesPremium
1820Maximum Number of Accepted InvitationsPremium
1831Maximum Transaction Each DayPremium
1836Remove Duplicates From an Unsorted Linked ListPremium
1841League StatisticsPremium
1843Suspicious Bank AccountsPremium
1852Distinct Numbers in Each SubarrayPremium
1858Longest Word With All PrefixesPremium
1867Orders With Maximum Quantity Above AveragePremium
1868Product of Two Run-Length Encoded ArraysPremium
1874Minimize Product Sum of Two ArraysPremium
1875Group Employees of the Same SalaryPremium
1885Count Pairs in Two ArraysPremium
1891Cutting RibbonsPremium
1902Depth of BST Given Insertion OrderPremium
1907Count Salary Categories
1908Game of NimPremium
1918Kth Smallest Subarray SumPremium
1934Confirmation Rate
1940Longest Common Subsequence Between Sorted ArraysPremium
1949Strong FriendshipPremium
1950Maximum of Minimum Values in All SubarraysPremium
1951All the Pairs With the Maximum Number of Common FollowersPremium
1966Binary Searchable Numbers in an Unsorted ArrayPremium
1973Count Nodes Equal to Sum of DescendantsPremium
1983Widest Pair of Indices With Equal Range SumPremium
1988Find Cutoff Score for Each SchoolPremium
1989Maximum Number of People That Can Be Caught in TagPremium
1990Count the Number of ExperimentsPremium
1999Smallest Greater Multiple Made of Two DigitsPremium
2015Average Height of Buildings in Each SegmentPremium
2020Number of Accounts That Did Not StreamPremium
2021Brightest Position on StreetPremium
2031Count Subarrays With More Ones Than ZerosPremium
2036Maximum Alternating Subarray SumPremium
2041Accepted Candidates From the InterviewsPremium
2046Sort Linked List Already Sorted Using Absolute ValuesPremium
2051The Category of Each Member in the StorePremium
2052Minimum Cost to Separate Sentence Into RowsPremium
2061Number of Spaces Cleaning Robot CleanedPremium
2066Account BalancePremium
2067Number of Equal Count SubstringsPremium
2069Walking Robot Simulation II
2077Paths in Maze That Lead to Same RoomPremium
2083Substrings That Begin and End With the Same LetterPremium
2084Drop Type 1 Orders for Customers With Type 0 OrdersPremium
2093Minimum Cost to Reach City With DiscountsPremium
2098Subsequence of Size K With the Largest Even SumPremium
2107Number of Unique Flavors After Sharing K CandiesPremium
2112The Airport With the Most TrafficPremium
2113Elements in Array After Removing and Replacing ElementsPremium
2128Remove All Ones With Row and Column FlipsPremium
2137Pour Water Between Buckets to Make Water Levels EqualPremium
2142The Number of Passengers in Each Bus IPremium
2152Minimum Number of Lines to Cover PointsPremium
2159Order Two Columns IndependentlyPremium
2168Unique Substrings With Equal Digit FrequencyPremium
2174Remove All Ones With Row and Column Flips IIPremium
2175The Change in Global RankingsPremium
2184Number of Ways to Build Sturdy Brick WallPremium
2189Number of Ways to Build House of CardsPremium
2198Number of Single Divisor TripletsPremium
2214Minimum Health to Beat GamePremium
2219Maximum Sum Score of ArrayPremium
2228Users With Two Purchases Within Seven DaysPremium
2237Count Positions on Street With Required BrightnessPremium
2238Number of Times a Driver Was a PassengerPremium
2268Minimum Number of KeypressesPremium
2282Number of People That Can Be Seen in a GridPremium
2291Maximum Profit From Trading StocksPremium
2292Products With Three or More Orders in Two Consecutive YearsPremium
2297Jump Game VIIIPremium
2298Tasks Count in the WeekendPremium
2308Arrange Table by GenderPremium
2314The First Day of the Maximum Recorded Degree in Each CityPremium
2323Find Minimum Time to Finish All Jobs IIPremium
2324Product Sales Analysis IVPremium
2330Valid Palindrome IVPremium
2340Minimum Adjacent Swaps to Make a Valid ArrayPremium
2345Finding the Number of Visible MountainsPremium
2346Compute the Rank as a PercentagePremium
2372Calculate the Influence of Each SalespersonPremium
2378Choose Edges to Maximize Score in a TreePremium
2387Median of a Row Wise Sorted MatrixPremium
2388Change Null Values in a Table to the Previous ValuePremium
2393Count Strictly Increasing SubarraysPremium
2394Employees With DeductionsPremium
2408Design SQLPremium
2417Closest Fair IntegerPremium
2422Merge Operations to Turn Array Into a PalindromePremium
2431Maximize Total Tastiness of Purchased FruitsPremium
2436Minimum Split Into Subarrays With GCD Greater Than OnePremium
2445Number of Nodes With Value OnePremium
2450Number of Distinct Binary Strings After Applying OperationsPremium
2464Minimum Subarrays in a Valid SplitPremium
2473Minimum Cost to Buy ApplesPremium
2489Number of Substrings With Fixed RatioPremium
2495Number of Subarrays Having Even ProductPremium
2505Bitwise OR of All Subsequence SumsPremium
2510Check if There is a Path With Equal Number of 0's And 1'sPremium
2533Number of Good Binary StringsPremium
2539Count the Number of Good SubsequencesPremium
2548Maximum Price to Fill a BagPremium
2557Maximum Number of Integers to Choose From a Range IIPremium
2590Design a Todo ListPremium
2599Make the Prefix Sum Non-negativePremium
2618Check if Object Instance of Class
2622Cache With Time Limit
2623Memoize
2624Snail Traversal
2625Flatten Deeply Nested Array
2627Debounce
2628JSON Deep EqualPremium
2631Group By
2632CurryPremium
2633Convert Object to JSON StringPremium
2636Promise PoolPremium
2637Promise Time Limit
2638Count the Number of K-Free SubsetsPremium
2649Nested Array Generator
2655Find Maximal Uncovered RangesPremium
2664The Knight’s TourPremium
2674Split a Circular Linked ListPremium
2676ThrottlePremium
2686Immediate Food Delivery IIIPremium
2688Find Active UsersPremium
2692Make Object ImmutablePremium
2693Call Function with Custom Context
2694Event Emitter
2700Differences Between Two ObjectsPremium
2705Compact Object
2721Execute Asynchronous Functions in Parallel
2722Join Two Arrays by ID
2737Find the Closest Marked NodePremium
2738Count Occurrences in TextPremium
2743Count Substrings Without Repeating CharacterPremium
2754Bind Function to ContextPremium
2755Deep Merge of Two ObjectsPremium
2757Generate Circular Array ValuesPremium
2764Is Array a Preorder of Some ‌Binary TreePremium
2773Height of Special Binary TreePremium
2775Undefined to NullPremium
2776Convert Callback Based Function to Promise Based FunctionPremium
2777Date Range GeneratorPremium
2782Number of Unique CategoriesPremium
2783Flight Occupancy and Waitlist AnalysisPremium
2795Parallel Execution of Promises for Individual Results RetrievalPremium
2802Find The K-th Lucky NumberPremium
2805Custom IntervalPremium
2820Election ResultsPremium
2821Delay the Resolution of Each PromisePremium
2823Deep Object FilterPremium
2832Maximal Range That Each Element Is Maximum in ItPremium
2838Maximum Coins Heroes Can CollectPremium
2847Smallest Number With Given Digit ProductPremium
2852Sum of Remoteness of All CellsPremium
2854Rolling Average StepsPremium
2863Maximum Length of Semi-Decreasing SubarraysPremium
2892Minimizing Array After Replacing Pairs With Their ProductPremium
2893Calculate Orders Within Each IntervalPremium
2898Maximum Linear Stock ScorePremium
2907Maximum Profitable Triplets With Increasing Prices IPremium
2922Market Analysis IIIPremium
2936Number of Equal Numbers BlocksPremium
2950Number of Divisible SubstringsPremium
2955Number of Same-End SubstringsPremium
2964Number of Divisible Triplet SumsPremium
2978Symmetric CoordinatesPremium
2979Most Expensive Item That Can Not Be BoughtPremium
2984Find Peak Calling Hours for Each CityPremium
2986Find Third TransactionPremium
2988Manager of the Largest DepartmentPremium
2989Class PerformancePremium
2992Number of Self-Divisible PermutationsPremium
2993Friday Purchases IPremium

Problems with a complete Python solution are listed first, then by ascending problem number. Or go by technique instead: all LeetCode patterns.