difficulty
Hard LeetCode problems — animated solutions
Hard LeetCode problems collected in one place. Scrub visual walkthroughs of the toughest patterns, with explained Python and Go implementations.
977 problems · 783 animated · 194 locked
Start with a walkthrough
Full Hard index
- 4Median of Two Sorted ArraysWatch
- 10Regular Expression MatchingWatch
- 23Merge k Sorted ListsWatch
- 25Reverse Nodes in k-GroupWatch
- 30Substring with Concatenation of All WordsWatch
- 32Longest Valid ParenthesesWatch
- 37Sudoku SolverWatch
- 41First Missing PositiveWatch
- 42Trapping Rain WaterWatch
- 44Wildcard MatchingWatch
- 51N-QueensWatch
- 52N-Queens IIWatch
- 60Permutation SequenceWatch
- 65Valid NumberWatch
- 68Text JustificationWatch
- 76Minimum Window SubstringWatch
- 84Largest Rectangle in HistogramWatch
- 85Maximal RectangleWatch
- 87Scramble StringWatch
- 115Distinct SubsequencesWatch
- 123Best Time to Buy and Sell Stock IIIWatch
- 124Binary Tree Maximum Path SumWatch
- 126Word Ladder IIWatch
- 127Word LadderWatch
- 132Palindrome Partitioning IIWatch
- 135CandyWatch
- 140Word Break IIWatch
- 149Max Points on a LineWatch
- 154Find Minimum in Rotated Sorted Array IIWatch
- 158Read N Characters Given read4 II - Call Multiple TimesLocked
- 174Dungeon GameWatch
- 185Department Top Three SalariesWatch
- 188Best Time to Buy and Sell Stock IVWatch
- 212Word Search IIWatch
- 214Shortest PalindromeWatch
- 218The Skyline ProblemWatch
- 220Contains Duplicate IIIWatch
- 224Basic CalculatorWatch
- 233Number of Digit OneWatch
- 239Sliding Window MaximumWatch
- 248Strobogrammatic Number IIILocked
- 262Trips and UsersWatch
- 265Paint House IILocked
- 269Alien DictionaryLocked
- 272Closest Binary Search Tree Value IILocked
- 273Integer to English WordsWatch
- 282Expression Add OperatorsWatch
- 295Find Median from Data StreamWatch
- 296Best Meeting PointLocked
- 297Serialize and Deserialize Binary TreeWatch
- 301Remove Invalid ParenthesesWatch
- 302Smallest Rectangle Enclosing Black PixelsLocked
- 305Number of Islands IILocked
- 312Burst BalloonsWatch
- 315Count of Smaller Numbers After SelfWatch
- 317Shortest Distance from All BuildingsLocked
- 321Create Maximum NumberWatch
- 327Count of Range SumWatch
- 329Longest Increasing Path in a MatrixWatch
- 330Patching ArrayWatch
- 332Reconstruct ItineraryWatch
- 335Self CrossingWatch
- 336Palindrome PairsWatch
- 352Data Stream as Disjoint IntervalsWatch
- 354Russian Doll EnvelopesWatch
- 358Rearrange String k Distance ApartLocked
- 363Max Sum of Rectangle No Larger Than KWatch
- 381Insert Delete GetRandom O(1) - Duplicates allowedWatch
- 391Perfect RectangleWatch
- 403Frog JumpWatch
- 407Trapping Rain Water IIWatch
- 410Split Array Largest SumWatch
- 411Minimum Unique Word AbbreviationLocked
- 420Strong Password CheckerWatch
- 425Word SquaresLocked
- 428Serialize and Deserialize N-ary TreeLocked
- 431Encode N-ary Tree to Binary TreeLocked
- 432All O`one Data StructureWatch
- 440K-th Smallest in Lexicographical OrderWatch
- 446Arithmetic Slices II - SubsequenceWatch
- 458Poor PigsWatch
- 460LFU CacheWatch
- 465Optimal Account BalancingLocked
- 466Count The RepetitionsWatch
- 471Encode String with Shortest LengthLocked
- 472Concatenated WordsWatch
- 479Largest Palindrome ProductWatch
- 480Sliding Window MedianWatch
- 483Smallest Good BaseWatch
- 488Zuma GameWatch
- 489Robot Room CleanerLocked
- 493Reverse PairsWatch
- 499The Maze IIILocked
- 502IPOWatch
- 514Freedom TrailWatch
- 517Super Washing MachinesWatch
- 527Word AbbreviationLocked
- 546Remove BoxesWatch
- 548Split Array with Equal SumLocked
- 552Student Attendance Record IIWatch
- 564Find the Closest PalindromeWatch
- 568Maximum Vacation DaysLocked
- 569Median Employee SalaryLocked
- 571Find Median Given Frequency of NumbersLocked
- 579Find Cumulative Salary of an EmployeeLocked
- 587Erect the FenceWatch
- 588Design In-Memory File SystemLocked
- 591Tag ValidatorWatch
- 600Non-negative Integers without Consecutive OnesWatch
- 601Human Traffic of StadiumWatch
- 615Average Salary: Departments VS CompanyLocked
- 618Students Report By GeographyLocked
- 629K Inverse Pairs ArrayWatch
- 630Course Schedule IIIWatch
- 631Design Excel Sum FormulaLocked
- 632Smallest Range Covering Elements from K ListsWatch
- 639Decode Ways IIWatch
- 642Design Search Autocomplete SystemLocked
- 644Maximum Average Subarray IILocked
- 656Coin PathLocked
- 660Remove 9Locked
- 664Strange PrinterWatch
- 668Kth Smallest Number in Multiplication TableWatch
- 675Cut Off Trees for Golf EventWatch
- 67924 GameWatch
- 683K Empty SlotsLocked
- 685Redundant Connection IIWatch
- 689Maximum Sum of 3 Non-Overlapping SubarraysWatch
- 691Stickers to Spell WordWatch
- 699Falling SquaresWatch
- 710Random Pick with BlacklistWatch
- 711Number of Distinct Islands IILocked
- 715Range ModuleWatch
- 716Max StackLocked
- 719Find K-th Smallest Pair DistanceWatch
- 726Number of AtomsWatch
- 727Minimum Window SubsequenceLocked
- 730Count Different Palindromic SubsequencesWatch
- 732My Calendar IIIWatch
- 736Parse Lisp ExpressionWatch
- 741Cherry PickupWatch
- 745Prefix and Suffix SearchWatch
- 749Contain VirusWatch
- 753Cracking the SafeWatch
- 757Set Intersection Size At Least TwoWatch
- 759Employee Free TimeLocked
- 761Special Binary StringWatch
- 765Couples Holding HandsWatch
- 768Max Chunks To Make Sorted IIWatch
- 770Basic Calculator IVWatch
- 772Basic Calculator IIILocked
- 773Sliding PuzzleWatch
- 774Minimize Max Distance to Gas StationLocked
- 778Swim in Rising WaterWatch
- 780Reaching PointsWatch
- 782Transform to ChessboardWatch
- 793Preimage Size of Factorial Zeroes FunctionWatch
- 798Smallest Rotation with Highest ScoreWatch
- 801Minimum Swaps To Make Sequences IncreasingWatch
- 803Bricks Falling When HitWatch
- 805Split Array With Same AverageWatch
- 810Chalkboard XOR GameWatch
- 815Bus RoutesWatch
- 818Race CarWatch
- 827Making A Large IslandWatch
- 828Count Unique Characters of All Substrings of a Given StringWatch
- 829Consecutive Numbers SumWatch
- 834Sum of Distances in TreeWatch
- 839Similar String GroupsWatch
- 843Guess the WordWatch
- 847Shortest Path Visiting All NodesWatch
- 850Rectangle Area IIWatch
- 854K-Similar StringsWatch
- 857Minimum Cost to Hire K WorkersWatch
- 862Shortest Subarray with Sum at Least KWatch
- 864Shortest Path to Get All KeysWatch
- 871Minimum Number of Refueling StopsWatch
- 878Nth Magical NumberWatch
- 879Profitable SchemesWatch
- 882Reachable Nodes In Subdivided GraphWatch
- 887Super Egg DropWatch
- 891Sum of Subsequence WidthsWatch
- 895Maximum Frequency StackWatch
- 899Orderly QueueWatch
- 902Numbers At Most N Given Digit SetWatch
- 903Valid Permutations for DI SequenceWatch
- 906Super PalindromesWatch
- 913Cat and MouseWatch
- 920Number of Music PlaylistsWatch
- 924Minimize Malware SpreadWatch
- 927Three Equal PartsWatch
- 928Minimize Malware Spread IIWatch
- 936Stamping The SequenceWatch
- 940Distinct Subsequences IIWatch
- 943Find the Shortest SuperstringWatch
- 952Largest Component Size by Common FactorWatch
- 956Tallest BillboardWatch
- 960Delete Columns to Make Sorted IIIWatch
- 964Least Operators to Express NumberWatch
- 968Binary Tree CamerasWatch
- 972Equal Rational NumbersWatch
- 975Odd Even JumpWatch
- 980Unique Paths IIIWatch
- 982Triples with Bitwise AND Equal To ZeroWatch
- 987Vertical Order Traversal of a Binary TreeWatch
- 992Subarrays with K Different IntegersWatch
- 995Minimum Number of K Consecutive Bit FlipsWatch
- 996Number of Squareful ArraysWatch
- 1000Minimum Cost to Merge StonesWatch
- 1001Grid IlluminationWatch
- 1012Numbers With Repeated DigitsWatch
- 1028Recover a Tree From Preorder TraversalWatch
- 1032Stream of CharactersWatch
- 1036Escape a Large MazeWatch
- 1044Longest Duplicate SubstringWatch
- 1063Number of Valid SubarraysLocked
- 1067Digit Count in RangeLocked
- 1074Number of Submatrices That Sum to TargetWatch
- 1088Confusing Number IILocked
- 1092Shortest Common Supersequence Watch
- 1095Find in Mountain ArrayWatch
- 1096Brace Expansion IIWatch
- 1097Game Play Analysis VLocked
- 1106Parsing A Boolean ExpressionWatch
- 1121Divide Array Into Increasing SequencesLocked
- 1125Smallest Sufficient TeamWatch
- 1127User Purchase PlatformLocked
- 1147Longest Chunked Palindrome DecompositionWatch
- 1153String Transforms Into Another StringLocked
- 1157Online Majority Element In SubarrayWatch
- 1159Market Analysis IILocked
- 1163Last Substring in Lexicographical OrderWatch
- 1168Optimize Water Distribution in a VillageLocked
- 1172Dinner Plate StacksWatch
- 1178Number of Valid Words for Each PuzzleWatch
- 1183Maximum Number of OnesLocked
- 1187Make Array Strictly IncreasingWatch
- 1192Critical Connections in a NetworkWatch
- 1194Tournament WinnersLocked
- 1199Minimum Time to Build BlocksLocked
- 1203Sort Items by Groups Respecting DependenciesWatch
- 1206Design SkiplistWatch
- 1210Minimum Moves to Reach Target with RotationsWatch
- 1216Valid Palindrome IIILocked
- 1220Count Vowels PermutationWatch
- 1223Dice Roll SimulationWatch
- 1224Maximum Equal FrequencyWatch
- 1225Report Contiguous DatesLocked
- 1231Divide ChocolateLocked
- 1235Maximum Profit in Job SchedulingWatch
- 1240Tiling a Rectangle with the Fewest SquaresWatch
- 1246Palindrome RemovalLocked
- 1250Check If It Is a Good ArrayWatch
- 1255Maximum Score Words Formed by LettersWatch
- 1259Handshakes That Don't CrossLocked
- 1263Minimum Moves to Move a Box to Their Target LocationWatch
- 1269Number of Ways to Stay in the Same Place After Some StepsWatch
- 1274Number of Ships in a RectangleLocked
- 1278Palindrome Partitioning IIIWatch
- 1284Minimum Number of Flips to Convert Binary Matrix to Zero MatrixWatch
- 1289Minimum Falling Path Sum IIWatch
- 1293Shortest Path in a Grid with Obstacles EliminationWatch
- 1298Maximum Candies You Can Get from BoxesWatch
- 1301Number of Paths with Max ScoreWatch
- 1307Verbal Arithmetic PuzzleWatch
- 1312Minimum Insertion Steps to Make a String PalindromeWatch
- 1316Distinct Echo SubstringsWatch
- 1320Minimum Distance to Type a Word Using Two FingersWatch
- 1326Minimum Number of Taps to Open to Water a GardenWatch
- 1330Reverse Subarray To Maximize Array ValueWatch
- 1335Minimum Difficulty of a Job ScheduleWatch
- 1336Number of Transactions per VisitLocked
- 1340Jump Game VWatch
- 1345Jump Game IVWatch
- 1349Maximum Students Taking ExamWatch
- 1354Construct Target Array With Multiple SumsWatch
- 1359Count All Valid Pickup and Delivery OptionsWatch
- 1363Largest Multiple of ThreeWatch
- 1368Minimum Cost to Make at Least One Valid Path in a GridWatch
- 1369Get the Second Most Recent ActivityLocked
- 1373Maximum Sum BST in Binary TreeWatch
- 1377Frog Position After T SecondsWatch
- 1383Maximum Performance of a TeamWatch
- 1384Total Sales Amount by YearLocked
- 1388Pizza With 3n SlicesWatch
- 1392Longest Happy PrefixWatch
- 1397Find All Good StringsWatch
- 1402Reducing DishesWatch
- 1406Stone Game IIIWatch
- 1411Number of Ways to Paint N × 3 GridWatch
- 1412Find the Quiet Students in All ExamsLocked
- 1416Restore The ArrayWatch
- 1420Build Array Where You Can Find The Maximum Exactly K ComparisonsWatch
- 1425Constrained Subsequence SumWatch
- 1434Number of Ways to Wear Different Hats to Each OtherWatch
- 1439Find the Kth Smallest Sum of a Matrix With Sorted RowsWatch
- 1444Number of Ways of Cutting a PizzaWatch
- 1449Form Largest Integer With Digits That Add up to TargetWatch
- 1453Maximum Number of Darts Inside of a Circular DartboardWatch
- 1458Max Dot Product of Two SubsequencesWatch
- 1463Cherry Pickup IIWatch
- 1467Probability of a Two Boxes Having The Same Number of Distinct BallsWatch
- 1473Paint House IIIWatch
- 1478Allocate MailboxesWatch
- 1479Sales by Day of the WeekLocked
- 1483Kth Ancestor of a Tree NodeWatch
- 1489Find Critical and Pseudo-Critical Edges in Minimum Spanning TreeWatch
- 1494Parallel Courses IIWatch
- 1499Max Value of EquationWatch
- 1505Minimum Possible Integer After at Most K Adjacent Swaps On DigitsWatch
- 1510Stone Game IVWatch
- 1515Best Position for a Service CentreWatch
- 1516Move Sub-Tree of N-Ary TreeLocked
- 1520Maximum Number of Non-Overlapping SubstringsWatch
- 1521Find a Value of a Mysterious Function Closest to TargetWatch
- 1526Minimum Number of Increments on Subarrays to Form a Target ArrayWatch
- 1531String Compression IIWatch
- 1537Get the Maximum ScoreWatch
- 1542Find Longest Awesome SubstringWatch
- 1547Minimum Cost to Cut a StickWatch
- 1548The Most Similar Path in a GraphLocked
- 1553Minimum Number of Days to Eat N OrangesWatch
- 1563Stone Game VWatch
- 1568Minimum Number of Days to Disconnect IslandWatch
- 1569Number of Ways to Reorder Array to Get Same BSTWatch
- 1575Count All Possible RoutesWatch
- 1579Remove Max Number of Edges to Keep Graph Fully TraversableWatch
- 1585Check If String Is Transformable With Substring Sort OperationsWatch
- 1591Strange Printer IIWatch
- 1595Minimum Cost to Connect Two Groups of PointsWatch
- 1597Build Binary Expression Tree From Infix ExpressionLocked
- 1601Maximum Number of Achievable Transfer RequestsWatch
- 1606Find Servers That Handled Most Number of RequestsWatch
- 1610Maximum Number of Visible PointsWatch
- 1611Minimum One Bit Operations to Make Integers ZeroWatch
- 1617Count Subtrees With Max Distance Between CitiesWatch
- 1622Fancy SequenceWatch
- 1627Graph Connectivity With ThresholdWatch
- 1632Rank Transform of a MatrixWatch
- 1635Hopper Company Queries ILocked
- 1639Number of Ways to Form a Target String Given a DictionaryWatch
- 1643Kth Smallest InstructionsWatch
- 1645Hopper Company Queries IILocked
- 1649Create Sorted Array through InstructionsWatch
- 1651Hopper Company Queries IIILocked
- 1655Distribute Repeating IntegersWatch
- 1659Maximize Grid HappinessWatch
- 1665Minimum Initial Energy to Finish TasksWatch
- 1671Minimum Number of Removals to Make Mountain ArrayWatch
- 1675Minimize Deviation in ArrayWatch
- 1681Minimum IncompatibilityWatch
- 1687Delivering Boxes from Storage to PortsWatch
- 1691Maximum Height by Stacking Cuboids Watch
- 1692Count Ways to Distribute CandiesLocked
- 1697Checking Existence of Edge Length Limited PathsWatch
- 1703Minimum Adjacent Swaps for K Consecutive OnesWatch
- 1707Maximum XOR With an Element From ArrayWatch
- 1713Minimum Operations to Make a SubsequenceWatch
- 1714Sum Of Special Evenly-Spaced Elements In ArrayLocked
- 1719Number Of Ways To Reconstruct A TreeWatch
- 1723Find Minimum Time to Finish All JobsWatch
- 1724Checking Existence of Edge Length Limited Paths IILocked
- 1728Cat and Mouse IIWatch
- 1735Count Ways to Make Array With ProductWatch
- 1739Building BoxesWatch
- 1745Palindrome Partitioning IVWatch
- 1751Maximum Number of Events That Can Be Attended IIWatch
- 1755Closest Subsequence SumWatch
- 1761Minimum Degree of a Connected Trio in a GraphWatch
- 1766Tree of CoprimesWatch
- 1767Find the Subtasks That Did Not ExecuteLocked
- 1770Maximum Score from Performing Multiplication OperationsWatch
- 1771Maximize Palindrome Length From SubsequencesWatch
- 1776Car Fleet IIWatch
- 1782Count Pairs Of NodesWatch
- 1787Make the XOR of All Segments Equal to ZeroWatch
- 1788Maximize the Beauty of the GardenLocked
- 1793Maximum Score of a Good SubarrayWatch
- 1799Maximize Score After N OperationsWatch
- 1803Count Pairs With XOR in a RangeWatch
- 1808Maximize Number of Nice DivisorsWatch
- 1815Maximum Number of Groups Getting Fresh DonutsWatch
- 1819Number of Different Subsequences GCDsWatch
- 1825Finding MK AverageWatch
- 1830Minimum Number of Operations to Make String SortedWatch
- 1835Find XOR Sum of All Pairs Bitwise ANDWatch
- 1840Maximum Building HeightWatch
- 1842Next Palindrome Using Same DigitsLocked
- 1847Closest RoomWatch
- 1851Minimum Interval to Include Each QueryWatch
- 1857Largest Color Value in a Directed GraphWatch
- 1862Sum of Floored PairsWatch
- 1866Number of Ways to Rearrange Sticks With K Sticks VisibleWatch
- 1872Stone Game VIIIWatch
- 1879Minimum XOR Sum of Two ArraysWatch
- 1883Minimum Skips to Arrive at Meeting On TimeWatch
- 1889Minimum Space Wasted From PackagingWatch
- 1892Page Recommendations IILocked
- 1896Minimum Cost to Change the Final Value of ExpressionWatch
- 1900The Earliest and Latest Rounds Where Players CompeteWatch
- 1912Design Movie Rental SystemWatch
- 1916Count Ways to Build Rooms in an Ant ColonyWatch
- 1917Leetcodify Friends RecommendationsLocked
- 1919Leetcodify Similar FriendsLocked
- 1923Longest Common SubpathWatch
- 1924Erect the Fence IILocked
- 1928Minimum Cost to Reach Destination in TimeWatch
- 1931Painting a Grid With Three Different ColorsWatch
- 1932Merge BSTs to Create Single BSTWatch
- 1938Maximum Genetic Difference QueryWatch
- 1944Number of Visible People in a QueueWatch
- 1948Delete Duplicate Folders in SystemWatch
- 1955Count Number of Special SubsequencesWatch
- 1956Minimum Time For K Virus Variants to SpreadLocked
- 1960Maximum Product of the Length of Two Palindromic SubstringsWatch
- 1964Find the Longest Valid Obstacle Course at Each PositionWatch
- 1970Last Day Where You Can Still CrossWatch
- 1972First and Last Call On the Same DayLocked
- 1977Number of Ways to Separate NumbersWatch
- 1982Find Array Given Subset SumsWatch
- 1987Number of Unique Good SubsequencesWatch
- 1994The Number of Good SubsetsWatch
- 1998GCD Sort of an ArrayWatch
- 2003Smallest Missing Genetic Value in Each SubtreeWatch
- 2004The Number of Seniors and Juniors to Join the CompanyLocked
- 2005Subtree Removal Game with Fibonacci TreeLocked
- 2009Minimum Number of Operations to Make Array ContinuousWatch
- 2010The Number of Seniors and Juniors to Join the Company IILocked
- 2014Longest Subsequence Repeated k TimesWatch
- 2019The Score of Students Solving Math ExpressionWatch
- 2025Maximum Number of Ways to Partition an ArrayWatch
- 2030Smallest K-Length Subsequence With Occurrences of a LetterWatch
- 2035Partition Array Into Two Arrays to Minimize Sum DifferenceWatch
- 2040Kth Smallest Product of Two Sorted ArraysWatch
- 2045Second Minimum Time to Reach DestinationWatch
- 2050Parallel Courses IIIWatch
- 2056Number of Valid Move Combinations On ChessboardWatch
- 2060Check if an Original String Exists Given Two Encoded StringsWatch
- 2065Maximum Path Quality of a GraphWatch
- 2071Maximum Number of Tasks You Can AssignWatch
- 2076Process Restricted Friend RequestsWatch
- 2081Sum of k-Mirror NumbersWatch
- 2088Count Fertile Pyramids in a LandWatch
- 2092Find All People With SecretWatch
- 2097Valid Arrangement of PairsWatch
- 2102Sequentially Ordinal Rank TrackerWatch
- 2106Maximum Fruits Harvested After at Most K StepsWatch
- 2111Minimum Operations to Make the Array K-IncreasingWatch
- 2117Abbreviating the Product of a RangeWatch
- 2118Build the EquationLocked
- 2122Recover the Original ArrayWatch
- 2123Minimum Operations to Remove Adjacent Ones in MatrixLocked
- 2127Maximum Employees to Be Invited to a MeetingWatch
- 2132Stamping the GridWatch
- 2136Earliest Possible Day of Full BloomWatch
- 2141Maximum Running Time of N ComputersWatch
- 2143Choose Numbers From Two Arrays in RangeLocked
- 2147Number of Ways to Divide a Long CorridorWatch
- 2151Maximum Good People Based on StatementsWatch
- 2153The Number of Passengers in Each Bus IILocked
- 2156Find Substring With Given Hash ValueWatch
- 2157Groups of StringsWatch
- 2158Amount of New Area Painted Each DayLocked
- 2163Minimum Difference in Sums After Removal of ElementsWatch
- 2167Minimum Time to Remove All Cars Containing Illegal GoodsWatch
- 2172Maximum AND Sum of ArrayWatch
- 2173Longest Winning StreakLocked
- 2179Count Good Triplets in an ArrayWatch
- 2183Count Array Pairs Divisible by KWatch
- 2188Minimum Time to Finish the RaceWatch
- 2193Minimum Number of Moves to Make PalindromeWatch
- 2197Replace Non-Coprime Numbers in ArrayWatch
- 2199Finding the Topic of Each PostLocked
- 2203Minimum Weighted Subgraph With the Required PathsWatch
- 2204Distance to a Cycle in Undirected GraphLocked
- 2209Minimum White Tiles After Covering With CarpetsWatch
- 2213Longest Substring of One Repeating CharacterWatch
- 2218Maximum Value of K Coins From PilesWatch
- 2223Sum of Scores of Built StringsWatch
- 2227Encrypt and Decrypt StringsWatch
- 2234Maximum Total Beauty of the GardensWatch
- 2242Maximum Score of a Node SequenceWatch
- 2246Longest Path With Different Adjacent CharactersWatch
- 2247Maximum Cost of Trip With K HighwaysLocked
- 2251Number of Flowers in Full BloomWatch
- 2252Dynamic Pivoting of a TableLocked
- 2253Dynamic Unpivoting of a TableLocked
- 2254Design Video Sharing PlatformLocked
- 2258Escape the Spreading FireWatch
- 2262Total Appeal of A StringWatch
- 2263Make Array Non-decreasing or Non-increasingLocked
- 2267 Check if There Is a Valid Parentheses String PathWatch
- 2272Substring With Largest VarianceWatch
- 2276Count Integers in IntervalsWatch
- 2277Closest Node to Path in TreeLocked
- 2281Sum of Total Strength of WizardsWatch
- 2286Booking Concert Tickets in GroupsWatch
- 2290Minimum Obstacle Removal to Reach CornerWatch
- 2296Design a Text EditorWatch
- 2301Match Substring After ReplacementWatch
- 2302Count Subarrays With Score Less Than KWatch
- 2306Naming a CompanyWatch
- 2307Check for Contradictions in EquationsLocked
- 2312Selling Pieces of WoodWatch
- 2313Minimum Flips in Binary Tree to Get ResultLocked
- 2318Number of Distinct Roll SequencesWatch
- 2321Maximum Score Of Spliced ArrayWatch
- 2322Minimum Score After Removals on a TreeWatch
- 2328Number of Increasing Paths in a GridWatch
- 2334Subarray With Elements Greater Than Varying ThresholdWatch
- 2338Count the Number of Ideal ArraysWatch
- 2344Minimum Deletions to Make Array DivisibleWatch
- 2350Shortest Impossible Sequence of RollsWatch
- 2354Number of Excellent PairsWatch
- 2355Maximum Number of Books You Can TakeLocked
- 2360Longest Cycle in a GraphWatch
- 2361Minimum Costs Using the Train LineLocked
- 2362Generate the InvoiceLocked
- 2366Minimum Replacements to Sort the ArrayWatch
- 2371Minimize Maximum Value in a GridLocked
- 2376Count Special IntegersWatch
- 2382Maximum Segment Sum After RemovalsWatch
- 2386Find the K-Sum of an ArrayWatch
- 2392Build a Matrix With ConditionsWatch
- 2398Maximum Number of Robots Within BudgetWatch
- 2402Meeting Rooms IIIWatch
- 2403Minimum Time to Kill All MonstersLocked
- 2407Longest Increasing Subsequence IIWatch
- 2412Minimum Money Required Before TransactionsWatch
- 2416Sum of Prefix Scores of StringsWatch
- 2421Number of Good PathsWatch
- 2426Number of Pairs Satisfying InequalityWatch
- 2430Maximum Deletions on a StringWatch
- 2435Paths in Matrix Whose Sum Is Divisible by KWatch
- 2440Create Components With Same ValueWatch
- 2444Count Subarrays With Fixed BoundsWatch
- 2448Minimum Cost to Make Array EqualWatch
- 2449Minimum Number of Operations to Make Arrays SimilarWatch
- 2454Next Greater Element IVWatch
- 2458Height of Binary Tree After Subtree Removal QueriesWatch
- 2459Sort Array by Moving Items to Empty SpaceLocked
- 2463Minimum Total Distance TraveledWatch
- 2468Split Message Based on LimitWatch
- 2472Maximum Number of Non-overlapping Palindrome SubstringsWatch
- 2474Customers With Strictly Increasing PurchasesLocked
- 2478Number of Beautiful PartitionsWatch
- 2479Maximum XOR of Two Non-Overlapping SubtreesLocked
- 2484Count Palindromic SubsequencesWatch
- 2488Count Subarrays With Median KWatch
- 2493Divide Nodes Into the Maximum Number of GroupsWatch
- 2494Merge Overlapping Events in the Same HallLocked
- 2499Minimum Total Cost to Make Arrays UnequalWatch
- 2503Maximum Number of Points From Grid QueriesWatch
- 2508Add Edges to Make Degrees of All Nodes EvenWatch
- 2509Cycle Length Queries in a TreeWatch
- 2514Count AnagramsWatch
- 2518Number of Great PartitionsWatch
- 2519Count the Number of K-Big IndicesLocked
- 2524Maximum Frequency Score of a SubarrayLocked
- 2528Maximize the Minimum Powered CityWatch
- 2532Time to Cross a BridgeWatch
- 2534Time Taken to Cross the DoorLocked
- 2538Difference Between Maximum and Minimum Price SumWatch
- 2543Check if Point Is ReachableWatch
- 2547Minimum Cost to Split an ArrayWatch
- 2551Put Marbles in BagsWatch
- 2552Count Increasing QuadrupletsWatch
- 2561Rearranging FruitsWatch
- 2565Subsequence With the Minimum ScoreWatch
- 2569Handling Sum Queries After UpdateWatch
- 2573Find the String with LCPWatch
- 2577Minimum Time to Visit a Cell In a GridWatch
- 2581Count Number of Possible Root NodesWatch
- 2584Split the Array to Make Coprime ProductsWatch
- 2585Number of Ways to Earn PointsWatch
- 2589Minimum Time to Complete All TasksWatch
- 2603Collect Coins in a TreeWatch
- 2604Minimum Time to Eat All GrainsLocked
- 2608Shortest Cycle in a GraphWatch
- 2612Minimum Reverse OperationsWatch
- 2613Beautiful PairsLocked
- 2617Minimum Number of Visited Cells in a GridWatch
- 2630Memoize IIWatch
- 2642Design Graph With Shortest Path CalculatorWatch
- 2646Minimize the Total Price of the TripsWatch
- 2647Color the Triangle RedLocked
- 2650Design Cancellable FunctionWatch
- 2659Make Array EmptyWatch
- 2663Lexicographically Smallest Beautiful StringWatch
- 2675Array of Objects to MatrixLocked
- 2681Power of HeroesWatch
- 2691Immutability HelperLocked
- 2699Modify Graph Edge WeightsWatch
- 2701Consecutive Transactions with Increasing AmountsLocked
- 2702Minimum Operations to Make Numbers Non-positiveLocked
- 2709Greatest Common Divisor TraversalWatch
- 2713Maximum Strictly Increasing Cells in a MatrixWatch
- 2714Find Shortest Path with K HopsLocked
- 2719Count of IntegersWatch
- 2720Popularity PercentageLocked
- 2732Find a Good Subset of the MatrixWatch
- 2736Maximum Sum QueriesWatch
- 2742Painting the WallsWatch
- 2751Robot CollisionsWatch
- 2752Customers with Maximum Number of Transactions on Consecutive DaysLocked
- 2753Count Houses in a Circular Street IILocked
- 2756Query BatchingLocked
- 2759Convert JSON String to ObjectLocked
- 2763Sum of Imbalance Numbers of All SubarraysWatch
- 2781Length of the Longest Valid SubstringWatch
- 2790Maximum Number of Groups With Increasing LengthWatch
- 2791Count Paths That Can Form a Palindrome in a TreeWatch
- 2792Count Nodes That Are Great EnoughLocked
- 2793Status of Flight TicketsLocked
- 2801Count Stepping Numbers in RangeWatch
- 2809Minimum Time to Make Array Sum At Most xWatch
- 2813Maximum Elegance of a K-Length SubsequenceWatch
- 2814Minimum Time Takes to Reach Destination Without DrowningLocked
- 2818Apply Operations to Maximize ScoreWatch
- 2819Minimum Relative Loss After Buying ChocolatesLocked
- 2827Number of Beautiful Integers in the RangeWatch
- 2835Minimum Operations to Form Subsequence With Target SumWatch
- 2836Maximize Value of Function in a Ball Passing GameWatch
- 2842Count K-Subsequences of a String With Maximum BeautyWatch
- 2846Minimum Edge Weight Equilibrium Queries in a TreeWatch
- 2851String TransformationWatch
- 2858Minimum Edge Reversals So Every Node Is ReachableWatch
- 2862Maximum Element-Sum of a Complete Subset of IndicesWatch
- 2867Count Valid Paths in a TreeWatch
- 2868The Wording GameLocked
- 2872Maximum Number of K-Divisible ComponentsWatch
- 2876Count Visited Nodes in a Directed GraphWatch
- 2897Apply Operations on Array to Maximize Sum of SquaresWatch
- 2902Count of Sub-Multisets With Bounded SumWatch
- 2911Minimum Changes to Make K Semi-palindromesWatch
- 2912Number of Ways to Reach Destination in the GridLocked
- 2916Subarrays Distinct Element Sum of Squares IIWatch
- 2920Maximum Points After Collecting Coins From All NodesWatch
- 2921Maximum Profitable Triplets With Increasing Prices IILocked
- 2926Maximum Balanced Subsequence SumWatch
- 2927Distribute Candies Among Children IIILocked
- 2931Maximum Spending After Buying ItemsWatch
- 2935Maximum Strong Pair XOR IIWatch
- 2940Find Building Where Alice and Bob Can MeetWatch
- 2941Maximum GCD-Sum of a SubarrayLocked
- 2945Find Maximum Non-decreasing Array LengthWatch
- 2949Count Beautiful Substrings IIWatch
- 2953Count Complete SubstringsWatch
- 2954Count the Number of Infection SequencesWatch
- 2959Number of Possible Sets of Closing BranchesWatch
- 2963Count the Number of Good PartitionsWatch
- 2968Apply Operations to Maximize Frequency ScoreWatch
- 2969Minimum Number of Coins for Fruits IILocked
- 2972Count the Number of Incremovable Subarrays IIWatch
- 2973Find Number of Coins to Place in Tree NodesWatch
- 2977Minimum Cost to Convert String IIWatch
- 2983Palindrome Rearrangement QueriesWatch
- 2991Top Three Wineries Locked
- 2994Friday Purchases II Locked
- 2995Viewers Turned StreamersLocked
- 2999Count the Number of Powerful IntegersWatch
- 3003Maximize the Number of Partitions After OperationsWatch
- 3008Find Beautiful Indices in the Given Array IIWatch
- 3009Maximum Number of Intersections on the ChartLocked
- 3013Divide an Array Into Subarrays With Minimum Cost IIWatch
- 3017Count the Number of Houses at a Certain Distance IIWatch
- 3018Maximum Number of Removal Queries That Can Be Processed ILocked
- 3022Minimize OR of Remaining Elements Using OperationsWatch
- 3027Find the Number of Ways to Place People IIWatch
- 3031Minimum Time to Revert Word to Initial State IIWatch
- 3036Number of Subarrays That Match a Pattern IIWatch
- 3037Find Pattern in Infinite Stream IILocked
- 3041Maximize Consecutive Elements in an Array After ModificationWatch
- 3045Count Prefix and Suffix Pairs IIWatch
- 3049Earliest Second to Mark Indices IIWatch
- 3052Maximize ItemsLocked
- 3057Employees Project AllocationLocked
- 3060User Activities within Time BoundsLocked
- 3061Calculate Trapping Rain WaterLocked
- 3068Find the Maximum Sum of Node ValuesWatch
- 3072Distribute Elements Into Two Arrays IIWatch
- 3077Maximum Strength of K Disjoint SubarraysWatch
- 3082Find the Sum of the Power of All SubsequencesWatch
- 3086Minimum Moves to Pick K OnesWatch
- 3088Make String Anti-palindromeLocked
- 3093Longest Common Suffix QueriesWatch
- 3098Find the Sum of Subsequence PowersWatch
- 3102Minimize Manhattan DistancesWatch
- 3103Find Trending Hashtags II Locked
- 3104Find Longest Self-Contained SubstringLocked
- 3108Minimum Cost Walk in Weighted GraphWatch
- 3113Find the Number of Subarrays Where Boundary Elements Are MaximumWatch
- 3116Kth Smallest Amount With Single Denomination CombinationWatch
- 3117Minimum Sum of Values by Dividing ArrayWatch
- 3123Find Edges in Shortest PathsWatch
- 3130Find All Possible Stable Binary Arrays IIWatch
- 3134Find the Median of the Uniqueness ArrayWatch
- 3139Minimum Cost to Equalize ArrayWatch
- 3141Maximum Hamming DistancesLocked
- 3145Find Products of Elements of Big ArrayWatch
- 3149Find the Minimum Cost Array PermutationWatch
- 3154Find Number of Ways to Reach the K-th StairWatch
- 3156Employee Task Duration and Concurrent TasksLocked
- 3161Block Placement QueriesWatch
- 3165Maximum Sum of Subsequence With Non-adjacent ElementsWatch
- 3171Find Subarray With Bitwise OR Closest to KWatch
- 3177Find the Maximum Length of a Good Subsequence IIWatch
- 3181Maximum Total Reward Using Operations IIWatch
- 3187Peaks in ArrayWatch
- 3188Find Top Scoring Students IILocked
- 3193Count the Number of InversionsWatch
- 3197Find the Minimum Area to Cover All Ones IIWatch
- 3203Find Minimum Diameter After Merging Two TreesWatch
- 3209Number of Subarrays With AND Value of KWatch
- 3213Construct String with Minimum CostWatch
- 3214Year on Year Growth RateLocked
- 3219Minimum Cost for Cutting Cake IIWatch
- 3225Maximum Score From Grid OperationsWatch
- 3229Minimum Operations to Make Array Equal to TargetWatch
- 3231Minimum Number of Increasing Subsequence to Be RemovedLocked
- 3235Check if the Rectangle Corner Is ReachableWatch
- 3236CEO Subordinate HierarchyLocked
- 3241Time Taken to Mark All NodesWatch
- 3244Shortest Distance After Road Addition Queries IIWatch
- 3245Alternating Groups IIIWatch
- 3250Find the Count of Monotonic Pairs IWatch
- 3251Find the Count of Monotonic Pairs IIWatch
- 3256Maximum Value Sum by Placing Three Rooks IWatch
- 3257Maximum Value Sum by Placing Three Rooks IIWatch
- 3260Find the Largest Palindrome Divisible by KWatch
- 3261Count Substrings That Satisfy K-Constraint IIWatch
- 3266Final Array State After K Multiplication Operations IIWatch
- 3267Count Almost Equal Pairs IIWatch
- 3268Find Overlapping Shifts IILocked
- 3269Constructing Two Increasing ArraysLocked
- 3272Find the Count of Good IntegersWatch
- 3273Minimum Amount of Damage Dealt to BobWatch
- 3276Select Cells in Grid With Maximum ScoreWatch
- 3277Maximum XOR Score Subarray QueriesWatch
- 3279Maximum Total Area Occupied by PistonsLocked
- 3283Maximum Number of Moves to Kill All PawnsWatch
- 3287Find the Maximum Sequence Value of ArrayWatch
- 3288Length of the Longest Increasing PathWatch
- 3292Minimum Number of Valid Strings to Form Target IIWatch
- 3298Count Substrings That Can Be Rearranged to Contain a String IIWatch
- 3299Sum of Consecutive SubsequencesLocked
- 3303Find the Occurrence of First Almost Equal SubstringWatch
- 3307Find the K-th Character in String Game IIWatch
- 3311Construct 2D Grid Matching Graph LayoutWatch
- 3312Sorted GCD Pair QueriesWatch
- 3313Find the Last Marked Nodes in TreeLocked
- 3317Find the Number of Possible Ways for an EventWatch
- 3320Count The Number of Winning SequencesWatch
- 3321Find X-Sum of All K-Long Subarrays IIWatch
- 3327Check if DFS Strings Are PalindromesWatch
- 3329Count Substrings With K-Frequency Characters IILocked
- 3333Find the Original Typed String IIWatch
- 3336Find the Number of Subsequences With Equal GCDWatch
- 3337Total Characters in String After Transformations IIWatch
- 3343Count Number of Balanced PermutationsWatch
- 3347Maximum Frequency of an Element After Performing Operations IIWatch
- 3348Smallest Divisible Digit Product IIWatch
- 3351Sum of Good SubsequencesWatch
- 3352Count K-Reducible Numbers Less Than NWatch
- 3357Minimize the Maximum Adjacent Element DifferenceWatch
- 3359Find Sorted Submatrices With Maximum Element at Most KLocked
- 3363Find the Maximum Number of Fruits CollectedWatch
- 3367Maximize Sum of Weights after Edge RemovalsWatch
- 3368First Letter CapitalizationLocked
- 3369Design an Array Statistics Tracker Locked
- 3373Maximize the Number of Target Nodes After Connecting Trees IIWatch
- 3374First Letter Capitalization IIWatch
- 3378Count Connected Components in LCM GraphWatch
- 3382Maximum Area Rectangle With Point Constraints IIWatch
- 3383Minimum Runes to Add to Cast SpellLocked
- 3384Team Dominance by Pass SuccessLocked
- 3385Minimum Time to Break Locks IILocked
- 3389Minimum Operations to Make Character Frequencies EqualWatch
- 3390Longest Team Pass StreakLocked
- 3395Subsequences with a Unique Middle Mode IWatch
- 3398Smallest Substring With Identical Characters IWatch
- 3399Smallest Substring With Identical Characters IIWatch
- 3401Find Circular Gift Exchange ChainsLocked
- 3405Count the Number of Arrays with K Matching Adjacent ElementsWatch
- 3406Find the Lexicographically Largest String From the Box IILocked
- 3410Maximize Subarray Sum After Removing All Occurrences of One ElementWatch
- 3414Maximum Score of Non-overlapping IntervalsWatch
- 3416Subsequences with a Unique Middle Mode IILocked
- 3420Count Non-Decreasing Subarrays After K OperationsWatch
- 3425Longest Special PathWatch
- 3426Manhattan Distances of All Arrangements of PiecesWatch
- 3430Maximum and Minimum Sums of at Most Size K SubarraysWatch
- 3435Frequencies of Shortest SupersequencesWatch
- 3441Minimum Cost Good CaptionWatch
- 3444Minimum Increments for Target Multiples in an ArrayWatch
- 3445Maximum Difference Between Even and Odd Frequency IIWatch
- 3448Count Substrings Divisible By Last DigitWatch
- 3449Maximize the Minimum Game ScoreWatch
- 3451Find Invalid IP AddressesWatch
- 3454Separate Squares IIWatch
- 3455Shortest Matching SubstringWatch
- 3459Length of Longest V-Shaped Diagonal SegmentWatch
- 3463Check If Digits Are Equal in String After Operations IIWatch
- 3464Maximize the Distance Between Points on a SquareWatch
- 3470Permutations IVWatch
- 3474Lexicographically Smallest Generated StringWatch
- 3480Maximize Subarrays After Removing One Conflicting PairWatch
- 3482Analyze Organization HierarchyWatch
- 3485Longest Common Prefix of K Strings After RemovalWatch
- 3486Longest Special Path IIWatch
- 3490Count Beautiful NumbersWatch
- 3495Minimum Operations to Make Array Elements ZeroWatch
- 3500Minimum Cost to Divide Array Into SubarraysWatch
- 3501Maximize Active Section with Trade IIWatch
- 3504Longest Palindrome After Substring Concatenation IIWatch
- 3505Minimum Operations to Make Elements Within K Subarrays EqualWatch
- 3506Find Time Required to Eliminate Bacterial StrainsLocked
- 3509Maximum Product of Subsequences With an Alternating Sum Equal to KWatch
- 3510Minimum Pair Removal to Sort Array IIWatch
- 3515Shortest Path in a Weighted TreeWatch
- 3518Smallest Palindromic Rearrangement IIWatch
- 3519Count Numbers with Non-Decreasing Digits Watch
- 3525Find X Value of Array IIWatch
- 3526Range XOR Queries with Subarray ReversalsLocked
- 3530Maximum Profit from Valid Topological Order in DAGWatch
- 3533Concatenated DivisibilityWatch
- 3534Path Existence Queries in a Graph IIWatch
- 3538Merge Operations for Minimum Travel TimeWatch
- 3539Find Sum of Array Product of Magical SequencesWatch
- 3544Subtree Inversion SumWatch
- 3547Maximum Sum of Edge Values in a GraphWatch
- 3548Equal Sum Grid Partition IIWatch
- 3549Multiply Two PolynomialsLocked
- 3553Minimum Weighted Subgraph With the Required Paths IIWatch
- 3554Find Category Recommendation PairsWatch
- 3559Number of Ways to Assign Edge Weights IIWatch
- 3562Maximum Profit from Trading Stocks with DiscountsWatch
- 3563Lexicographically Smallest String After Adjacent RemovalsWatch
- 3569Maximize Count of Distinct Primes After SplitWatch
- 3574Maximize Subarray GCD ScoreWatch
- 3575Maximum Good Subtree ScoreWatch
- 3579Minimum Steps to Convert String with OperationsWatch
- 3585Find Weighted Median Node in TreeWatch
- 3590Kth Smallest Path XOR SumWatch
- 3594Minimum Time to Transport All IndividualsWatch
- 3600Maximize Spanning Tree Stability with UpgradesWatch
- 3605Minimum Stability Factor of ArrayWatch
- 3609Minimum Moves to Reach Target in GridWatch
- 3614Process String with Special Operations IIWatch
- 3615Longest Palindromic Path in GraphWatch
- 3617Find Students with Study Spiral PatternWatch
- 3620Network Recovery PathwaysWatch
- 3621Number of Integers With Popcount-Depth Equal to K IWatch
- 3624Number of Integers With Popcount-Depth Equal to K IIWatch
- 3625Count Number of Trapezoids IIWatch
- 3630Partition Array for Maximum XOR and ANDWatch
- 3632Subarrays with XOR at Least KLocked
- 3636Threshold Majority QueriesWatch
- 3640Trionic Array IIWatch
- 3646Next Special Palindrome NumberWatch
- 3651Minimum Cost Path with TeleportationsWatch
- 3655XOR After Range Multiplication Queries IIWatch
- 3661Maximum Walls Destroyed by RobotsWatch
- 3666Minimum Operations to Equalize Binary StringWatch
- 3671Sum of Beautiful SubsequencesWatch
- 3673Find Zombie SessionsWatch
- 3677Count Binary Palindromic NumbersWatch
- 3681Maximum XOR of SubsequencesWatch
- 3686Number of Stable SubsequencesWatch
- 3691Maximum Total Subarray Value IIWatch
- 3695Maximize Alternating Sum Using SwapsWatch
- 3699Number of ZigZag Arrays IWatch
- 3700Number of ZigZag Arrays IIWatch
- 3704Count No-Zero Pairs That Sum to NWatch
- 3710Maximum Partition FactorWatch
- 3715Sum of Perfect Square AncestorsWatch
- 3721Longest Balanced Subarray IIWatch
- 3725Count Ways to Choose Coprime Integers from RowsWatch
- 3729Count Distinct Subarrays Divisible by K in Sorted ArrayWatch
- 3734Lexicographically Smallest Palindromic Permutation Greater Than TargetWatch
- 3735Lexicographically Smallest String After Reverse IILocked
- 3739Count Subarrays With Majority Element IIWatch
- 3743Maximize Cyclic Partition ScoreWatch
- 3748Count Stable SubarraysWatch
- 3749Evaluate Valid ExpressionsLocked
- 3753Total Waviness of Numbers in Range IIWatch
- 3757Number of Effective SubsequencesWatch
- 3762Minimum Operations to Equalize SubarraysWatch
- 3764Most Common Course PairsWatch
- 3768Minimum Inversion Count in Subarrays of Fixed LengthWatch
- 3772Maximum Subgraph Score in a TreeWatch
- 3777Minimum Deletions to Make Alternating SubstringWatch
- 3782Last Remaining Integer After Alternating Deletion OperationsWatch
- 3785Minimum Swaps to Avoid Forbidden ValuesWatch
- 3786Total Sum of Interaction Cost in Tree GroupsWatch
- 3791Number of Balanced Integers in a RangeWatch
- 3797Count Routes to Climb a Rectangular GridWatch
- 3801Minimum Cost to Merge Sorted ListsWatch
- 3802Number of Ways to Paint SheetsLocked
- 3806Maximum Bitwise AND After Increment OperationsWatch
- 3812Minimum Edge Toggles on a TreeWatch
- 3816Lexicographically Smallest String After Deleting Duplicate CharactersWatch
- 3821Find Nth Smallest Integer With K One BitsWatch
- 3826Minimum Partition ScoreWatch
- 3830Longest Alternating Subarray After Removing At Most One ElementWatch
- 3832Find Users with Persistent Behavior PatternsWatch
- 3836Maximum Score Using Exactly K PairsWatch
- 3841Palindromic Path Queries in a TreeWatch
- 3845Maximum Subarray XOR with Bounded RangeWatch
- 3850Count Sequences to KWatch
- 3855Sum of K-Digit Numbers in a RangeWatch
- 3859Count Subarrays With K Distinct IntegersWatch
- 3864Minimum Cost to Partition a Binary StringWatch
- 3869Count Fancy Numbers in a RangeWatch
- 3873Maximum Points Activated with One AdditionWatch
- 3878Count Good SubarraysWatch
- 3883Count Non Decreasing Arrays With Given Digit SumsWatch
- 3886Sum of Sortable IntegersWatch
- 3887Incremental Even-Weighted Cycle QueriesWatch
- 3888Minimum Operations to Make All Grid Elements EqualLocked
- 3892Minimum Operations to Achieve At Least K PeaksWatch
- 3897Maximum Value of Concatenated Binary SegmentsWatch
- 3901Good Subsequence QueriesWatch
- 3906Count Good Integers on a Grid PathWatch
- 3910Count Connected Subgraphs with Even Node SumWatch
- 3911K-th Smallest Remaining Even Integer in Subarray QueriesWatch
- 3915Maximum Sum of Alternating Subsequence With Distance at Least KWatch
- 3916Number of ZigZag Arrays IIILocked
- 3920Maximize Fixed Points After DeletionsWatch
- 3924Minimum Threshold Path With Limited Heavy EdgesWatch
- 3928Minimum Cost to Buy Apples IIWatch
- 3929Minimum Partition Score IILocked
- 3930Power Update After K-th Largest Insertion IILocked
- 3934Smallest Unique SubarrayWatch
- 3939Count Non Adjacent Subsets in a Rooted TreeWatch
- 3943Number of Pairs After IncrementWatch
- 3944Minimum Operations to Make Array Modulo Alternating IILocked
- 3948Lexicographically Maximum MEX ArrayWatch
- 3949Subtree Inversion Sum IILocked
- 3953Maximum Score with Co-Prime ElementWatch
- 3956Maximum Sum of M Non-Overlapping Subarrays IWatch
- 3957Maximum Sum of M Non-Overlapping Subarrays IIWatch
- 3962Maximum Subarray Sum After at Most K SwapsWatch
- 3966Count Good Integers in a RangeWatch
- 3967Finish Time of Tasks IILocked
- 3971Maximum Total ValueWatch
- 3972Valid Subarrays With Matching Sum Digits IILocked
- 3973Distinct Gate Paths to LCALocked
- 3977Minimum Time to Reach Target With Limited PowerWatch
- 3981Count Distinct Ways to Form Target from Two StringsWatch
- 3985Palindromic Subarray SumWatch
- 3989Maximum Consistent Columns in a GridWatch
- 3990Create Grid With Exactly K Paths IILocked
- 3995Minimum Cost to Convert String IIIWatch
- 3999Minimum Number of String Groups Through TransformationsWatch
- 4003Minimum Cost Path with Alternating Directions IIIWatch
- 4004Minimum Moves to Balance Circular Array IILocked
- 4005Minimum Operations to Make Array Equal IIILocked
- 4007Widest Possible FenceWatch
- 4009Minimum Possible Maximum Waiting TimeWatch
- 4013Count Subarrays With Even Odd Ratio IIWatch
- 4017Peaks in Array IIWatch
- 4018Total Sum of Interaction Cost in Tree Groups IILocked
- 4023Elevator Requests IIWatch
- 4027Elevator Requests IIIWatch
- 4028Minimum Operations to Make a Rotated Palindrome IILocked
- 4029Elevator Requests IVLocked
- 4033Valid K-Unique Subarrays IWatch
- 4037Maximum Valid Split Positions IIWatch
- 4041Minimum Operations to Form Subset Sum IIWatch
- 4042Valid K-Unique Subarrays IILocked
- 4046Minimum Cost Path With At Most K TurnsWatch
- 4047Minimum Operations to Make XOR of All Elements ZeroLocked
- 4051Count Subarrays with Distant SumsWatch
- 4055Count Shadow Pairs IIWatch
- 4059Lexicographically Largest Power ArrayWatch
- 4060Count Evenly Good IntegersLocked