13Sum ClosestMediumArrayTwo PointersSorting
Solve → 23Sum SmallerMediumArrayTwo PointersBinary Search
Solve → 33Sum With MultiplicityMediumArrayHash TableTwo Pointers
Solve → 43SumMediumArrayTwo PointersSorting
Solve → 54SumMediumArrayTwo PointersSorting
Solve → 6Accounts MergeMediumArrayHash TableString
Solve → 7Advantage ShuffleMediumArrayTwo PointersGreedy
Solve → 8Alert Using Same Key-Card Three or More Times in a One Hour PeriodMediumArrayHash TableString
Solve → 9Alien DictionaryHardArrayStringDepth-First Search
Solve → 10All Ancestors of a Node in a Directed Acyclic GraphMediumDepth-First SearchBreadth-First SearchGraph Theory
Solve → 11All Elements in Two Binary Search TreesMediumTreeDepth-First SearchBinary Search Tree
Solve → 12All Paths from Source Lead to DestinationMediumGraph TheoryTopological Sort
Solve → 13Allocate MailboxesHardArrayMathDynamic Programming
Solve → 14Analyze User Website Visit PatternMediumArrayHash TableString
Solve → 15Append K Integers With Minimal SumMediumArrayMathGreedy
Solve → 16Apple Redistribution into BoxesEasyArrayGreedySorting
Solve → 17Apply Operations to Make String EmptyMediumArrayHash TableSorting
Solve → 18Apply Operations to Maximize Frequency ScoreHardArrayBinary SearchSliding Window
Solve → 19Apply Operations to Maximize ScoreHardArrayMathStack
Solve → 20Apply SubstitutionsMediumArrayHash TableString
Solve → 21Arithmetic SubarraysMediumArrayHash TableSorting
Solve → 22Array of Doubled PairsMediumArrayHash TableGreedy
Solve → 23Array PartitionEasyArrayGreedySorting
Solve → 24Array With Elements Not Equal to Average of NeighborsMediumArrayGreedySorting
Solve → 25Assign CookiesEasyArrayTwo PointersGreedy
Solve → 26Average Height of Buildings in Each SegmentMediumArraySortingHeap (Priority Queue)
Solve → 27Average Salary Excluding the Minimum and Maximum SalaryEasyArraySorting
Solve → 28Bag of TokensMediumArrayTwo PointersGreedy
Solve → 29Before and After PuzzleMediumArrayHash TableString
Solve → 30Best Meeting PointHardArrayMathSorting
Solve → 31Best Team With No ConflictsMediumArrayDynamic ProgrammingSorting
Solve → 32Better Compression of StringMediumHash TableStringSorting
Solve → 33Binary Tree Vertical Order TraversalMediumHash TableTreeDepth-First Search
Solve → 34Binary Trees With FactorsMediumArrayHash TableDynamic Programming
Solve → 35Boats to Save PeopleMediumArrayTwo PointersGreedy
Solve → 36Brace Expansion IIHardHash TableStringBacktracking
Solve → 37Brace ExpansionMediumStringBacktrackingStack
Solve → 38Brightest Position on StreetMediumArraySortingPrefix Sum
Solve → 39Build a Matrix With ConditionsHardArrayGraph TheoryTopological Sort
Solve → 40Buy Two ChocolatesEasyArrayGreedySorting
Solve → 41Campus BikesMediumArraySortingHeap (Priority Queue)
Solve → 42Can Make Arithmetic Progression From SequenceEasyArraySorting
Solve → 43Car FleetMediumArrayStackSorting
Solve → 44Car PoolingMediumArraySortingHeap (Priority Queue)
Solve → 45Cat and Mouse IIHardArrayMathDynamic Programming
Solve → 46Cat and MouseHardMathDynamic ProgrammingGraph Theory
Solve → 47Check if Array is GoodEasyArrayHash TableSorting
Solve → 48Check if Grid can be Cut into SectionsMediumArraySorting
Solve → 49Check If N and Its Double ExistEasyArrayHash TableTwo Pointers
Solve → 50Check If String Is Transformable With Substring Sort OperationsHardStringGreedySorting
Solve → 51Check if Strings Can be Made Equal With Operations IIMediumHash TableStringSorting
Solve → 52Checking Existence of Edge Length Limited Paths IIHardDepth-First SearchUnion-FindGraph Theory
Solve → 53Checking Existence of Edge Length Limited PathsHardArrayTwo PointersUnion-Find
Solve → 54Choose K Elements With Maximum SumMediumArraySortingHeap (Priority Queue)
Solve → 55Closest RoomHardArrayBinary SearchSorting
Solve → 56Closest Subsequence SumHardArrayTwo PointersDynamic Programming
Solve → 57Collect Coins in a TreeHardArrayTreeGraph Theory
Solve → 58Compare Strings by Frequency of the Smallest CharacterMediumArrayHash TableString
Solve → 59Concatenated WordsHardArrayStringDynamic Programming
Solve → 60Contains Duplicate IIIHardArraySliding WindowSorting
Solve → 61Contains DuplicateEasyArrayHash TableSorting
Solve → 62Count Almost Equal Pairs IMediumArrayHash TableSorting
Solve → 63Count Covered BuildingsMediumArrayHash TableSorting
Solve → 64Count Days Without MeetingsMediumArraySorting
Solve → 65Count Elements With Strictly Smaller and Greater Elements EasyArraySortingCounting
Solve → 66Count Good Triplets in an ArrayHardArrayBinary SearchDivide and Conquer
Solve → 67Count K-Subsequences of a String With Maximum BeautyHardHash TableMathString
Solve → 68Count Mentions Per UserMediumArrayMathSorting
Solve → 69Count Number of Rectangles Containing Each PointMediumArrayHash TableBinary Search
Solve → 70Count of Range SumHardArrayBinary SearchDivide and Conquer
Solve → 71Count of Smaller Numbers After SelfHardArrayBinary SearchDivide and Conquer
Solve → 72Count Pairs in Two ArraysMediumArrayTwo PointersBinary Search
Solve → 73Count Pairs Of NodesHardArrayHash TableTwo Pointers
Solve → 74Count Pairs Whose Sum is Less than TargetEasyArrayTwo PointersBinary Search
Solve → 75Count Subarrays With More Ones Than ZerosMediumArrayHash TableBinary Search
Solve → 76Count the Number of Fair PairsMediumArrayTwo PointersBinary Search
Solve → 77Count the Number of K-Big IndicesHardArrayBinary SearchDivide and Conquer
Solve → 78Count the Number of K-Free SubsetsMediumArrayMathDynamic Programming
Solve → 79Count Ways to Build Rooms in an Ant ColonyHardArrayMathDynamic Programming
Solve → 80Count Ways to Group Overlapping RangesMediumArraySorting
Solve → 81Count Words Obtained After Adding a LetterMediumArrayHash TableString
Solve → 82Count Zero Request ServersMediumArrayHash TableSliding Window
Solve → 83Coupon Code ValidatorEasyArrayHash TableString
Solve → 84Course Schedule IIMediumDepth-First SearchBreadth-First SearchGraph Theory
Solve → 85Course Schedule IIIHardArrayGreedySorting
Solve → 86Course Schedule IVMediumDepth-First SearchBreadth-First SearchGraph Theory
Solve → 87Course ScheduleMediumDepth-First SearchBreadth-First SearchGraph Theory
Solve → 88Create Sorted Array through InstructionsHardArrayBinary SearchDivide and Conquer
Solve → 89Custom Sort StringMediumHash TableStringSorting
Solve → 90Delete Greatest Value in Each RowEasyArraySortingHeap (Priority Queue)
Solve → 91Describe the PaintingMediumArrayHash TableSorting
Solve → 92Design a File Sharing SystemMediumHash TableDesignSorting
Solve → 93Design A LeaderboardMediumHash TableDesignSorting
Solve → 94Design a Todo ListMediumArrayHash TableString
Solve → 95Design Excel Sum FormulaHardArrayHash TableString
Solve → 96Design In-Memory File SystemHardHash TableStringDesign
Solve → 97Design Search Autocomplete SystemHardStringDepth-First SearchDesign
Solve → 98Destroying AsteroidsMediumArrayGreedySorting
Solve → 99Determine if Two Strings Are CloseMediumHash TableStringSorting
Solve → 100Diagonal Traverse IIMediumArraySortingHeap (Priority Queue)
Solve → 101Display Table of Food Orders in a RestaurantMediumArrayHash TableString
Solve → 102Distance to a Cycle in Undirected GraphHardDepth-First SearchBreadth-First SearchGraph Theory
Solve → 103Distant BarcodesMediumArrayHash TableGreedy
Solve → 104Divide an Array Into Subarrays With Minimum Cost IEasyArraySortingEnumeration
Solve → 105Divide Array in Sets of K Consecutive NumbersMediumArrayHash TableGreedy
Solve → 106Divide Array Into Arrays With Max DifferenceMediumArrayGreedySorting
Solve → 107Divide Intervals Into Minimum Number of GroupsMediumArrayTwo PointersGreedy
Solve → 108Divide Players Into Teams of Equal SkillMediumArrayHash TableTwo Pointers
Solve → 109Earliest Possible Day of Full BloomHardArrayGreedySorting
Solve → 110Eat Pizzas!MediumArrayGreedySorting
Solve → 111Eliminate Maximum Number of MonstersMediumArrayGreedySorting
Solve → 112Employee Free TimeHardArraySweep LineSorting
Solve → 113Fair Candy SwapEasyArrayHash TableBinary Search
Solve → 114Filter Restaurants by Vegan-Friendly, Price and DistanceMediumArraySorting
Solve → 115Find All Duplicates in an ArrayMediumArrayHash TableSorting
Solve → 116Find All People With SecretHardDepth-First SearchBreadth-First SearchUnion-Find
Solve → 117Find All Possible Recipes from Given SuppliesMediumArrayHash TableString
Solve → 118Find And Replace in StringMediumArrayHash TableString
Solve → 119Find Critical and Pseudo-Critical Edges in Minimum Spanning TreeHardUnion-FindGraph TheorySorting
Solve → 120Find Eventual Safe StatesMediumDepth-First SearchBreadth-First SearchGraph Theory
Solve → 121Find if Array Can Be SortedMediumArrayBit ManipulationSorting
Solve → 122Find K Closest ElementsMediumArrayTwo PointersBinary Search
Solve → 123Find K-th Smallest Pair DistanceHardArrayTwo PointersBinary Search
Solve → 124Find Kth Largest XOR Coordinate ValueMediumArrayDivide and ConquerBit Manipulation
Solve → 125Find Longest Self-Contained SubstringHardHash TableStringSorting
Solve → 126Find Maximal Uncovered RangesMediumArraySorting
Solve → 127Find Median from Data StreamHardTwo PointersDesignSorting
Solve → 128Find Minimum Time to Finish All Jobs IIMediumArrayGreedySorting
Solve → 129Find Missing ElementsEasyArrayHash TableSorting
Solve → 130Find Number of Coins to Place in Tree NodesHardDynamic ProgrammingTreeDepth-First Search
Solve → 131Find Original Array From Doubled ArrayMediumArrayHash TableGreedy
Solve → 132Find Players With Zero or One LossesMediumArrayHash TableSorting
Solve → 133Find Polygon With the Largest PerimeterMediumArrayGreedySorting
Solve → 134Find Resultant Array After Removing AnagramsEasyArrayHash TableString
Solve → 135Find Right IntervalMediumArrayBinary SearchSorting
Solve → 136Find Score of an Array After Marking All ElementsMediumArrayHash TableSorting
Solve → 137Find Subsequence of Length K With the Largest SumEasyArrayHash TableSorting
Solve → 138Find Target Indices After Sorting ArrayEasyArrayBinary SearchSorting
Solve → 139Find the DifferenceEasyHash TableStringBit Manipulation
Solve → 140Find the Distance Value Between Two ArraysEasyArrayTwo PointersBinary Search
Solve → 141Find the Integer Added to Array IIMediumArrayTwo PointersSorting
Solve → 142Find the K-Sum of an ArrayHardArraySortingHeap (Priority Queue)
Solve → 143Find the Kth Largest Integer in the ArrayMediumArrayStringDivide and Conquer
Solve → 144Find the Maximum Sum of Node ValuesHardArrayDynamic ProgrammingGreedy
Solve → 145Find the Number of Ways to Place People IMediumArrayMathGeometry
Solve → 146Find the Number of Ways to Place People IIHardArrayMathGeometry
Solve → 147Find the Sum of Subsequence PowersHardArrayDynamic ProgrammingSorting
Solve → 148Finding 3-Digit Even NumbersEasyArrayHash TableRecursion
Solve → 149Finding the Number of Visible MountainsMediumArrayStackSorting
Solve → 150Frequencies of Shortest SupersequencesHardArrayStringBit Manipulation
Solve → 151Frequency of the Most Frequent ElementMediumArrayBinary SearchGreedy
Solve → 152Friends Of Appropriate AgesMediumArrayTwo PointersBinary Search
Solve → 153GCD Sort of an ArrayHardArrayMathUnion-Find
Solve → 154Get Biggest Three Rhombus Sums in a GridMediumArrayMathSorting
Solve → 155Get Watched Videos by Your FriendsMediumArrayHash TableBreadth-First Search
Solve → 156Greatest Sum Divisible by ThreeMediumArrayDynamic ProgrammingGreedy
Solve → 157Group AnagramsMediumArrayHash TableString
Solve → 158Groups of Special-Equivalent StringsMediumArrayHash TableString
Solve → 159H-IndexMediumArraySortingCounting Sort
Solve → 160Hand of StraightsMediumArrayHash TableGreedy
Solve → 161Happy StudentsMediumArraySortingEnumeration
Solve → 162HeatersMediumArrayTwo PointersBinary Search
Solve → 163Height CheckerEasyArraySortingCounting Sort
Solve → 164High-Access EmployeesMediumArrayHash TableString
Solve → 165High FiveEasyArrayHash TableSorting
Solve → 166How Many Apples Can You Put into the BasketEasyArrayGreedySorting
Solve → 167How Many Numbers Are Smaller Than the Current NumberEasyArrayHash TableSorting
Solve → 168Index Pairs of a StringEasyArrayStringTrie
Solve → 169Insertion Sort ListMediumLinked ListSorting
Solve → 170Intersection of Multiple ArraysEasyArrayHash TableSorting
Solve → 171Intersection of Two Arrays IIEasyArrayHash TableTwo Pointers
Solve → 172Intersection of Two ArraysEasyArrayHash TableTwo Pointers
Solve → 173Invalid TransactionsMediumArrayHash TableString
Solve → 174IPOHardArrayGreedySorting
Solve → 175Jump Game VHardArrayDynamic ProgrammingSorting
Solve → 176K Closest Points to OriginMediumArrayMathDivide and Conquer
Solve → 177K-diff Pairs in an ArrayMediumArrayHash TableTwo Pointers
Solve → 178K Highest Ranked Items Within a Price RangeMediumArrayBreadth-First SearchSorting
Solve → 179K-th Largest Perfect Subtree Size in Binary TreeMediumTreeDepth-First SearchSorting
Solve → 180K-th Smallest Prime FractionMediumArrayTwo PointersBinary Search
Solve → 181Keep Multiplying Found Values by TwoEasyArrayHash TableSorting
Solve → 182Kth Largest Element in an ArrayMediumArrayDivide and ConquerSorting
Solve → 183Kth Largest Sum in a Binary TreeMediumTreeBreadth-First SearchSorting
Solve → 184Kth Smallest Element in a Sorted MatrixMediumArrayBinary SearchSorting
Solve → 185Largest Color Value in a Directed GraphHardHash TableStringDynamic Programming
Solve → 186Largest Divisible SubsetMediumArrayMathDynamic Programming
Solve → 187Largest Multiple of ThreeHardArrayMathDynamic Programming
Solve → 188Largest Number After Digit Swaps by ParityEasySortingHeap (Priority Queue)
Solve → 189Largest Number At Least Twice of OthersEasyArraySorting
Solve → 190Largest NumberMediumArrayStringGreedy
Solve → 191Largest Perimeter TriangleEasyArrayMathGreedy
Solve → 192Largest Positive Integer That Exists With Its NegativeEasyArrayHash TableTwo Pointers
Solve → 193Largest Submatrix With RearrangementsMediumArrayGreedySorting
Solve → 194Largest Unique NumberEasyArrayHash TableSorting
Solve → 195Largest Values From LabelsMediumArrayHash TableGreedy
Solve → 196Least Number of Unique Integers after K RemovalsMediumArrayHash TableGreedy
Solve → 197Lexicographically Smallest Negated Permutation that Sums to TargetMediumArrayMathTwo Pointers
Solve → 198Longest Cycle in a GraphHardDepth-First SearchBreadth-First SearchGraph Theory
Solve → 199Longest Harmonious SubsequenceEasyArrayHash TableSliding Window
Solve → 200Longest Increasing Path in a MatrixHardArrayDynamic ProgrammingDepth-First Search
Solve → 201Longest Path With Different Adjacent CharactersHardArrayStringTree
Solve → 202Longest Square Streak in an ArrayMediumArrayHash TableBinary Search
Solve → 203Longest String ChainMediumArrayHash TableTwo Pointers
Solve → 204Longest Subsequence With Limited SumEasyArrayBinary SearchGreedy
Solve → 205Longest Uncommon Subsequence IIMediumArrayHash TableTwo Pointers
Solve → 206Longest Word in Dictionary through DeletingMediumArrayTwo PointersString
Solve → 207Longest Word in DictionaryMediumArrayHash TableString
Solve → 208Loud and RichMediumArrayDepth-First SearchGraph Theory
Solve → 209Magnetic Force Between Two BallsMediumArrayBinary SearchSorting
Solve → 210Majority Element IIMediumArrayHash TableSorting
Solve → 211Majority ElementEasyArrayHash TableDivide and Conquer
Solve → 212Make Array EmptyHardArrayBinary SearchGreedy
Solve → 213Make Array Zero by Subtracting Equal AmountsEasyArrayHash TableGreedy
Solve → 214Make K-Subarray Sums EqualMediumArrayMathGreedy
Solve → 215Make Lexicographically Smallest Array by Swapping ElementsMediumArrayUnion-FindSorting
Solve → 216Make String Anti-palindromeHardStringGreedySorting
Solve → 217Make Two Arrays Equal by Reversing SubarraysEasyArrayHash TableSorting
Solve → 218Mark Elements on Array by Performing QueriesMediumArrayHash TableSorting
Solve → 219Matrix Cells in Distance OrderEasyArrayMathGeometry
Solve → 220Max Chunks To Make Sorted IIHardArrayStackGreedy
Solve → 221Max Chunks To Make SortedMediumArrayStackGreedy
Solve → 222Max Number of K-Sum PairsMediumArrayHash TableTwo Pointers
Solve → 223Max Sum of a Pair With Equal Sum of DigitsMediumArrayHash TableSorting
Solve → 224Maximize Alternating Sum Using SwapsHardArrayGreedyUnion-Find
Solve → 225Maximize Area of Square Hole in GridMediumArraySorting
Solve → 226Maximize Consecutive Elements in an Array After ModificationHardArrayDynamic ProgrammingSorting
Solve → 227Maximize Greatness of an ArrayMediumArrayTwo PointersGreedy
Solve → 228Maximize Happiness of Selected ChildrenMediumArrayGreedySorting
Solve → 229Maximize Points After Choosing K TasksMediumArrayGreedySorting
Solve → 230Maximize Score of Numbers in RangesMediumArrayBinary SearchGreedy
Solve → 231Maximize Sum Of Array After K NegationsEasyArrayGreedySorting
Solve → 232Maximize Sum of Weights after Edge RemovalsHardDynamic ProgrammingTreeDepth-First Search
Solve → 233Maximize the Profit as the SalesmanMediumArrayHash TableBinary Search
Solve → 234Maximize Y‑Sum by Picking a Triplet of Distinct X‑ValuesMediumArrayHash TableGreedy
Solve → 235Maximum and Minimum Sums of at Most Size K SubsequencesMediumArrayMathDynamic Programming
Solve → 236Maximum Area of a Piece of Cake After Horizontal and Vertical CutsMediumArrayGreedySorting
Solve → 237Maximum Area Rectangle With Point Constraints IMediumArrayMathBinary Indexed Tree
Solve → 238Maximum Area Rectangle With Point Constraints IIHardArrayMathBinary Indexed Tree
Solve → 239Maximum Bags With Full Capacity of RocksMediumArrayGreedySorting
Solve → 240Maximum Beauty of an Array After Applying OperationMediumArrayBinary SearchSliding Window
Solve → 241Maximum Bitwise AND After Increment OperationsHardArrayGreedyBit Manipulation
Solve → 242Maximum Building HeightHardArrayMathSorting
Solve → 243Maximum Calories Burnt from JumpsMediumArrayTwo PointersGreedy
Solve → 244Maximum Capacity Within BudgetMediumArrayTwo PointersBinary Search
Solve → 245Maximum Coins From K Consecutive BagsMediumArrayBinary SearchGreedy
Solve → 246Maximum Coins Heroes Can CollectMediumArrayTwo PointersBinary Search
Solve → 247Maximum Consecutive Floors Without Special FloorsMediumArraySorting
Solve → 248Maximum Earnings From TaxiMediumArrayHash TableBinary Search
Solve → 249Maximum Element After Decreasing and RearrangingMediumArrayGreedySorting
Solve → 250Maximum Employees to Be Invited to a MeetingHardArrayDynamic ProgrammingDepth-First Search
Solve → 251Maximum Frequency of an Element After Performing Operations IMediumArrayBinary SearchSliding Window
Solve → 252Maximum Frequency of an Element After Performing Operations IIHardArrayBinary SearchSliding Window
Solve → 253Maximum GapMediumArraySortingBucket Sort
Solve → 254Maximum Height by Stacking Cuboids HardArrayDynamic ProgrammingSorting
Solve → 255Maximum Ice Cream BarsMediumArrayGreedySorting
Solve → 256Maximum Length of Pair ChainMediumArrayDynamic ProgrammingGreedy
Solve → 257Maximum Length of Semi-Decreasing SubarraysMediumArrayStackSorting
Solve → 258Maximum Matching of Players With TrainersMediumArrayTwo PointersGreedy
Solve → 259Maximum Median Sum of Subsequences of Size 3MediumArrayMathGreedy
Solve → 260Maximum Number of Coins You Can GetMediumArrayMathGreedy
Solve → 261Maximum Number of Consecutive Values You Can MakeMediumArrayGreedySorting
Solve → 262Maximum Number of Distinct Elements After OperationsMediumArrayGreedySorting
Solve → 263Maximum Number of Events That Can Be Attended IIHardArrayBinary SearchDynamic Programming
Solve → 264Maximum Number of Events That Can Be AttendedMediumArrayGreedySorting
Solve → 265Maximum Number of Groups With Increasing LengthHardArrayMathBinary Search
Solve → 266Maximum Number of Integers to Choose From a Range IMediumArrayHash TableBinary Search
Solve → 267Maximum Number of Integers to Choose From a Range IIMediumArrayBinary SearchGreedy
Solve → 268Maximum Number of Intersections on the ChartHardArrayHash TableMath
Solve → 269Maximum Number of Non-Overlapping SubstringsHardHash TableStringGreedy
Solve → 270Maximum Number of OnesHardMathGreedySorting
Solve → 271Maximum Number of Points From Grid QueriesHardArrayTwo PointersBreadth-First Search
Solve → 272Maximum Number of Potholes That Can Be FixedMediumStringGreedySorting
Solve → 273Maximum Number of Tasks You Can AssignHardArrayTwo PointersBinary Search
Solve → 274Maximum Number of Visible PointsHardArrayMathGeometry
Solve → 275Maximum Number That Makes Result of Bitwise AND ZeroMediumStringGreedySorting
Solve → 276Maximum Palindromes After OperationsMediumArrayHash TableString
Solve → 277Maximum Performance of a TeamHardArrayGreedySorting
Solve → 278Maximum Points Inside the SquareMediumArrayHash TableString
Solve → 279Maximum Price to Fill a BagMediumArrayGreedySorting
Solve → 280Maximum Product Difference Between Two PairsEasyArraySorting
Solve → 281Maximum Product of Three Elements After One ReplacementMediumArrayMathGreedy
Solve → 282Maximum Product of Three NumbersEasyArrayMathSorting
Solve → 283Maximum Product of Two DigitsEasyMathSorting
Solve → 284Maximum Product of Two Elements in an ArrayEasyArraySortingHeap (Priority Queue)
Solve → 285Maximum Profit in Job SchedulingHardArrayBinary SearchDynamic Programming
Solve → 286Maximum Running Time of N ComputersHardArrayBinary SearchGreedy
Solve → 287Maximum Score of a Node SequenceHardArrayGraph TheorySorting
Solve → 288Maximum Score of Non-overlapping IntervalsHardArrayBinary SearchDynamic Programming
Solve → 289Maximum Spending After Buying ItemsHardArrayGreedySorting
Solve → 290Maximum Star Sum of a GraphMediumArrayGreedyGraph Theory
Solve → 291Maximum Subsequence ScoreMediumArrayGreedySorting
Solve → 292Maximum Sum Obtained of Any PermutationMediumArrayGreedySorting
Solve → 293Maximum Sum of Three Numbers Divisible by ThreeMediumArrayGreedySorting
Solve → 294Maximum Sum With at Most K ElementsMediumArrayGreedySorting
Solve → 295Maximum Tastiness of Candy BasketMediumArrayBinary SearchGreedy
Solve → 296Maximum Total Beauty of the GardensHardArrayTwo PointersBinary Search
Solve → 297Maximum Total Damage With Spell CastingMediumArrayHash TableTwo Pointers
Solve → 298Maximum Total from Optimal Activation OrderMediumArrayTwo PointersGreedy
Solve → 299Maximum Total Importance of RoadsMediumGreedyGraph TheorySorting
Solve → 300Maximum Units on a TruckEasyArrayGreedySorting
Solve → 301Maximum Walls Destroyed by RobotsHardArrayBinary SearchDynamic Programming
Solve → 302Maximum White Tiles Covered by a CarpetMediumArrayBinary SearchGreedy
Solve → 303Mean of Array After Removing Some ElementsEasyArraySorting
Solve → 304Meeting Rooms IIMediumArrayTwo PointersGreedy
Solve → 305Meeting Rooms IIIHardArrayHash TableSorting
Solve → 306Meeting RoomsEasyArraySorting
Solve → 307Meeting SchedulerMediumArrayTwo PointersSorting
Solve → 308Merge IntervalsMediumArraySorting
Solve → 309Merge k Sorted ListsHardLinked ListDivide and ConquerHeap (Priority Queue)
Solve → 310Merge Similar ItemsEasyArrayHash TableSorting
Solve → 311Merge Sorted ArrayEasyArrayTwo PointersSorting
Solve → 312Mice and CheeseMediumArrayGreedySorting
Solve → 313Minimize Connected Groups by Inserting IntervalMediumArrayBinary SearchSliding Window
Solve → 314Minimize Manhattan DistancesHardArrayMathGeometry
Solve → 315Minimize Maximum Component CostMediumBinary SearchUnion-FindGraph Theory
Solve → 316Minimize Maximum Pair Sum in ArrayMediumArrayTwo PointersGreedy
Solve → 317Minimize Maximum Value in a GridHardArrayUnion-FindGraph Theory
Solve → 318Minimize Product Sum of Two ArraysMediumArrayGreedySorting
Solve → 319Minimize Rounding Error to Meet TargetMediumArrayMathString
Solve → 320Minimize the Maximum Difference of PairsMediumArrayBinary SearchDynamic Programming
Solve → 321Minimum Absolute DifferenceEasyArraySorting
Solve → 322Minimum Absolute Sum DifferenceMediumArrayBinary SearchSorting
Solve → 323Minimum Amount of Damage Dealt to BobHardArrayGreedySorting
Solve → 324Minimum Amount of Time to Fill CupsEasyArrayGreedySorting
Solve → 325Minimum Area RectangleMediumArrayHash TableMath
Solve → 326Minimum Average of Smallest and Largest ElementsEasyArrayTwo PointersSorting
Solve → 327Minimum Cost of Buying Candies With DiscountEasyArrayGreedySorting
Solve → 328Minimum Cost to Cut a StickHardArrayDynamic ProgrammingSorting
Solve → 329Minimum Cost to Hire K WorkersHardArrayGreedySorting
Solve → 330Minimum Cost to Make Array EqualHardArrayBinary SearchGreedy
Solve → 331Minimum Cost to Make Array EqualindromicMediumArrayMathBinary Search
Solve → 332Minimum Cost to Make Arrays IdenticalMediumArrayGreedySorting
Solve → 333Minimum Deletions for At Most K Distinct CharactersEasyHash TableStringGreedy
Solve → 334Minimum Deletions to Make Array DivisibleHardArrayMathSorting
Solve → 335Minimum Deletions to Make Character Frequencies UniqueMediumHash TableStringGreedy
Solve → 336Minimum Deletions to Make String K-SpecialMediumHash TableStringGreedy
Solve → 337Minimum Difference Between Highest and Lowest of K ScoresEasyArraySliding WindowSorting
Solve → 338Minimum Difference Between Largest and Smallest Value in Three MovesMediumArrayGreedySorting
Solve → 339Minimum Height TreesMediumDepth-First SearchBreadth-First SearchGraph Theory
Solve → 340Minimum Increment to Make Array UniqueMediumArrayGreedySorting
Solve → 341Minimum Index of a Valid SplitMediumArrayHash TableSorting
Solve → 342Minimum Initial Energy to Finish TasksHardArrayGreedySorting
Solve → 343Minimum Interval to Include Each QueryHardArrayBinary SearchSweep Line
Solve → 344Minimum Lines to Represent a Line ChartMediumArrayMathGeometry
Solve → 345Minimum Money Required Before TransactionsHardArrayGreedySorting
Solve → 346Minimum Moves to Balance Circular ArrayMediumArrayGreedySorting
Solve → 347Minimum Moves to Equal Array Elements IIMediumArrayMathSorting
Solve → 348Minimum Number GameEasyArraySortingHeap (Priority Queue)
Solve → 349Minimum Number of Arrows to Burst BalloonsMediumArrayGreedySorting
Solve → 350Minimum Number of Coins to be AddedMediumArrayGreedySorting
Solve → 351Minimum Number of KeypressesMediumHash TableStringGreedy
Solve → 352Minimum Number of Moves to Seat EveryoneEasyArrayGreedySorting
Solve → 353Minimum Number of Operations to Make Arrays SimilarHardArrayGreedySorting
Solve → 354Minimum Number of Pushes to Type Word IIMediumHash TableStringGreedy
Solve → 355Minimum Operations to Make a Uni-Value GridMediumArrayMathSorting
Solve → 356Minimum Operations to Make All Array Elements EqualMediumArrayBinary SearchSorting
Solve → 357Minimum Operations to Make Median of Array Equal to KMediumArrayGreedySorting
Solve → 358Minimum Processing TimeMediumArrayGreedySorting
Solve → 359Minimum Rectangles to Cover PointsMediumArrayGreedySorting
Solve → 360Minimum Removals to Balance ArrayMediumArrayBinary SearchSliding Window
Solve → 361Minimum Runes to Add to Cast SpellHardArrayDepth-First SearchBreadth-First Search
Solve → 362Minimum Space Wasted From PackagingHardArrayBinary SearchSorting
Solve → 363Minimum Subsequence in Non-Increasing OrderEasyArrayGreedySorting
Solve → 364Minimum Sum of Four Digit Number After Splitting DigitsEasyMathGreedySorting
Solve → 365Minimum Sum of Squared DifferenceMediumArrayBinary SearchGreedy
Solve → 366Minimum Swaps to Sort by Digit SumMediumArrayHash TableSorting
Solve → 367Minimum Time DifferenceMediumArrayMathString
Solve → 368Minimum Time for K Connected ComponentsMediumBinary SearchUnion-FindGraph Theory
Solve → 369Minimum Time to Complete All TasksHardArrayBinary SearchStack
Solve → 370Minimum Time to Eat All GrainsHardArrayTwo PointersBinary Search
Solve → 371Minimum Time to Make Array Sum At Most xHardArrayDynamic ProgrammingSorting
Solve → 372Minimum Total Distance TraveledHardArrayDynamic ProgrammingSorting
Solve → 373Missing NumberEasyArrayHash TableMath
Solve → 374Most Beautiful Item for Each QueryMediumArrayBinary SearchSorting
Solve → 375Most Popular Video CreatorMediumArrayHash TableString
Solve → 376Most Profit Assigning WorkMediumArrayTwo PointersBinary Search
Solve → 377Movement of RobotsMediumArrayBrainteaserSorting
Solve → 378Moving Stones Until Consecutive IIMediumArrayMathSliding Window
Solve → 379Non-overlapping IntervalsMediumArrayDynamic ProgrammingGreedy
Solve → 380Number of AtomsHardHash TableStringStack
Solve → 381Number of Distinct AveragesEasyArrayHash TableTwo Pointers
Solve → 382Number of Distinct Islands IIHardArrayHash TableDepth-First Search
Solve → 383Number of Distinct IslandsMediumArrayHash TableDepth-First Search
Solve → 384Number of Flowers in Full BloomHardArrayHash TableBinary Search
Solve → 385Number of Good PathsHardArrayHash TableTree
Solve → 386Number of Increasing Paths in a GridHardArrayDynamic ProgrammingDepth-First Search
Solve → 387Number of Matching SubsequencesMediumArrayHash TableString
Solve → 388Number of Pairs Satisfying InequalityHardArrayBinary SearchDivide and Conquer
Solve → 389Number of Perfect PairsMediumArrayMathTwo Pointers
Solve → 390Number of Restricted Paths From First to Last NodeMediumDynamic ProgrammingGraph TheoryTopological Sort
Solve → 391Number of Subsequences That Satisfy the Given Sum ConditionMediumArrayTwo PointersBinary Search
Solve → 392Number of Unequal Triplets in ArrayEasyArrayHash TableSorting
Solve → 393Number of Ways to Arrive at DestinationMediumDynamic ProgrammingGraph TheoryTopological Sort
Solve → 394Odd Even JumpHardArrayDynamic ProgrammingStack
Solve → 395Orderly QueueHardMathStringSorting
Solve → 396Pancake SortingMediumArrayTwo PointersGreedy
Solve → 397Parallel Courses IIIHardArrayDynamic ProgrammingGraph Theory
Solve → 398Parallel CoursesMediumGraph TheoryTopological Sort
Solve → 399Partition Array Into Two Arrays to Minimize Sum DifferenceHardArrayTwo PointersBinary Search
Solve → 400Partition Array Such That Maximum Difference Is KMediumArrayGreedySorting
Solve → 401Path Existence Queries in a Graph IIHardArrayTwo PointersBinary Search
Solve → 402Permutations IIMediumArrayBacktrackingSorting
Solve → 403Put Boxes Into the Warehouse IMediumArrayGreedySorting
Solve → 404Put Boxes Into the Warehouse IIMediumArrayGreedySorting
Solve → 405Put Marbles in BagsHardArrayGreedySorting
Solve → 406Query Kth Smallest Trimmed NumberMediumArrayStringDivide and Conquer
Solve → 407Queue Reconstruction by HeightMediumArrayBinary Indexed TreeSegment Tree
Solve → 408Random Pick with BlacklistHardArrayHash TableMath
Solve → 409Range Sum of Sorted Subarray SumsMediumArrayTwo PointersBinary Search
Solve → 410Rank Teams by VotesMediumArrayHash TableString
Solve → 411Rank Transform of a MatrixHardArrayUnion-FindGraph Theory
Solve → 412Rank Transform of an ArrayEasyArrayHash TableSorting
Solve → 413Rearrange Array to Maximize Prefix ScoreMediumArrayGreedySorting
Solve → 414Rearrange String k Distance ApartHardHash TableStringGreedy
Solve → 415Rearrange Words in a SentenceMediumStringSorting
Solve → 416Rearranging FruitsHardArrayHash TableGreedy
Solve → 417Reconstruct ItineraryHardArrayStringDepth-First Search
Solve → 418Recover the Original ArrayHardArrayHash TableTwo Pointers
Solve → 419Reduce Array Size to The HalfMediumArrayHash TableGreedy
Solve → 420Reducing DishesHardArrayDynamic ProgrammingGreedy
Solve → 421Reduction Operations to Make the Array Elements EqualMediumArraySorting
Solve → 422Relative RanksEasyArraySortingHeap (Priority Queue)
Solve → 423Relative Sort ArrayEasyArrayHash TableSorting
Solve → 424Relocate MarblesMediumArrayHash TableSorting
Solve → 425Remove Covered IntervalsMediumArraySorting
Solve → 426Removing Minimum Number of Magic BeansMediumArrayGreedySorting
Solve → 427Reorder Data in Log FilesMediumArrayStringSorting
Solve → 428Reordered Power of 2MediumHash TableMathSorting
Solve → 429Reorganize StringMediumHash TableStringGreedy
Solve → 430Replace Question Marks in String to Minimize Its ValueMediumHash TableStringGreedy
Solve → 431Reveal Cards In Increasing OrderMediumArrayQueueSorting
Solve → 432Reverse PairsHardArrayBinary SearchDivide and Conquer
Solve → 433Reward Top K StudentsMediumArrayHash TableString
Solve → 434Robot CollisionsHardArrayStackSorting
Solve → 435Russian Doll EnvelopesHardArrayBinary SearchDynamic Programming
Solve → 436Search Suggestions SystemMediumArrayStringBinary Search
Solve → 437Select K Disjoint Special SubstringsMediumHash TableStringDynamic Programming
Solve → 438Sell Diminishing-Valued Colored BallsMediumArrayMathBinary Search
Solve → 439Sequence ReconstructionMediumArrayGraph TheoryTopological Sort
Solve → 440Set Intersection Size At Least TwoHardArrayGreedySorting
Solve → 441Set MismatchEasyArrayHash TableBit Manipulation
Solve → 442Shortest Unsorted Continuous SubarrayMediumArrayTwo PointersStack
Solve → 443Single-Threaded CPUMediumArraySortingHeap (Priority Queue)
Solve → 444Smallest Missing Integer Greater Than Sequential Prefix SumEasyArrayHash TableSorting
Solve → 445Smallest Palindromic Rearrangement IMediumStringSortingCounting Sort
Solve → 446Smallest Range Covering Elements from K ListsHardArrayHash TableGreedy
Solve → 447Smallest Range IIMediumArrayMathGreedy
Solve → 448Smallest String With SwapsMediumArrayHash TableString
Solve → 449Smallest Value of the Rearranged NumberMediumMathSorting
Solve → 450Sort an ArrayMediumArrayDivide and ConquerSorting
Solve → 451Sort Array By Absolute ValueEasyArrayMathTwo Pointers
Solve → 452Sort Array by Increasing FrequencyEasyArrayHash TableSorting
Solve → 453Sort Array by Moving Items to Empty SpaceHardArrayHash TableSorting
Solve → 454Sort Array By Parity IIEasyArrayTwo PointersSorting
Solve → 455Sort Array By ParityEasyArrayTwo PointersSorting
Solve → 456Sort Characters By FrequencyMediumHash TableStringSorting
Solve → 457Sort ColorsMediumArrayTwo PointersSorting
Solve → 458Sort Even and Odd Indices IndependentlyEasyArraySorting
Solve → 459Sort Features by PopularityMediumArrayHash TableString
Solve → 460Sort Integers by The Number of 1 BitsEasyArrayBit ManipulationSorting
Solve → 461Sort Integers by The Power ValueMediumDynamic ProgrammingMemoizationSorting
Solve → 462Sort Items by Groups Respecting DependenciesHardDepth-First SearchBreadth-First SearchGraph Theory
Solve → 463Sort ListMediumLinked ListTwo PointersDivide and Conquer
Solve → 464Sort Matrix by DiagonalsMediumArraySortingMatrix
Solve → 465Sort the Jumbled NumbersMediumArraySorting
Solve → 466Sort the Matrix DiagonallyMediumArraySortingMatrix
Solve → 467Sort the PeopleEasyArrayHash TableString
Solve → 468Sort the Students by Their Kth ScoreMediumArraySortingMatrix
Solve → 469Sort Transformed ArrayMediumArrayMathTwo Pointers
Solve → 470Sort Vowels in a StringMediumStringSorting
Solve → 471Sorting the SentenceEasyStringSorting
Solve → 472Special Array With X Elements Greater Than or Equal XEasyArrayBinary SearchSorting
Solve → 473Special Binary StringHardStringDivide and ConquerSorting
Solve → 474Split With Minimum SumEasyMathGreedySorting
Solve → 475Squares of a Sorted ArrayEasyArrayTwo PointersSorting
Solve → 476Strange Printer IIHardArrayGraph TheoryTopological Sort
Solve → 477Subsequence of Size K With the Largest Even SumMediumArrayGreedySorting
Solve → 478Subsequence Sum After Capping ElementsMediumArrayTwo PointersDynamic Programming
Solve → 479Successful Pairs of Spells and PotionsMediumArrayTwo PointersBinary Search
Solve → 480Sum of Largest Prime SubstringsMediumHash TableMathString
Solve → 481Sum of Mutated Array Closest to TargetMediumArrayBinary SearchSorting
Solve → 482Synonymous SentencesMediumArrayHash TableString
Solve → 483Task SchedulerMediumArrayHash TableGreedy
Solve → 484The Earliest Moment When Everyone Become FriendsMediumArrayUnion-FindSorting
Solve → 485The k Strongest Values in an ArrayMediumArrayTwo PointersSorting
Solve → 486The K Weakest Rows in a MatrixEasyArrayBinary SearchSorting
Solve → 487The Latest Time to Catch a BusMediumArrayTwo PointersBinary Search
Solve → 488The Number of Beautiful SubsetsMediumArrayHash TableMath
Solve → 489The Number of Weak Characters in the GameMediumArrayStackGreedy
Solve → 490The Skyline ProblemHardArrayDivide and ConquerBinary Indexed Tree
Solve → 491Third Maximum NumberEasyArraySorting
Solve → 492Top K Frequent ElementsMediumArrayHash TableDivide and Conquer
Solve → 493Top K Frequent WordsMediumArrayHash TableString
Solve → 494Transform Array by ParityEasyArraySortingCounting
Solve → 495Tree DiameterMediumTreeDepth-First SearchBreadth-First Search
Solve → 496Tweet Counts Per FrequencyMediumHash TableStringBinary Search
Solve → 497Two Best Non-Overlapping EventsMediumArrayBinary SearchDynamic Programming
Solve → 498Two City SchedulingMediumArrayGreedySorting
Solve → 499Two Sum Less Than KEasyArrayTwo PointersBinary Search
Solve → 500Type of TriangleEasyArrayMathSorting
Solve → 501Valid AnagramEasyHash TableStringSorting
Solve → 502Valid Triangle NumberMediumArrayTwo PointersBinary Search
Solve → 503Vertical Order Traversal of a Binary TreeHardHash TableTreeDepth-First Search
Solve → 504Widest Vertical Area Between Two Points Containing No PointsEasyArraySorting
Solve → 505Wiggle Sort IIMediumArrayDivide and ConquerGreedy
Solve → 506Wiggle SortMediumArrayGreedySorting
Solve → 507Word AbbreviationHardArrayStringGreedy
Solve → 508Word Squares IIMediumArrayStringBacktracking
Solve → 509Zero Array Transformation IIIMediumArrayGreedySorting
Solve →