method
Sorting — animated LeetCode walkthroughs
LeetCode problems solved with Sorting. Browse the complete tag, then watch the algorithm move — step-by-step animation, Python and Go.
536 problems · 461 animated · 75 locked
Full Sorting index
- 153SumWatch
- 163Sum ClosestWatch
- 184SumWatch
- 47Permutations IIWatch
- 49Group AnagramsWatch
- 56Merge IntervalsWatch
- 75Sort ColorsWatch
- 88Merge Sorted ArrayWatch
- 147Insertion Sort ListWatch
- 148Sort ListWatch
- 164Maximum GapWatch
- 169Majority ElementWatch
- 179Largest NumberWatch
- 215Kth Largest Element in an ArrayWatch
- 217Contains DuplicateWatch
- 218The Skyline ProblemWatch
- 220Contains Duplicate IIIWatch
- 229Majority Element IIWatch
- 242Valid AnagramWatch
- 252Meeting RoomsLocked
- 253Meeting Rooms IILocked
- 2593Sum SmallerLocked
- 268Missing NumberWatch
- 274H-IndexWatch
- 280Wiggle SortLocked
- 295Find Median from Data StreamWatch
- 296Best Meeting PointLocked
- 314Binary Tree Vertical Order TraversalLocked
- 324Wiggle Sort IIWatch
- 332Reconstruct ItineraryWatch
- 347Top K Frequent ElementsWatch
- 349Intersection of Two ArraysWatch
- 350Intersection of Two Arrays IIWatch
- 354Russian Doll EnvelopesWatch
- 358Rearrange String k Distance ApartLocked
- 360Sort Transformed ArrayLocked
- 368Largest Divisible SubsetWatch
- 378Kth Smallest Element in a Sorted MatrixWatch
- 389Find the DifferenceWatch
- 406Queue Reconstruction by HeightWatch
- 414Third Maximum NumberWatch
- 435Non-overlapping IntervalsWatch
- 436Find Right IntervalWatch
- 442Find All Duplicates in an ArrayWatch
- 451Sort Characters By FrequencyWatch
- 452Minimum Number of Arrows to Burst BalloonsWatch
- 455Assign CookiesWatch
- 462Minimum Moves to Equal Array Elements IIWatch
- 472Concatenated WordsWatch
- 475HeatersWatch
- 502IPOWatch
- 506Relative RanksWatch
- 522Longest Uncommon Subsequence IIWatch
- 524Longest Word in Dictionary through DeletingWatch
- 527Word AbbreviationLocked
- 532K-diff Pairs in an ArrayWatch
- 539Minimum Time DifferenceWatch
- 561Array PartitionWatch
- 581Shortest Unsorted Continuous SubarrayWatch
- 588Design In-Memory File SystemLocked
- 594Longest Harmonious SubsequenceWatch
- 611Valid Triangle NumberWatch
- 621Task SchedulerWatch
- 628Maximum Product of Three NumbersWatch
- 630Course Schedule IIIWatch
- 632Smallest Range Covering Elements from K ListsWatch
- 642Design Search Autocomplete SystemLocked
- 645Set MismatchWatch
- 646Maximum Length of Pair ChainWatch
- 658Find K Closest ElementsWatch
- 692Top K Frequent WordsWatch
- 694Number of Distinct IslandsLocked
- 710Random Pick with BlacklistWatch
- 711Number of Distinct Islands IILocked
- 719Find K-th Smallest Pair DistanceWatch
- 720Longest Word in DictionaryWatch
- 721Accounts MergeWatch
- 726Number of AtomsWatch
- 747Largest Number At Least Twice of OthersWatch
- 757Set Intersection Size At Least TwoWatch
- 759Employee Free TimeLocked
- 761Special Binary StringWatch
- 767Reorganize StringWatch
- 768Max Chunks To Make Sorted IIWatch
- 769Max Chunks To Make SortedWatch
- 786K-th Smallest Prime FractionWatch
- 791Custom Sort StringWatch
- 792Number of Matching SubsequencesWatch
- 823Binary Trees With FactorsWatch
- 825Friends Of Appropriate AgesWatch
- 826Most Profit Assigning WorkWatch
- 833Find And Replace in StringWatch
- 846Hand of StraightsWatch
- 853Car FleetWatch
- 857Minimum Cost to Hire K WorkersWatch
- 869Reordered Power of 2Watch
- 870Advantage ShuffleWatch
- 881Boats to Save PeopleWatch
- 888Fair Candy SwapWatch
- 891Sum of Subsequence WidthsWatch
- 893Groups of Special-Equivalent StringsWatch
- 899Orderly QueueWatch
- 905Sort Array By ParityWatch
- 910Smallest Range IIWatch
- 912Sort an ArrayWatch
- 922Sort Array By Parity IIWatch
- 9233Sum With MultiplicityWatch
- 937Reorder Data in Log FilesWatch
- 939Minimum Area RectangleWatch
- 945Minimum Increment to Make Array UniqueWatch
- 948Bag of TokensWatch
- 950Reveal Cards In Increasing OrderWatch
- 954Array of Doubled PairsWatch
- 969Pancake SortingWatch
- 973K Closest Points to OriginWatch
- 975Odd Even JumpWatch
- 976Largest Perimeter TriangleWatch
- 977Squares of a Sorted ArrayWatch
- 987Vertical Order Traversal of a Binary TreeWatch
- 1005Maximize Sum Of Array After K NegationsWatch
- 1029Two City SchedulingWatch
- 1030Matrix Cells in Distance OrderWatch
- 1040Moving Stones Until Consecutive IIWatch
- 1048Longest String ChainWatch
- 1051Height CheckerWatch
- 1054Distant BarcodesWatch
- 1057Campus BikesLocked
- 1058Minimize Rounding Error to Meet TargetLocked
- 1065Index Pairs of a StringLocked
- 1086High FiveLocked
- 1087Brace ExpansionLocked
- 1090Largest Values From LabelsWatch
- 1094Car PoolingWatch
- 1096Brace Expansion IIWatch
- 1099Two Sum Less Than KLocked
- 1101The Earliest Moment When Everyone Become FriendsLocked
- 1122Relative Sort ArrayWatch
- 1133Largest Unique NumberLocked
- 1152Analyze User Website Visit PatternLocked
- 1169Invalid TransactionsWatch
- 1170Compare Strings by Frequency of the Smallest CharacterWatch
- 1181Before and After PuzzleLocked
- 1183Maximum Number of OnesLocked
- 1187Make Array Strictly IncreasingWatch
- 1196How Many Apples Can You Put into the BasketLocked
- 1200Minimum Absolute DifferenceWatch
- 1202Smallest String With SwapsWatch
- 1229Meeting SchedulerLocked
- 1235Maximum Profit in Job SchedulingWatch
- 1244Design A LeaderboardLocked
- 1262Greatest Sum Divisible by ThreeWatch
- 1268Search Suggestions SystemWatch
- 1288Remove Covered IntervalsWatch
- 1296Divide Array in Sets of K Consecutive NumbersWatch
- 1300Sum of Mutated Array Closest to TargetWatch
- 1305All Elements in Two Binary Search TreesWatch
- 1311Get Watched Videos by Your FriendsWatch
- 1329Sort the Matrix DiagonallyWatch
- 1331Rank Transform of an ArrayWatch
- 1333Filter Restaurants by Vegan-Friendly, Price and DistanceWatch
- 1337The K Weakest Rows in a MatrixWatch
- 1338Reduce Array Size to The HalfWatch
- 1340Jump Game VWatch
- 1346Check If N and Its Double ExistWatch
- 1348Tweet Counts Per FrequencyWatch
- 1353Maximum Number of Events That Can Be AttendedWatch
- 1356Sort Integers by The Number of 1 BitsWatch
- 1363Largest Multiple of ThreeWatch
- 1365How Many Numbers Are Smaller Than the Current NumberWatch
- 1366Rank Teams by VotesWatch
- 1383Maximum Performance of a TeamWatch
- 1385Find the Distance Value Between Two ArraysWatch
- 1387Sort Integers by The Power ValueWatch
- 1402Reducing DishesWatch
- 1403Minimum Subsequence in Non-Increasing OrderWatch
- 1418Display Table of Food Orders in a RestaurantWatch
- 1424Diagonal Traverse IIWatch
- 1433Check If a String Can Break Another StringWatch
- 1451Rearrange Words in a SentenceWatch
- 1460Make Two Arrays Equal by Reversing SubarraysWatch
- 1464Maximum Product of Two Elements in an ArrayWatch
- 1465Maximum Area of a Piece of Cake After Horizontal and Vertical CutsWatch
- 1471The k Strongest Values in an ArrayWatch
- 1478Allocate MailboxesWatch
- 1481Least Number of Unique Integers after K RemovalsWatch
- 1489Find Critical and Pseudo-Critical Edges in Minimum Spanning TreeWatch
- 1491Average Salary Excluding the Minimum and Maximum SalaryWatch
- 1498Number of Subsequences That Satisfy the Given Sum ConditionWatch
- 1500Design a File Sharing SystemLocked
- 1502Can Make Arithmetic Progression From SequenceWatch
- 1508Range Sum of Sorted Subarray SumsWatch
- 1509Minimum Difference Between Largest and Smallest Value in Three MovesWatch
- 1520Maximum Number of Non-Overlapping SubstringsWatch
- 1547Minimum Cost to Cut a StickWatch
- 1552Magnetic Force Between Two BallsWatch
- 1561Maximum Number of Coins You Can GetWatch
- 1564Put Boxes Into the Warehouse ILocked
- 1580Put Boxes Into the Warehouse IILocked
- 1585Check If String Is Transformable With Substring Sort OperationsWatch
- 1589Maximum Sum Obtained of Any PermutationWatch
- 1604Alert Using Same Key-Card Three or More Times in a One Hour PeriodWatch
- 1608Special Array With X Elements Greater Than or Equal XWatch
- 1610Maximum Number of Visible PointsWatch
- 1619Mean of Array After Removing Some ElementsWatch
- 1626Best Team With No ConflictsWatch
- 1630Arithmetic SubarraysWatch
- 1632Rank Transform of a MatrixWatch
- 1636Sort Array by Increasing FrequencyWatch
- 1637Widest Vertical Area Between Two Points Containing No PointsWatch
- 1647Minimum Deletions to Make Character Frequencies UniqueWatch
- 1648Sell Diminishing-Valued Colored BallsWatch
- 1657Determine if Two Strings Are CloseWatch
- 1665Minimum Initial Energy to Finish TasksWatch
- 1679Max Number of K-Sum PairsWatch
- 1686Stone Game VIWatch
- 1691Maximum Height by Stacking Cuboids Watch
- 1697Checking Existence of Edge Length Limited PathsWatch
- 1710Maximum Units on a TruckWatch
- 1724Checking Existence of Edge Length Limited Paths IILocked
- 1727Largest Submatrix With RearrangementsWatch
- 1738Find Kth Largest XOR Coordinate ValueWatch
- 1751Maximum Number of Events That Can Be Attended IIWatch
- 1755Closest Subsequence SumWatch
- 1772Sort Features by PopularityLocked
- 1782Count Pairs Of NodesWatch
- 1798Maximum Number of Consecutive Values You Can MakeWatch
- 1818Minimum Absolute Sum DifferenceWatch
- 1833Maximum Ice Cream BarsWatch
- 1834Single-Threaded CPUWatch
- 1838Frequency of the Most Frequent ElementWatch
- 1840Maximum Building HeightWatch
- 1846Maximum Element After Decreasing and RearrangingWatch
- 1847Closest RoomWatch
- 1851Minimum Interval to Include Each QueryWatch
- 1859Sorting the SentenceWatch
- 1874Minimize Product Sum of Two ArraysLocked
- 1877Minimize Maximum Pair Sum in ArrayWatch
- 1878Get Biggest Three Rhombus Sums in a GridWatch
- 1885Count Pairs in Two ArraysLocked
- 1887Reduction Operations to Make the Array Elements EqualWatch
- 1889Minimum Space Wasted From PackagingWatch
- 1913Maximum Product Difference Between Two PairsWatch
- 1921Eliminate Maximum Number of MonstersWatch
- 1943Describe the PaintingWatch
- 1948Delete Duplicate Folders in SystemWatch
- 1968Array With Elements Not Equal to Average of NeighborsWatch
- 1982Find Array Given Subset SumsWatch
- 1984Minimum Difference Between Highest and Lowest of K ScoresWatch
- 1985Find the Kth Largest Integer in the ArrayWatch
- 1996The Number of Weak Characters in the GameWatch
- 1998GCD Sort of an ArrayWatch
- 2007Find Original Array From Doubled ArrayWatch
- 2008Maximum Earnings From TaxiWatch
- 2015Average Height of Buildings in Each SegmentLocked
- 2021Brightest Position on StreetLocked
- 2033Minimum Operations to Make a Uni-Value GridWatch
- 2035Partition Array Into Two Arrays to Minimize Sum DifferenceWatch
- 2037Minimum Number of Moves to Seat EveryoneWatch
- 2046Sort Linked List Already Sorted Using Absolute ValuesLocked
- 2054Two Best Non-Overlapping EventsWatch
- 2070Most Beautiful Item for Each QueryWatch
- 2071Maximum Number of Tasks You Can AssignWatch
- 2089Find Target Indices After Sorting ArrayWatch
- 2092Find All People With SecretWatch
- 2094Finding 3-Digit Even NumbersWatch
- 2098Subsequence of Size K With the Largest Even SumLocked
- 2099Find Subsequence of Length K With the Largest SumWatch
- 2122Recover the Original ArrayWatch
- 2126Destroying AsteroidsWatch
- 2135Count Words Obtained After Adding a LetterWatch
- 2136Earliest Possible Day of Full BloomWatch
- 2141Maximum Running Time of N ComputersWatch
- 2144Minimum Cost of Buying Candies With DiscountWatch
- 2146K Highest Ranked Items Within a Price RangeWatch
- 2148Count Elements With Strictly Smaller and Greater Elements Watch
- 2154Keep Multiplying Found Values by TwoWatch
- 2160Minimum Sum of Four Digit Number After Splitting DigitsWatch
- 2164Sort Even and Odd Indices IndependentlyWatch
- 2165Smallest Value of the Rearranged NumberWatch
- 2171Removing Minimum Number of Magic BeansWatch
- 2191Sort the Jumbled NumbersWatch
- 2195Append K Integers With Minimal SumWatch
- 2225Find Players With Zero or One LossesWatch
- 2229Check if an Array Is ConsecutiveLocked
- 2231Largest Number After Digit Swaps by ParityWatch
- 2234Maximum Total Beauty of the GardensWatch
- 2242Maximum Score of a Node SequenceWatch
- 2248Intersection of Multiple ArraysWatch
- 2250Count Number of Rectangles Containing Each PointWatch
- 2251Number of Flowers in Full BloomWatch
- 2268Minimum Number of KeypressesLocked
- 2271Maximum White Tiles Covered by a CarpetWatch
- 2273Find Resultant Array After Removing AnagramsWatch
- 2274Maximum Consecutive Floors Without Special FloorsWatch
- 2279Maximum Bags With Full Capacity of RocksWatch
- 2280Minimum Lines to Represent a Line ChartWatch
- 2285Maximum Total Importance of RoadsWatch
- 2294Partition Array Such That Maximum Difference Is KWatch
- 2300Successful Pairs of Spells and PotionsWatch
- 2323Find Minimum Time to Finish All Jobs IILocked
- 2332The Latest Time to Catch a BusWatch
- 2333Minimum Sum of Squared DifferenceWatch
- 2335Minimum Amount of Time to Fill CupsWatch
- 2342Max Sum of a Pair With Equal Sum of DigitsWatch
- 2343Query Kth Smallest Trimmed NumberWatch
- 2344Minimum Deletions to Make Array DivisibleWatch
- 2345Finding the Number of Visible MountainsLocked
- 2357Make Array Zero by Subtracting Equal AmountsWatch
- 2363Merge Similar ItemsWatch
- 2371Minimize Maximum Value in a GridLocked
- 2386Find the K-Sum of an ArrayWatch
- 2389Longest Subsequence With Limited SumWatch
- 2402Meeting Rooms IIIWatch
- 2406Divide Intervals Into Minimum Number of GroupsWatch
- 2410Maximum Matching of Players With TrainersWatch
- 2412Minimum Money Required Before TransactionsWatch
- 2418Sort the PeopleWatch
- 2421Number of Good PathsWatch
- 2441Largest Positive Integer That Exists With Its NegativeWatch
- 2448Minimum Cost to Make Array EqualWatch
- 2449Minimum Number of Operations to Make Arrays SimilarWatch
- 2454Next Greater Element IVWatch
- 2456Most Popular Video CreatorWatch
- 2459Sort Array by Moving Items to Empty SpaceLocked
- 2463Minimum Total Distance TraveledWatch
- 2465Number of Distinct AveragesWatch
- 2475Number of Unequal Triplets in ArrayWatch
- 2491Divide Players Into Teams of Equal SkillWatch
- 2497Maximum Star Sum of a GraphWatch
- 2500Delete Greatest Value in Each RowWatch
- 2501Longest Square Streak in an ArrayWatch
- 2503Maximum Number of Points From Grid QueriesWatch
- 2512Reward Top K StudentsWatch
- 2517Maximum Tastiness of Candy BasketWatch
- 2542Maximum Subsequence ScoreWatch
- 2545Sort the Students by Their Kth ScoreWatch
- 2548Maximum Price to Fill a BagLocked
- 2551Put Marbles in BagsWatch
- 2554Maximum Number of Integers to Choose From a Range IWatch
- 2557Maximum Number of Integers to Choose From a Range IILocked
- 2563Count the Number of Fair PairsWatch
- 2567Minimum Score by Changing Two ElementsWatch
- 2576Find the Maximum Number of Marked IndicesWatch
- 2578Split With Minimum SumWatch
- 2580Count Ways to Group Overlapping RangesWatch
- 2583Kth Largest Sum in a Binary TreeWatch
- 2587Rearrange Array to Maximize Prefix ScoreWatch
- 2589Minimum Time to Complete All TasksWatch
- 2590Design a Todo ListLocked
- 2592Maximize Greatness of an ArrayWatch
- 2593Find Score of an Array After Marking All ElementsWatch
- 2597The Number of Beautiful SubsetsWatch
- 2602Minimum Operations to Make All Array Elements EqualWatch
- 2604Minimum Time to Eat All GrainsLocked
- 2607Make K-Subarray Sums EqualWatch
- 2611Mice and CheeseWatch
- 2613Beautiful PairsLocked
- 2616Minimize the Maximum Difference of PairsWatch
- 2638Count the Number of K-Free SubsetsLocked
- 2655Find Maximal Uncovered RangesLocked
- 2659Make Array EmptyWatch
- 2679Sum in a MatrixWatch
- 2681Power of HeroesWatch
- 2706Buy Two ChocolatesWatch
- 2708Maximum Strength of a GroupWatch
- 2713Maximum Strictly Increasing Cells in a MatrixWatch
- 2731Movement of RobotsWatch
- 2733Neither Minimum nor MaximumWatch
- 2736Maximum Sum QueriesWatch
- 2740Find the Value of the PartitionWatch
- 2747Count Zero Request ServersWatch
- 2751Robot CollisionsWatch
- 2766Relocate MarblesWatch
- 2779Maximum Beauty of an Array After Applying OperationWatch
- 2780Minimum Index of a Valid SplitWatch
- 2784Check if Array is GoodWatch
- 2785Sort Vowels in a StringWatch
- 2790Maximum Number of Groups With Increasing LengthWatch
- 2809Minimum Time to Make Array Sum At Most xWatch
- 2813Maximum Elegance of a K-Length SubsequenceWatch
- 2818Apply Operations to Maximize ScoreWatch
- 2819Minimum Relative Loss After Buying ChocolatesLocked
- 2824Count Pairs Whose Sum is Less than TargetWatch
- 2830Maximize the Profit as the SalesmanWatch
- 2838Maximum Coins Heroes Can CollectLocked
- 2840Check if Strings Can be Made Equal With Operations IIWatch
- 2842Count K-Subsequences of a String With Maximum BeautyWatch
- 2860Happy StudentsWatch
- 2863Maximum Length of Semi-Decreasing SubarraysLocked
- 2895Minimum Processing TimeWatch
- 2931Maximum Spending After Buying ItemsWatch
- 2933High-Access EmployeesWatch
- 2943Maximize Area of Square Hole in GridWatch
- 2948Make Lexicographically Smallest Array by Swapping ElementsWatch
- 2952Minimum Number of Coins to be AddedWatch
- 2966Divide Array Into Arrays With Max DifferenceWatch
- 2967Minimum Cost to Make Array EqualindromicWatch
- 2968Apply Operations to Maximize Frequency ScoreWatch
- 2971Find Polygon With the Largest PerimeterWatch
- 2973Find Number of Coins to Place in Tree NodesWatch
- 2974Minimum Number GameWatch
- 2996Smallest Missing Integer Greater Than Sequential Prefix SumWatch
- 3009Maximum Number of Intersections on the ChartLocked
- 3010Divide an Array Into Subarrays With Minimum Cost IWatch
- 3011Find if Array Can Be SortedWatch
- 3016Minimum Number of Pushes to Type Word IIWatch
- 3024Type of TriangleWatch
- 3025Find the Number of Ways to Place People IWatch
- 3027Find the Number of Ways to Place People IIWatch
- 3035Maximum Palindromes After OperationsWatch
- 3039Apply Operations to Make String EmptyWatch
- 3041Maximize Consecutive Elements in an Array After ModificationWatch
- 3068Find the Maximum Sum of Node ValuesWatch
- 3074Apple Redistribution into BoxesWatch
- 3075Maximize Happiness of Selected ChildrenWatch
- 3080Mark Elements on Array by Performing QueriesWatch
- 3081Replace Question Marks in String to Minimize Its ValueWatch
- 3085Minimum Deletions to Make String K-SpecialWatch
- 3088Make String Anti-palindromeLocked
- 3098Find the Sum of Subsequence PowersWatch
- 3102Minimize Manhattan DistancesWatch
- 3104Find Longest Self-Contained SubstringLocked
- 3107Minimum Operations to Make Median of Array Equal to KWatch
- 3111Minimum Rectangles to Cover PointsWatch
- 3119Maximum Number of Potholes That Can Be FixedLocked
- 3125Maximum Number That Makes Result of Bitwise AND ZeroLocked
- 3132Find the Integer Added to Array IIWatch
- 3143Maximum Points Inside the SquareWatch
- 3167Better Compression of StringLocked
- 3169Count Days Without MeetingsWatch
- 3180Maximum Total Reward Using Operations IWatch
- 3181Maximum Total Reward Using Operations IIWatch
- 3186Maximum Total Damage With Spell CastingWatch
- 3189Minimum Moves to Get a Peaceful BoardLocked
- 3194Minimum Average of Smallest and Largest ElementsWatch
- 3218Minimum Cost for Cutting Cake IWatch
- 3219Minimum Cost for Cutting Cake IIWatch
- 3265Count Almost Equal Pairs IWatch
- 3267Count Almost Equal Pairs IIWatch
- 3273Minimum Amount of Damage Dealt to BobWatch
- 3281Maximize Score of Numbers in RangesWatch
- 3288Length of the Longest Increasing PathWatch
- 3301Maximize the Total Height of Unique TowersWatch
- 3319K-th Largest Perfect Subtree Size in Binary TreeWatch
- 3323Minimize Connected Groups by Inserting IntervalLocked
- 3346Maximum Frequency of an Element After Performing Operations IWatch
- 3347Maximum Frequency of an Element After Performing Operations IIWatch
- 3362Zero Array Transformation IIIWatch
- 3365Rearrange K Substrings to Form Target StringWatch
- 3367Maximize Sum of Weights after Edge RemovalsWatch
- 3380Maximum Area Rectangle With Point Constraints IWatch
- 3382Maximum Area Rectangle With Point Constraints IIWatch
- 3394Check if Grid can be Cut into SectionsWatch
- 3397Maximum Number of Distinct Elements After OperationsWatch
- 3413Maximum Coins From K Consecutive BagsWatch
- 3414Maximum Score of Non-overlapping IntervalsWatch
- 3424Minimum Cost to Make Arrays IdenticalWatch
- 3428Maximum and Minimum Sums of at Most Size K SubsequencesWatch
- 3433Count Mentions Per UserWatch
- 3446Sort Matrix by DiagonalsWatch
- 3457Eat Pizzas!Watch
- 3458Select K Disjoint Special SubstringsWatch
- 3462Maximum Sum With at Most K ElementsWatch
- 3464Maximize the Distance Between Points on a SquareWatch
- 3467Transform Array by ParityWatch
- 3476Maximize Profit from Task AssignmentLocked
- 3478Choose K Elements With Maximum SumWatch
- 3491Phone Number PrefixLocked
- 3517Smallest Palindromic Rearrangement IWatch
- 3531Count Covered BuildingsWatch
- 3534Path Existence Queries in a Graph IIWatch
- 3536Maximum Product of Two DigitsWatch
- 3545Minimum Deletions for At Most K Distinct CharactersWatch
- 3551Minimum Swaps to Sort by Digit SumWatch
- 3555Smallest Subarray to Sort in Every Sliding WindowLocked
- 3556Sum of Largest Prime SubstringsWatch
- 3567Minimum Absolute Difference in Sliding SubmatrixWatch
- 3572Maximize Y‑Sum by Picking a Triplet of Distinct X‑ValuesWatch
- 3606Coupon Code ValidatorWatch
- 3608Minimum Time for K Connected ComponentsWatch
- 3613Minimize Maximum Component CostWatch
- 3627Maximum Median Sum of Subsequences of Size 3Watch
- 3631Sort Threats by Severity and ExploitabilityLocked
- 3633Earliest Finish Time for Land and Water Rides IWatch
- 3634Minimum Removals to Balance ArrayWatch
- 3635Earliest Finish Time for Land and Water Rides IIWatch
- 3645Maximum Total from Optimal Activation OrderWatch
- 3649Number of Perfect PairsWatch
- 3656Determine if a Simple Graph ExistsLocked
- 3661Maximum Walls Destroyed by RobotsWatch
- 3667Sort Array By Absolute ValueLocked
- 3684Maximize Sum of At Most K Distinct ElementsWatch
- 3685Subsequence Sum After Capping ElementsWatch
- 3695Maximize Alternating Sum Using SwapsWatch
- 3727Maximum Alternating Sum of SquaresWatch
- 3730Maximum Calories Burnt from JumpsLocked
- 3731Find Missing ElementsWatch
- 3732Maximum Product of Three Elements After One ReplacementWatch
- 3745Maximize Expression of Three ElementsWatch
- 3752Lexicographically Smallest Negated Permutation that Sums to TargetWatch
- 3759Count Elements With at Least K Greater ValuesWatch
- 3762Minimum Operations to Equalize SubarraysWatch
- 3763Maximum Total Sum with Threshold ConstraintsLocked
- 3767Maximize Points After Choosing K TasksWatch
- 3769Sort Integers by Binary ReflectionWatch
- 3774Absolute Difference Between Maximum and Minimum K ElementsWatch
- 3776Minimum Moves to Balance Circular ArrayWatch
- 3780Maximum Sum of Three Numbers Divisible by ThreeWatch
- 3799Word Squares IIWatch
- 3806Maximum Bitwise AND After Increment OperationsWatch
- 3812Minimum Edge Toggles on a TreeWatch
- 3814Maximum Capacity Within BudgetWatch
- 3842Toggle Light BulbsWatch
- 3851Maximum Requests Without Violating the LimitLocked
- 3867Sum of GCD of Formed PairsWatch
- 3886Sum of Sortable IntegersWatch
- 3890Integers With Multiple Sum of Two CubesWatch
- 3896Minimum Operations to Transform Array into Alternating PrimeWatch
- 3897Maximum Value of Concatenated Binary SegmentsWatch
- 3913Sort Vowels by FrequencyWatch
- 3920Maximize Fixed Points After DeletionsWatch
- 3930Power Update After K-th Largest Insertion IILocked
- 3935Power Update After K-th Largest Insertion ILocked
- 3947Maximum Number of Items From Sale IIWatch
- 3951Minimum Energy to Maintain BrightnessWatch
- 3961Maximize Sum of Device RatingsWatch
- 3962Maximum Subarray Sum After at Most K SwapsWatch
- 3974Maximum Total Sum of K Selected ElementsWatch
- 3975Filter Occupied IntervalsWatch
- 3992Rearrange String to Avoid Character PairWatch
- 4014Minimum Total Price After Applying DiscountsWatch
- 4018Total Sum of Interaction Cost in Tree Groups IILocked
- 4023Elevator Requests IIWatch
- 4027Elevator Requests IIIWatch
- 4031Find All Numbers Disappeared in an Array IIWatch
- 4055Count Shadow Pairs IIWatch