2Best Time to Buy and Sell StockEasyArrayDynamic Programming
Solve → 3Trapping Rain WaterHardArrayTwo PointersDynamic Programming
Solve → 4Maximum Coins From K Consecutive BagsMediumArrayBinary SearchGreedy
Solve → 5Fruit Into BasketsMediumArrayHash TableSliding Window
Solve → 6Koko Eating BananasMediumArrayBinary Search
Solve → 7Merge IntervalsMediumArraySorting
Solve → 8Median of Two Sorted ArraysHardArrayBinary SearchDivide and Conquer
Solve → 93SumMediumArrayTwo PointersSorting
Solve → 10Longest Consecutive SequenceMediumArrayHash TableUnion-Find
Solve → 11Number of IslandsMediumArrayDepth-First SearchBreadth-First Search
Solve → 12Container With Most WaterMediumArrayTwo PointersGreedy
Solve → 13Longest Common PrefixEasyArrayStringTrie
Solve → 14Maximum SubarrayMediumArrayDivide and ConquerDynamic Programming
Solve → 15Boats to Save PeopleMediumArrayTwo PointersGreedy
Solve → 16Majority ElementEasyArrayHash TableDivide and Conquer
Solve → 17Sort ColorsMediumArrayTwo PointersSorting
Solve → 18Group AnagramsMediumArrayHash TableString
Solve → 19Create Binary Tree From DescriptionsMediumArrayHash TableTree
Solve → 20Open the LockMediumArrayHash TableString
Solve → 21Maximum Ice Cream BarsMediumArrayGreedySorting
Solve → 22Search in Rotated Sorted ArrayMediumArrayBinary Search
Solve → 23Rotting OrangesMediumArrayBreadth-First SearchMatrix
Solve → 24PermutationsMediumArrayBacktracking
Solve → 25Remove Duplicates from Sorted ArrayEasyArrayTwo Pointers
Solve → 26Largest Rectangle in HistogramHardArrayStackMonotonic Stack
Solve → 27Word SearchMediumArrayStringBacktracking
Solve → 28First Missing PositiveHardArrayHash Table
Solve → 29Find the Duplicate NumberMediumArrayTwo PointersBinary Search
Solve → 303Sum ClosestMediumArrayTwo PointersSorting
Solve → 31Merge Sorted ArrayEasyArrayTwo PointersSorting
Solve → 32Max Consecutive OnesEasyArray
Solve → 33Unique Paths IIMediumArrayDynamic ProgrammingMatrix
Solve → 34Majority Element IIMediumArrayHash TableSorting
Solve → 35Two Sum II - Input Array Is SortedMediumArrayTwo PointersBinary Search
Solve → 36Rotate ImageMediumArrayMathMatrix
Solve → 37Search a 2D Matrix IIMediumArrayBinary SearchDivide and Conquer
Solve → 38Squares of a Sorted ArrayEasyArrayTwo PointersSorting
Solve → 39Find Missing and Repeated ValuesEasyArrayHash TableMath
Solve → 40Coin ChangeMediumArrayDynamic ProgrammingBreadth-First Search
Solve → 41Word Search IIHardArrayStringBacktracking
Solve → 42Daily TemperaturesMediumArrayStackMonotonic Stack
Solve → 43Product of Array Except SelfMediumArrayPrefix Sum
Solve → 44Sum of Total Strength of WizardsHardArrayStackMonotonic Stack
Solve → 45Asteroid CollisionMediumArrayStackSimulation
Solve → 46Contains DuplicateEasyArrayHash TableSorting
Solve → 47Check if Array Is Sorted and RotatedEasyArray
Solve → 48Sliding Window MaximumHardArrayQueueSliding Window
Solve → 49Subarray Sum Equals KMediumArrayHash TablePrefix Sum
Solve → 50Capacity To Ship Packages Within D DaysMediumArrayBinary Search
Solve → 514SumMediumArrayTwo PointersSorting
Solve → 52Set Matrix ZeroesMediumArrayHash TableMatrix
Solve → 53Earliest Finish Time for Land and Water Rides IIMediumArrayTwo PointersBinary Search
Solve → 54Earliest Finish Time for Land and Water Rides IEasyArrayTwo PointersBinary Search
Solve → 55Spiral MatrixMediumArrayMatrixSimulation
Solve → 56Minimum Operations to Sort a PermutationMediumArray
Solve → 57Next PermutationMediumArrayTwo Pointers
Solve → 58Longest Arithmetic Sequence After Changing At Most One ElementMediumArrayEnumeration
Solve → 59Minimum Cost of Buying Candies With DiscountEasyArrayGreedySorting
Solve → 60Kth Missing Positive NumberEasyArrayBinary Search
Solve → 61Find Minimum in Rotated Sorted ArrayMediumArrayBinary Search
Solve → 62Search in Rotated Sorted Array IIMediumArrayBinary Search
Solve → 63Remove ElementEasyArrayTwo Pointers
Solve → 64Find Pivot IndexEasyArrayPrefix Sum
Solve → 65Maximum Product SubarrayMediumArrayDynamic Programming
Solve → 66Parallel Courses IIIHardArrayDynamic ProgrammingGraph Theory
Solve → 67Partition Array According to Given PivotMediumArrayTwo PointersSimulation
Solve → 68SubsetsMediumArrayBacktrackingBit Manipulation
Solve → 69Permutations IIMediumArrayBacktrackingSorting
Solve → 70Maximum K to Sort a PermutationMediumArrayBit Manipulation
Solve → 71N-QueensHardArrayBacktracking
Solve → 72Insert IntervalMediumArray
Solve → 73Random Pick with WeightMediumArrayMathBinary Search
Solve → 74Surrounded RegionsMediumArrayDepth-First SearchBreadth-First Search
Solve → 75Rotate ArrayMediumArrayMathTwo Pointers
Solve → 76Find the Highest AltitudeEasyArrayPrefix Sum
Solve → 77Longest Increasing SubsequenceMediumArrayBinary SearchDynamic Programming
Solve → 78K Closest Points to OriginMediumArrayMathDivide and Conquer
Solve → 79Cherry Pickup IIHardArrayDynamic ProgrammingMatrix
Solve → 80Magnetic Force Between Two BallsMediumArrayBinary SearchSorting
Solve → 81Allocate MailboxesHardArrayMathDynamic Programming
Solve → 82Sum of Subarray MinimumsMediumArrayDynamic ProgrammingStack
Solve → 83Pascal's TriangleEasyArrayDynamic Programming
Solve → 84Top K Frequent ElementsMediumArrayHash TableDivide and Conquer
Solve → 85Find First and Last Position of Element in Sorted ArrayMediumArrayBinary Search
Solve → 86Design HashMapEasyArrayHash TableLinked List
Solve → 87Find the Smallest Divisor Given a ThresholdMediumArrayBinary Search
Solve → 88Two SumEasyArrayHash Table
Solve → 89Trapping Rain WaterHardArrayTwo PointersDynamic Programming
Solve → 90Best Time to Buy and Sell StockEasyArrayDynamic Programming
Solve → 91Number of IslandsMediumArrayDepth-First SearchBreadth-First Search
Solve → 923SumMediumArrayTwo PointersSorting
Solve → 93Median of Two Sorted ArraysHardArrayBinary SearchDivide and Conquer
Solve → 94Merge IntervalsMediumArraySorting
Solve → 95Koko Eating BananasMediumArrayBinary Search
Solve → 96Search in Rotated Sorted ArrayMediumArrayBinary Search
Solve → 97Group AnagramsMediumArrayHash TableString
Solve → 98Rotting OrangesMediumArrayBreadth-First SearchMatrix
Solve → 99Container With Most WaterMediumArrayTwo PointersGreedy
Solve → 100Longest Consecutive SequenceMediumArrayHash TableUnion-Find
Solve → 101Top K Frequent ElementsMediumArrayHash TableDivide and Conquer
Solve → 102SubsetsMediumArrayBacktrackingBit Manipulation
Solve → 103House RobberMediumArrayDynamic Programming
Solve → 104Meeting Rooms IIMediumArrayTwo PointersGreedy
Solve → 105Subarray Sum Equals KMediumArrayHash TablePrefix Sum
Solve → 106Next PermutationMediumArrayTwo Pointers
Solve → 107Jump GameMediumArrayDynamic ProgrammingGreedy
Solve → 108Maximum Coins From K Consecutive BagsMediumArrayBinary SearchGreedy
Solve → 1094SumMediumArrayTwo PointersSorting
Solve → 110Rotate ImageMediumArrayMathMatrix
Solve → 111Maximum SubarrayMediumArrayDivide and ConquerDynamic Programming
Solve → 112Majority ElementEasyArrayHash TableDivide and Conquer
Solve → 113Fruit Into BasketsMediumArrayHash TableSliding Window
Solve → 114Sort ColorsMediumArrayTwo PointersSorting
Solve → 115Longest Common PrefixEasyArrayStringTrie
Solve → 116Remove Duplicates from Sorted ArrayEasyArrayTwo Pointers
Solve → 117Asteroid CollisionMediumArrayStackSimulation
Solve → 118Sliding Window MaximumHardArrayQueueSliding Window
Solve → 119Daily TemperaturesMediumArrayStackMonotonic Stack
Solve → 120Check if Array Is Sorted and RotatedEasyArray
Solve → 121Coin ChangeMediumArrayDynamic ProgrammingBreadth-First Search
Solve → 122Largest Rectangle in HistogramHardArrayStackMonotonic Stack
Solve → 123Product of Array Except SelfMediumArrayPrefix Sum
Solve → 124Find First and Last Position of Element in Sorted ArrayMediumArrayBinary Search
Solve → 125Search Insert PositionEasyArrayBinary Search
Solve → 126Task SchedulerMediumArrayHash TableGreedy
Solve → 127Minimum Operations to Make Array Non DecreasingMediumArrayGreedy
Solve → 128Spiral MatrixMediumArrayMatrixSimulation
Solve → 129Find Peak ElementMediumArrayBinary Search
Solve → 130Remove ElementEasyArrayTwo Pointers
Solve → 1313Sum ClosestMediumArrayTwo PointersSorting
Solve → 132PermutationsMediumArrayBacktracking
Solve → 133Concatenation of ArrayEasyArraySimulation
Solve → 134Sum of Subarray MinimumsMediumArrayDynamic ProgrammingStack
Solve → 135Intersection of Two ArraysEasyArrayHash TableTwo Pointers
Solve → 136Kth Largest Element in an ArrayMediumArrayDivide and ConquerSorting
Solve → 137Move ZeroesEasyArrayTwo Pointers
Solve → 138Find the Duplicate NumberMediumArrayTwo PointersBinary Search
Solve → 139Max Consecutive OnesEasyArray
Solve → 140Next Greater Element IEasyArrayHash TableStack
Solve → 141Search a 2D Matrix IIMediumArrayBinary SearchDivide and Conquer
Solve → 142Max Consecutive Ones IIIMediumArrayBinary SearchSliding Window
Solve → 143Capacity To Ship Packages Within D DaysMediumArrayBinary Search
Solve → 144Squares of a Sorted ArrayEasyArrayTwo PointersSorting
Solve → 145Maximum Product SubarrayMediumArrayDynamic Programming
Solve → 146Find Minimum in Rotated Sorted ArrayMediumArrayBinary Search
Solve → 147Create Binary Tree From DescriptionsMediumArrayHash TableTree
Solve → 148Boats to Save PeopleMediumArrayTwo PointersGreedy
Solve → 149Jump Game IIMediumArrayDynamic ProgrammingGreedy
Solve → 150Word SearchMediumArrayStringBacktracking
Solve → 151Contains DuplicateEasyArrayHash TableSorting
Solve → 152Search a 2D MatrixMediumArrayBinary SearchMatrix
Solve → 153Longest Increasing SubsequenceMediumArrayBinary SearchDynamic Programming
Solve → 154Non-overlapping IntervalsMediumArrayDynamic ProgrammingGreedy
Solve → 155Word Search IIHardArrayStringBacktracking
Solve → 156Binary SearchEasyArrayBinary Search
Solve → 157Rotate FunctionMediumArrayMathDynamic Programming
Solve → 158Minimum Initial Energy to Finish TasksHardArrayGreedySorting
Solve → 159Set Matrix ZeroesMediumArrayHash TableMatrix
Solve → 160Earliest Finish Time for Land and Water Rides IEasyArrayTwo PointersBinary Search
Solve → 161Earliest Finish Time for Land and Water Rides IIMediumArrayTwo PointersBinary Search
Solve → 162Open the LockMediumArrayHash TableString
Solve → 163Maximum Ice Cream BarsMediumArrayGreedySorting
Solve → 164Pascal's TriangleEasyArrayDynamic Programming
Solve → 165Next Greater Element IIMediumArrayStackMonotonic Stack
Solve → 166First Missing PositiveHardArrayHash Table
Solve → 167N-QueensHardArrayBacktracking
Solve → 168Single Element in a Sorted ArrayMediumArrayBinary Search
Solve → 169Largest NumberMediumArrayStringGreedy
Solve → 170Partition Equal Subset SumMediumArrayDynamic Programming
Solve → 171Word BreakMediumArrayHash TableString
Solve → 172Count PrimesMediumArrayMathEnumeration
Solve → 173Best Time to Buy and Sell Stock IIMediumArrayDynamic ProgrammingGreedy
Solve → 174Kth Missing Positive NumberEasyArrayBinary Search
Solve → 175Random Pick with WeightMediumArrayMathBinary Search
Solve → 176Unique Paths IIMediumArrayDynamic ProgrammingMatrix
Solve → 177Insert Delete GetRandom O(1)MediumArrayHash TableMath
Solve → 178Pacific Atlantic Water FlowMediumArrayDepth-First SearchBreadth-First Search
Solve → 179Parallel Courses IIIHardArrayDynamic ProgrammingGraph Theory
Solve → 180Search in Rotated Sorted Array IIMediumArrayBinary Search
Solve → 181Find K Closest ElementsMediumArrayTwo PointersBinary Search
Solve → 182Meeting RoomsEasyArraySorting
Solve → 183Maximum Average Subarray IEasyArraySliding Window
Solve → 184Flood FillEasyArrayDepth-First SearchBreadth-First Search
Solve → 185Maximize Fixed Points After DeletionsHardArrayBinary SearchSorting
Solve → 186Minimum Moves to Make Array ComplementaryMediumArrayHash TablePrefix Sum
Solve → 187Construct Binary Tree from Preorder and Inorder TraversalMediumArrayHash TableDivide and Conquer
Solve → 188Rotate ArrayMediumArrayMathTwo Pointers
Solve → 189Running Sum of 1d ArrayEasyArrayPrefix Sum
Solve → 190Find Missing and Repeated ValuesEasyArrayHash TableMath
Solve → 191Merge Sorted ArrayEasyArrayTwo PointersSorting
Solve → 192Partition Array According to Given PivotMediumArrayTwo PointersSimulation
Solve → 193Majority Element IIMediumArrayHash TableSorting
Solve → 194Valid SudokuMediumArrayHash TableMatrix
Solve → 195Missing NumberEasyArrayHash TableMath
Solve → 196Surrounded RegionsMediumArrayDepth-First SearchBreadth-First Search
Solve → 197Sell Diminishing-Valued Colored BallsMediumArrayMathBinary Search
Solve → 199Reverse PairsHardArrayBinary SearchDivide and Conquer
Solve → 200Minimum Number of Days to Make m BouquetsMediumArrayBinary Search
Solve → 201Split Array Largest SumHardArrayBinary SearchDynamic Programming
Solve → 202Insert IntervalMediumArray
Solve → 203Concatenated WordsHardArrayStringDynamic Programming
Solve → 204Can Place FlowersEasyArrayGreedy
Solve → 205Longest Arithmetic Sequence After Changing At Most One ElementMediumArrayEnumeration
Solve → 206Dungeon GameHardArrayDynamic ProgrammingMatrix
Solve → 207Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMediumArrayQueueSliding Window
Solve → 208Accounts MergeMediumArrayHash TableString
Solve → 209Minimum Distance to the Target ElementEasyArray
Solve → 210Shortest Path in a Grid with Obstacles EliminationHardArrayBreadth-First SearchMatrix
Solve → 211Closest Equal Element QueriesMediumArrayHash TableBinary Search
Solve → 212Remove Duplicates from Sorted Array IIMediumArrayTwo Pointers
Solve → 213Design HashMapEasyArrayHash TableLinked List
Solve → 214Top K Frequent WordsMediumArrayHash TableString
Solve → 215Search Suggestions SystemMediumArrayStringBinary Search
Solve → 216House Robber IIMediumArrayDynamic Programming
Solve → 217Maximum Score From Grid OperationsHardArrayDynamic ProgrammingMatrix
Solve → 218Interval List IntersectionsMediumArrayTwo PointersSweep Line
Solve → 219Minimum Jumps to Reach End via Prime TeleportationMediumArrayHash TableMath
Solve → 220First Completely Painted Row or ColumnMediumArrayHash TableMatrix
Solve → 221Maximum Number of Jumps to Reach the Last IndexMediumArrayDynamic Programming
Solve → 222Russian Doll EnvelopesHardArrayBinary SearchDynamic Programming
Solve → 223Analyze User Website Visit PatternMediumArrayHash TableString
Solve → 224Find the Prefix Common Array of Two ArraysMediumArrayHash TableBit Manipulation
Solve → 225Find the Length of the Longest Common PrefixMediumArrayHash TableString
Solve → 226Find the Smallest Divisor Given a ThresholdMediumArrayBinary Search
Solve → 227Minimum Cost of Buying Candies With DiscountEasyArrayGreedySorting
Solve → 228Find Common CharactersEasyArrayHash TableString
Solve → 229Two Sum II - Input Array Is SortedMediumArrayTwo PointersBinary Search
Solve → 230Contains Duplicate IIEasyArrayHash TableSliding Window
Solve → 231Sum of Total Strength of WizardsHardArrayStackMonotonic Stack
Solve → 232Single NumberEasyArrayBit Manipulation
Solve → 233Min Cost Climbing StairsEasyArrayDynamic Programming
Solve → 234Peak Index in a Mountain ArrayMediumArrayBinary Search
Solve → 235Minimum Size Subarray SumMediumArrayBinary SearchSliding Window
Solve → 236Shuffle the ArrayEasyArray
Solve → 237Maximal RectangleHardArrayDynamic ProgrammingStack
Solve → 238Assign CookiesEasyArrayTwo PointersGreedy
Solve → 239Subarrays with K Different IntegersHardArrayHash TableSliding Window
Solve → 240Detect Cycles in 2D GridMediumArrayDepth-First SearchBreadth-First Search
Solve → 241Evaluate DivisionMediumArrayStringDepth-First Search
Solve → 242Construct Binary Search Tree from Preorder TraversalMediumArrayStackTree
Solve → 243Bus RoutesHardArrayHash TableBreadth-First Search
Solve → 244Minimum Cost For TicketsMediumArrayDynamic Programming
Solve → 245Walking Robot SimulationMediumArrayHash TableSimulation
Solve → 246Number of Students Unable to Eat LunchEasyArrayStackQueue
Solve → 247Maximum Good Subarray SumMediumArrayHash TablePrefix Sum
Solve → 248Robot CollisionsHardArrayStackSorting
Solve → 249Minimum Cost to Cut a StickHardArrayDynamic ProgrammingSorting
Solve → 250Minimum Absolute Distance Between Mirror PairsMediumArrayHash TableMath
Solve → 251Brick WallMediumArrayHash Table
Solve → 252Minimized Maximum of Products Distributed to Any StoreMediumArrayBinary SearchGreedy
Solve → 253Minimum Operations to Make a Uni-Value GridMediumArrayMathSorting
Solve → 254Rotating the BoxMediumArrayTwo PointersMatrix
Solve → 255Jump Game IXMediumArrayDynamic Programming
Solve → 256Car FleetMediumArrayStackSorting
Solve → 257Minimum Cost to Buy Apples IIHardArrayGraph TheoryHeap (Priority Queue)
Solve → 258Maximum Sum With at Most K ElementsMediumArrayGreedySorting
Solve → 259Jump Game IIIMediumArrayDepth-First SearchBreadth-First Search
Solve → 260Maximum Height by Stacking CuboidsHardArrayDynamic ProgrammingSorting
Solve → 261Lexicographically Smallest Negated Permutation that Sums to TargetMediumArrayMathTwo Pointers
Solve → 262Single Number IIMediumArrayBit Manipulation
Solve → 263Frog JumpHardArrayDynamic Programming
Solve → 264Jump Game VHardArrayDynamic ProgrammingSorting
Solve → 265Longest Common Suffix QueriesHardArrayStringTrie
Solve → 266Jump Game IVHardArrayHash TableBreadth-First Search
Solve → 267Find the Winner of the Circular GameMediumArrayMathRecursion
Solve → 268Minimum Path SumMediumArrayDynamic ProgrammingMatrix
Solve → 269Range Sum Query 2D - ImmutableMediumArrayDesignMatrix
Solve → 270Minimum Operations to Sort a PermutationMediumArray
Solve → 271Sort the PeopleEasyArrayHash TableString
Solve → 272Defuse the BombEasyArraySliding Window
Solve → 273Minimum Falling Path SumMediumArrayDynamic ProgrammingMatrix
Solve → 274Build Array from PermutationEasyArraySimulation
Solve → 275Single Number IIIMediumArrayBit Manipulation
Solve → 276Combination Sum IIMediumArrayBacktracking
Solve → 277Maximum Width RampMediumArrayTwo PointersStack
Solve → 278Find Pivot IndexEasyArrayPrefix Sum
Solve → 279Number of Islands IIHardArrayHash TableUnion-Find
Solve → 280Minimum Number GameEasyArraySortingHeap (Priority Queue)
Solve → 281Min Cost to Connect All PointsMediumArrayUnion-FindGraph Theory
Solve → 282Reshape the MatrixEasyArrayMatrixSimulation
Solve → 283Score After Flipping MatrixMediumArrayGreedyBit Manipulation
Solve → 284Maximum K to Sort a PermutationMediumArrayBit Manipulation
Solve → 285Permutations IIMediumArrayBacktrackingSorting
Solve → 286Minimum Operations to Reduce X to ZeroMediumArrayHash TableBinary Search
Solve → 287Left and Right Sum DifferencesEasyArrayPrefix Sum
Solve → 288TriangleMediumArrayDynamic Programming
Solve → 289Find the Highest AltitudeEasyArrayPrefix Sum
Solve → 290K Closest Points to OriginMediumArrayMathDivide and Conquer
Solve → 291Cherry Pickup IIHardArrayDynamic ProgrammingMatrix
Solve → 292Magnetic Force Between Two BallsMediumArrayBinary SearchSorting
Solve → 293Allocate MailboxesHardArrayMathDynamic Programming
Solve → 294Burst BalloonsHardArrayDynamic Programming
Solve → 295Maximum GapMediumArraySortingBucket Sort
Solve → 296Max Number of K-Sum PairsMediumArrayHash TableTwo Pointers
Solve → 297First Unique NumberMediumArrayHash TableDesign
Solve → 298IPOHardArrayGreedySorting
Solve → 299Range Sum Query - ImmutableEasyArrayDesignPrefix Sum
Solve → 300Two SumEasyArrayHash Table
Solve → 301Trapping Rain WaterHardArrayTwo PointersDynamic Programming
Solve → 302Best Time to Buy and Sell StockEasyArrayDynamic Programming
Solve → 3033SumMediumArrayTwo PointersSorting
Solve → 304Number of IslandsMediumArrayDepth-First SearchBreadth-First Search
Solve → 305Median of Two Sorted ArraysHardArrayBinary SearchDivide and Conquer
Solve → 306Container With Most WaterMediumArrayTwo PointersGreedy
Solve → 307Merge IntervalsMediumArraySorting
Solve → 308Koko Eating BananasMediumArrayBinary Search
Solve → 309Group AnagramsMediumArrayHash TableString
Solve → 310Subarray Sum Equals KMediumArrayHash TablePrefix Sum
Solve → 311Rotting OrangesMediumArrayBreadth-First SearchMatrix
Solve → 312Search in Rotated Sorted ArrayMediumArrayBinary Search
Solve → 313Longest Consecutive SequenceMediumArrayHash TableUnion-Find
Solve → 314Longest Common PrefixEasyArrayStringTrie
Solve → 315Majority ElementEasyArrayHash TableDivide and Conquer
Solve → 316Maximum SubarrayMediumArrayDivide and ConquerDynamic Programming
Solve → 317Fruit Into BasketsMediumArrayHash TableSliding Window
Solve → 318Asteroid CollisionMediumArrayStackSimulation
Solve → 319Sort ColorsMediumArrayTwo PointersSorting
Solve → 320House RobberMediumArrayDynamic Programming
Solve → 321Next PermutationMediumArrayTwo Pointers
Solve → 322Concatenation of ArrayEasyArraySimulation
Solve → 3234SumMediumArrayTwo PointersSorting
Solve → 324SubsetsMediumArrayBacktrackingBit Manipulation
Solve → 325Remove Duplicates from Sorted ArrayEasyArrayTwo Pointers
Solve → 326Search Insert PositionEasyArrayBinary Search
Solve → 327Contains DuplicateEasyArrayHash TableSorting
Solve → 328Top K Frequent ElementsMediumArrayHash TableDivide and Conquer
Solve → 329Max Consecutive Ones IIIMediumArrayBinary SearchSliding Window
Solve → 330Rotate ImageMediumArrayMathMatrix
Solve → 331Jump GameMediumArrayDynamic ProgrammingGreedy
Solve → 332Single NumberEasyArrayBit Manipulation
Solve → 333Sliding Window MaximumHardArrayQueueSliding Window
Solve → 334Remove ElementEasyArrayTwo Pointers
Solve → 335Find Peak ElementMediumArrayBinary Search
Solve → 336Find First and Last Position of Element in Sorted ArrayMediumArrayBinary Search
Solve → 337Product of Array Except SelfMediumArrayPrefix Sum
Solve → 338Move ZeroesEasyArrayTwo Pointers
Solve → 3393Sum ClosestMediumArrayTwo PointersSorting
Solve → 340First Missing PositiveHardArrayHash Table
Solve → 341Kth Largest Element in an ArrayMediumArrayDivide and ConquerSorting
Solve → 342Task SchedulerMediumArrayHash TableGreedy
Solve → 343Spiral MatrixMediumArrayMatrixSimulation
Solve → 344Largest Rectangle in HistogramHardArrayStackMonotonic Stack
Solve → 345Pascal's TriangleEasyArrayDynamic Programming
Solve → 346Meeting Rooms IIMediumArrayTwo PointersGreedy
Solve → 347Find the Duplicate NumberMediumArrayTwo PointersBinary Search
Solve → 348Daily TemperaturesMediumArrayStackMonotonic Stack
Solve → 349Sum of Subarray MinimumsMediumArrayDynamic ProgrammingStack
Solve → 350PermutationsMediumArrayBacktracking
Solve → 351Merge Sorted ArrayEasyArrayTwo PointersSorting
Solve → 352Coin ChangeMediumArrayDynamic ProgrammingBreadth-First Search
Solve → 353Capacity To Ship Packages Within D DaysMediumArrayBinary Search
Solve → 354Search a 2D Matrix IIMediumArrayBinary SearchDivide and Conquer
Solve → 355Check if Array Is Sorted and RotatedEasyArray
Solve → 356Sell Diminishing-Valued Colored BallsMediumArrayMathBinary Search
Solve → 357Valid SudokuMediumArrayHash TableMatrix
Solve → 358N-QueensHardArrayBacktracking
Solve → 360Set Matrix ZeroesMediumArrayHash TableMatrix
Solve → 361Search a 2D MatrixMediumArrayBinary SearchMatrix
Solve → 362Word SearchMediumArrayStringBacktracking
Solve → 363Best Time to Buy and Sell Stock IIMediumArrayDynamic ProgrammingGreedy
Solve → 364Rotate ArrayMediumArrayMathTwo Pointers
Solve → 365Max Consecutive OnesEasyArray
Solve → 366Next Greater Element IIMediumArrayStackMonotonic Stack
Solve → 367Single Element in a Sorted ArrayMediumArrayBinary Search
Solve → 368Squares of a Sorted ArrayEasyArrayTwo PointersSorting
Solve → 369Maximum Coins From K Consecutive BagsMediumArrayBinary SearchGreedy
Solve → 370Maximum Product SubarrayMediumArrayDynamic Programming
Solve → 371Split Array Largest SumHardArrayBinary SearchDynamic Programming
Solve → 372Next Greater Element IEasyArrayHash TableStack
Solve → 373Peak Index in a Mountain ArrayMediumArrayBinary Search
Solve → 374Boats to Save PeopleMediumArrayTwo PointersGreedy
Solve → 375Longest Increasing SubsequenceMediumArrayBinary SearchDynamic Programming
Solve → 376Intersection of Two ArraysEasyArrayHash TableTwo Pointers
Solve → 377Reverse PairsHardArrayBinary SearchDivide and Conquer
Solve → 378Minimum Number of Days to Make m BouquetsMediumArrayBinary Search
Solve → 379Minimum Size Subarray SumMediumArrayBinary SearchSliding Window
Solve → 380Divide an Array Into Subarrays With Minimum Cost IEasyArraySortingEnumeration
Solve → 381Jump Game IIMediumArrayDynamic ProgrammingGreedy
Solve → 382Largest NumberMediumArrayStringGreedy
Solve → 383Count PrimesMediumArrayMathEnumeration
Solve → 384Contains Duplicate IIEasyArrayHash TableSliding Window
Solve → 385Word BreakMediumArrayHash TableString
Solve → 386Non-overlapping IntervalsMediumArrayDynamic ProgrammingGreedy
Solve → 387Running Sum of 1d ArrayEasyArrayPrefix Sum
Solve → 389Two Sum II - Input Array Is SortedMediumArrayTwo PointersBinary Search
Solve → 390Word Search IIHardArrayStringBacktracking
Solve → 391Insert Delete GetRandom O(1)MediumArrayHash TableMath
Solve → 392Partition Equal Subset SumMediumArrayDynamic Programming
Solve → 393Find K Closest ElementsMediumArrayTwo PointersBinary Search
Solve → 394Open the LockMediumArrayHash TableString
Solve → 395Random Pick with WeightMediumArrayMathBinary Search
Solve → 396Subarrays with K Different IntegersHardArrayHash TableSliding Window
Solve → 397Kth Missing Positive NumberEasyArrayBinary Search
Solve → 398Unique Paths IIMediumArrayDynamic ProgrammingMatrix
Solve → 399Binary SearchEasyArrayBinary Search
Solve → 400Assign CookiesEasyArrayTwo PointersGreedy
Solve → 401Count Subarrays With Median KHardArrayHash TablePrefix Sum
Solve → 402Find Minimum in Rotated Sorted ArrayMediumArrayBinary Search
Solve → 403Find Missing and Repeated ValuesEasyArrayHash TableMath
Solve → 404Minimum Operations to Make Array Non DecreasingMediumArrayGreedy
Solve → 405Gas StationMediumArrayGreedy
Solve → 406Missing NumberEasyArrayHash TableMath
Solve → 407Concatenated WordsHardArrayStringDynamic Programming
Solve → 408Longest Arithmetic Sequence After Changing At Most One ElementMediumArrayEnumeration
Solve → 409Combination SumMediumArrayBacktracking
Solve → 410Remove Duplicates from Sorted Array IIMediumArrayTwo Pointers
Solve → 411Evaluate Reverse Polish NotationMediumArrayMathStack
Solve → 412Evaluate DivisionMediumArrayStringDepth-First Search
Solve → 413Analyze User Website Visit PatternMediumArrayHash TableString
Solve → 414Surrounded RegionsMediumArrayDepth-First SearchBreadth-First Search
Solve → 415Top K Frequent WordsMediumArrayHash TableString
Solve → 416Maximal RectangleHardArrayDynamic ProgrammingStack
Solve → 417Maximum Average Subarray IEasyArraySliding Window
Solve → 418Burst BalloonsHardArrayDynamic Programming
Solve → 419Bus RoutesHardArrayHash TableBreadth-First Search
Solve → 420Minimum Falling Path SumMediumArrayDynamic ProgrammingMatrix
Solve → 421H-IndexMediumArraySortingCounting Sort
Solve → 422Search in Rotated Sorted Array IIMediumArrayBinary Search
Solve → 423Insert IntervalMediumArray
Solve → 424Minimum Number of Groups to Create a Valid AssignmentMediumArrayHash TableGreedy
Solve → 425Lexicographically Smallest Negated Permutation that Sums to TargetMediumArrayMathTwo Pointers
Solve → 426Shuffle the ArrayEasyArray
Solve → 427132 PatternMediumArrayBinary SearchStack
Solve → 428Minimum Distance to the Target ElementEasyArray
Solve → 429Create Binary Tree From DescriptionsMediumArrayHash TableTree
Solve → 430Maximum Ice Cream BarsMediumArrayGreedySorting
Solve → 431Sudoku SolverHardArrayHash TableBacktracking
Solve → 432Construct Binary Tree from Preorder and Inorder TraversalMediumArrayHash TableDivide and Conquer
Solve → 433Accounts MergeMediumArrayHash TableString
Solve → 434Flood FillEasyArrayDepth-First SearchBreadth-First Search
Solve → 435Search Suggestions SystemMediumArrayStringBinary Search
Solve → 436Find the Smallest Divisor Given a ThresholdMediumArrayBinary Search
Solve → 437Exclusive Time of FunctionsMediumArrayStack
Solve → 438Design Circular QueueMediumArrayLinked ListDesign
Solve → 439Frequency of the Most Frequent ElementMediumArrayBinary SearchGreedy
Solve → 440Russian Doll EnvelopesHardArrayBinary SearchDynamic Programming
Solve → 441Pacific Atlantic Water FlowMediumArrayDepth-First SearchBreadth-First Search
Solve → 442House Robber IIMediumArrayDynamic Programming
Solve → 443Maximum Frequency After Subarray OperationMediumArrayHash TableDynamic Programming
Solve → 444Dungeon GameHardArrayDynamic ProgrammingMatrix
Solve → 445Set MismatchEasyArrayHash TableBit Manipulation
Solve → 446Max Dot Product of Two SubsequencesHardArrayDynamic Programming
Solve → 447Partition to K Equal Sum SubsetsMediumArrayDynamic ProgrammingBacktracking
Solve → 448Construct Binary Search Tree from Preorder TraversalMediumArrayStackTree
Solve → 449Max Points on a LineHardArrayHash TableMath
Solve → 450Can Place FlowersEasyArrayGreedy
Solve → 451Detect Cycles in 2D GridMediumArrayDepth-First SearchBreadth-First Search
Solve → 452Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMediumArrayQueueSliding Window
Solve → 453Parallel Courses IIIHardArrayDynamic ProgrammingGraph Theory
Solve → 454Rotate FunctionMediumArrayMathDynamic Programming
Solve → 455Rotating the BoxMediumArrayTwo PointersMatrix
Solve → 456Majority Element IIMediumArrayHash TableSorting
Solve → 457Minimum Initial Energy to Finish TasksHardArrayGreedySorting
Solve → 458Find the Prefix Common Array of Two ArraysMediumArrayHash TableBit Manipulation
Solve → 459Find the Length of the Longest Common PrefixMediumArrayHash TableString
Solve → 460Earliest Finish Time for Land and Water Rides IIMediumArrayTwo PointersBinary Search
Solve → 461Earliest Finish Time for Land and Water Rides IEasyArrayTwo PointersBinary Search
Solve → 462Minimum Path SumMediumArrayDynamic ProgrammingMatrix
Solve → 463Subsets IIMediumArrayBacktrackingBit Manipulation
Solve → 464TriangleMediumArrayDynamic Programming
Solve → 465Word Break IIHardArrayHash TableString
Solve → 466Rearrange Array Elements by SignMediumArrayTwo PointersSimulation
Solve → 467Min Cost Climbing StairsEasyArrayDynamic Programming
Solve → 468Design HashMapEasyArrayHash TableLinked List
Solve → 469Magnetic Force Between Two BallsMediumArrayBinary SearchSorting
Solve → 470Shortest Path in Binary MatrixMediumArrayBreadth-First SearchMatrix
Solve → 471Spiral Matrix IIMediumArrayMatrixSimulation
Solve → 472Maximum Points You Can Obtain from CardsMediumArraySliding WindowPrefix Sum
Solve → 473Single Number IIMediumArrayBit Manipulation
Solve → 474Interval List IntersectionsMediumArrayTwo PointersSweep Line
Solve → 475Magic Squares In GridMediumArrayHash TableMath
Solve → 476Separate Squares IMediumArrayBinary Search
Solve → 477Coin Change IIMediumArrayDynamic Programming
Solve → 478Transformed ArrayEasyArraySimulation
Solve → 479Alien DictionaryHardArrayStringDepth-First Search
Solve → 480Number of Students Unable to Eat LunchEasyArrayStackQueue
Solve → 481Range Sum Query 2D - ImmutableMediumArrayDesignMatrix
Solve → 482Min Cost to Connect All PointsMediumArrayUnion-FindGraph Theory
Solve → 483Find Unique Binary StringMediumArrayHash TableString
Solve → 484Minimum Operations to Reduce X to ZeroMediumArrayHash TableBinary Search
Solve → 485Minimum Cost For TicketsMediumArrayDynamic Programming
Solve → 486First Unique NumberMediumArrayHash TableDesign
Solve → 487Walking Robot SimulationMediumArrayHash TableSimulation
Solve → 488IPOHardArrayGreedySorting
Solve → 489Meeting RoomsEasyArraySorting
Solve → 490Maximize Fixed Points After DeletionsHardArrayBinary SearchSorting
Solve → 491Minimum Moves to Make Array ComplementaryMediumArrayHash TablePrefix Sum
Solve → 492Partition Array According to Given PivotMediumArrayTwo PointersSimulation
Solve → 493Making A Large IslandHardArrayDepth-First SearchBreadth-First Search
Solve → 494Maximal SquareMediumArrayDynamic ProgrammingMatrix
Solve → 495Maximum Profit in Job SchedulingHardArrayBinary SearchDynamic Programming
Solve → 496Subarray Product Less Than KMediumArrayBinary SearchSliding Window
Solve → 497Contiguous ArrayMediumArrayHash TablePrefix Sum
Solve → 498Binary Subarrays With SumMediumArrayHash TableSliding Window
Solve → 499Count Square Submatrices with All OnesMediumArrayDynamic ProgrammingMatrix
Solve → 500Lemonade ChangeEasyArrayGreedy
Solve → 501Last Stone WeightEasyArrayHeap (Priority Queue)
Solve → 502Maximum Number of Events That Can Be AttendedMediumArrayGreedySorting
Solve → 503Meeting Rooms IIIHardArrayHash TableSorting
Solve → 504Minimum Number of Refueling StopsHardArrayDynamic ProgrammingGreedy
Solve → 505Final Prices With a Special Discount in a ShopEasyArrayStackMonotonic Stack
Solve → 506Minimum Swaps to Avoid Forbidden ValuesHardArrayHash TableGreedy
Solve → 507N-Repeated Element in Size 2N ArrayEasyArrayHash Table
Solve → 508Maximum Matrix SumMediumArrayGreedyMatrix
Solve → 510Design Browser HistoryMediumArrayLinked ListStack
Solve → 511Count Negative Numbers in a Sorted MatrixEasyArrayBinary SearchMatrix
Solve → 512Separate Squares IIHardArrayBinary SearchSegment Tree
Solve → 513Maximize Area of Square Hole in GridMediumArraySorting
Solve → 514Max Number of K-Sum PairsMediumArrayHash TableTwo Pointers
Solve → 515Maximum Side Length of a Square with Sum Less than or Equal to ThresholdMediumArrayBinary SearchMatrix
Solve → 516Construct the Minimum Bitwise Array IIMediumArrayBit Manipulation
Solve → 517Minimum Pair Removal to Sort Array IIHardArrayHash TableLinked List
Solve → 518Divide an Array Into Subarrays With Minimum Cost IIHardArrayHash TableSliding Window
Solve → 520Battleships in a BoardMediumArrayDepth-First SearchMatrix
Solve → 521Minimum Index Sum of Two ListsEasyArrayHash TableString
Solve → 522Partition Array for Maximum SumMediumArrayDynamic Programming
Solve → 523Longest Balanced Subarray IIHardArrayHash TableDivide and Conquer
Solve → 524Frog JumpHardArrayDynamic Programming
Solve → 525Satisfiability of Equality EquationsMediumArrayStringUnion-Find
Solve → 526Intersection of Two Arrays IIEasyArrayHash TableTwo Pointers
Solve → 527Matrix Diagonal SumEasyArrayMatrix
Solve → 528Design Tic-Tac-ToeMediumArrayHash TableDesign
Solve → 529Largest Submatrix With RearrangementsMediumArrayGreedySorting
Solve → 530Number of Good PairsEasyArrayHash TableMath
Solve → 531Maximum Subarray Min-ProductMediumArrayStackMonotonic Stack
Solve → 532Find K-th Smallest Pair DistanceHardArrayTwo PointersBinary Search
Solve → 533Maximum Amount of Money Robot Can EarnMediumArrayDynamic ProgrammingMatrix
Solve → 534Maximum Walls Destroyed by RobotsHardArrayBinary SearchDynamic Programming
Solve → 535Maximum Good Subarray SumMediumArrayHash TablePrefix Sum
Solve → 536XOR After Range Multiplication Queries IIHardArrayDivide and ConquerPrefix Sum
Solve → 537Minimum Cost to Cut a StickHardArrayDynamic ProgrammingSorting
Solve → 538Closest Equal Element QueriesMediumArrayHash TableBinary Search
Solve → 539Shortest Path in a Grid with Obstacles EliminationHardArrayBreadth-First SearchMatrix
Solve → 540Sum of Absolute Differences in a Sorted ArrayMediumArrayMathPrefix Sum
Solve → 541Sum of DistancesMediumArrayHash TablePrefix Sum
Solve → 542Minimum Operations to Make a Uni-Value GridMediumArrayMathSorting
Solve → 543Maximum Score From Grid OperationsHardArrayDynamic ProgrammingMatrix
Solve → 544Minimum Jumps to Reach End via Prime TeleportationMediumArrayHash TableMath
Solve → 545First Completely Painted Row or ColumnMediumArrayHash TableMatrix
Solve → 546Maximum Number of Jumps to Reach the Last IndexMediumArrayDynamic Programming
Solve → 547Sort Array by Increasing FrequencyEasyArrayHash TableSorting
Solve → 548Single Number IIIMediumArrayBit Manipulation
Solve → 549K Closest Points to OriginMediumArrayMathDivide and Conquer
Solve → 550Minimum Cost of Buying Candies With DiscountEasyArrayGreedySorting
Solve → 551Best Time to Buy and Sell Stock IIIHardArrayDynamic Programming
Solve → 552Range Sum Query - ImmutableEasyArrayDesignPrefix Sum
Solve → 553Find Common CharactersEasyArrayHash TableString
Solve → 554Find Pivot IndexEasyArrayPrefix Sum
Solve → 555Left and Right Sum DifferencesEasyArrayPrefix Sum
Solve → 556Defuse the BombEasyArraySliding Window
Solve → 557Cherry Pickup IIHardArrayDynamic ProgrammingMatrix
Solve → 558Permutations IIMediumArrayBacktrackingSorting
Solve → 55901 MatrixMediumArrayDynamic ProgrammingBreadth-First Search
Solve → 560Sum of Total Strength of WizardsHardArrayStackMonotonic Stack
Solve → 561Furthest Building You Can ReachMediumArrayGreedyHeap (Priority Queue)
Solve → 562Trapping Rain Water IIHardArrayBreadth-First SearchHeap (Priority Queue)
Solve → 563Array PartitionEasyArrayGreedySorting
Solve → 564Car FleetMediumArrayStackSorting
Solve → 565Construct Binary Tree from Inorder and Postorder TraversalMediumArrayHash TableDivide and Conquer
Solve → 566Find a Peak Element IIMediumArrayBinary SearchMatrix
Solve → 567Maximize Happiness of Selected ChildrenMediumArrayGreedySorting
Solve → 568Count of Smaller Numbers After SelfHardArrayBinary SearchDivide and Conquer
Solve → 569Arithmetic SlicesMediumArrayDynamic ProgrammingSliding Window
Solve → 570Perfect RectangleHardArrayHash TableMath
Solve → 571Longest Arithmetic SubsequenceMediumArrayHash TableBinary Search
Solve → 572Construct the Minimum Bitwise Array IEasyArrayBit Manipulation
Solve → 573Max Area of IslandMediumArrayDepth-First SearchBreadth-First Search
Solve → 574Paint HouseMediumArrayDynamic Programming
Solve → 575Find the Maximum Length of Valid Subsequence IMediumArrayDynamic Programming
Solve → 577Snapshot ArrayMediumArrayHash TableBinary Search
Solve → 578Minimum Cost Path with TeleportationsHardArrayDynamic ProgrammingMatrix
Solve → 579Minimum Cost to Convert String IMediumArrayStringGraph Theory
Solve → 580Max Sum of Rectangle No Larger Than KHardArrayBinary SearchMatrix
Solve → 581Largest Magic SquareMediumArrayMatrixPrefix Sum
Solve → 582Minimum Removals to Balance ArrayMediumArrayBinary SearchSliding Window
Solve → 583Longest Balanced Subarray IMediumArrayHash TableDivide and Conquer
Solve → 584Sort an ArrayMediumArrayDivide and ConquerSorting
Solve → 585Find Maximum Value in a Constrained SequenceMediumArrayGreedy
Solve → 586Happy StudentsMediumArraySortingEnumeration
Solve → 587Count of Range SumHardArrayBinary SearchDivide and Conquer
Solve → 588As Far from Land as PossibleMediumArrayDynamic ProgrammingBreadth-First Search
Solve → 589Find Resultant Array After Removing AnagramsEasyArrayHash TableString
Solve → 590Find Score of an Array After Marking All ElementsMediumArrayHash TableSorting
Solve → 591Missing Number In Arithmetic ProgressionEasyArrayMath
Solve → 592Maximum Product of Three NumbersEasyArrayMathSorting
Solve → 593Text JustificationHardArrayStringSimulation
Solve → 594Minimum Subarray Length With Distinct Sum At Least KMediumArrayHash TableSliding Window
Solve → 595Island PerimeterEasyArrayDepth-First SearchBreadth-First Search
Solve → 596Rearranging FruitsHardArrayHash TableGreedy
Solve → 597Minimum Number of Seconds to Make Mountain Height ZeroMediumArrayMathBinary Search
Solve → 598Number of Pairs Satisfying InequalityHardArrayBinary SearchDivide and Conquer
Solve → 599Maximum Non Negative Product in a MatrixMediumArrayDynamic ProgrammingMatrix
Solve → 600Count Submatrices With Equal Frequency of X and YMediumArrayMatrixPrefix Sum
Solve → 601Matrix Similarity After Cyclic ShiftsEasyArrayMathMatrix
Solve → 602Number of Visible People in a QueueHardArrayStackMonotonic Stack
Solve → 603Final Element After Subarray DeletionsMediumArrayMathBrainteaser
Solve → 604Minimum Distance Between Three Equal Elements IEasyArrayHash Table
Solve → 605Robot CollisionsHardArrayStackSorting
Solve → 606Minimum Deletions to Make Array DivisibleHardArrayMathSorting
Solve → 607Linked List ComponentsMediumArrayHash TableLinked List
Solve → 608Minimum Cost to Make Array EqualHardArrayBinary SearchGreedy
Solve → 609Minimum Increment to Make Array UniqueMediumArrayGreedySorting
Solve → 610Two City SchedulingMediumArrayGreedySorting
Solve → 611Identify the Largest Outlier in an ArrayMediumArrayHash TableCounting
Solve → 612Minimum Absolute Distance Between Mirror PairsMediumArrayHash TableMath
Solve → 613Shortest Subarray to be Removed to Make Array SortedMediumArrayTwo PointersBinary Search
Solve → 614Unique Number of OccurrencesEasyArrayHash Table
Solve → 615Brick WallMediumArrayHash Table
Solve → 616Maximum Candies Allocated to K ChildrenMediumArrayBinary Search
Solve → 617Two Furthest Houses With Different ColorsEasyArrayGreedy
Solve → 618Maximum Bitwise AND After Increment OperationsHardArrayGreedyBit Manipulation
Solve → 619Replace Elements with Greatest Element on Right SideEasyArray
Solve → 620Minimized Maximum of Products Distributed to Any StoreMediumArrayBinary SearchGreedy
Solve → 621Determine Whether Matrix Can Be Obtained By RotationEasyArrayMatrix
Solve → 622Design Memory AllocatorMediumArrayHash TableDesign
Solve → 623Sliding Subarray BeautyMediumArrayHash TableSliding Window
Solve → 624Super Ugly NumberMediumArrayMathDynamic Programming
Solve → 625Delete Nodes And Return ForestMediumArrayHash TableTree
Solve → 626Reconstruct ItineraryHardArrayStringDepth-First Search
Solve → 627Detonate the Maximum BombsMediumArrayMathDepth-First Search
Solve → 628Jump Game IXMediumArrayDynamic Programming
Solve → 629Cyclically Rotating a GridMediumArrayMatrixSimulation
Solve → 630Continuous Subarray SumMediumArrayHash TableMath
Solve → 631Minimum Cost to Buy Apples IIHardArrayGraph TheoryHeap (Priority Queue)
Solve → 632Find Minimum in Rotated Sorted Array IIHardArrayBinary Search
Solve → 633Maximum Sum With at Most K ElementsMediumArrayGreedySorting
Solve → 634Jump Game IIIMediumArrayDepth-First SearchBreadth-First Search
Solve → 635Maximum Height by Stacking CuboidsHardArrayDynamic ProgrammingSorting
Solve → 636Maximum Product of Word LengthsMediumArrayStringBit Manipulation
Solve → 637Count Number of Pairs With Absolute Difference KEasyArrayHash TableCounting
Solve → 638Find All Possible Recipes from Given SuppliesMediumArrayHash TableString
Solve → 639Shortest Distance to Target String in a Circular ArrayEasyArrayString
Solve → 640Find All Numbers Disappeared in an ArrayEasyArrayHash Table
Solve → 641Jump Game VHardArrayDynamic ProgrammingSorting
Solve → 642Walls and GatesMediumArrayBreadth-First SearchMatrix
Solve → 643Longest Common Suffix QueriesHardArrayStringTrie
Solve → 644Count Elements With Maximum FrequencyEasyArrayHash TableCounting
Solve → 645Jump Game IVHardArrayHash TableBreadth-First Search
Solve → 646My Calendar IMediumArrayBinary SearchDesign
Solve → 647Lexicographically Maximum MEX ArrayHardArrayHash TableGreedy
Solve → 648Find the Winner of the Circular GameMediumArrayMathRecursion
Solve → 649Valid Mountain ArrayEasyArray
Solve → 650Unique Paths IIIHardArrayBacktrackingBit Manipulation
Solve → 651Minimum Operations to Sort a PermutationMediumArray
Solve → 652Count Number of Nice SubarraysMediumArrayHash TableMath
Solve → 653Sort the PeopleEasyArrayHash TableString
Solve → 654Final Value of Variable After Performing OperationsEasyArrayStringSimulation
Solve → 655Best Time to Buy and Sell Stock with CooldownMediumArrayDynamic Programming
Solve → 656Pairs of Songs With Total Durations Divisible by 60MediumArrayHash TableCounting
Solve → 657Maximum Total Subarray Value IMediumArrayGreedy
Solve → 658Relative RanksEasyArraySortingHeap (Priority Queue)
Solve → 659Build Array from PermutationEasyArraySimulation
Solve → 660Find Target Indices After Sorting ArrayEasyArrayBinary SearchSorting
Solve → 661Maximum Product of Two Elements in an ArrayEasyArraySortingHeap (Priority Queue)
Solve → 662Combination Sum IIMediumArrayBacktracking
Solve → 663Count Subarrays With Fixed BoundsHardArrayQueueSliding Window
Solve → 664Maximum Width RampMediumArrayTwo PointersStack
Solve → 665Number of Islands IIHardArrayHash TableUnion-Find
Solve → 666Third Maximum NumberEasyArraySorting
Solve → 667Minimum Number GameEasyArraySortingHeap (Priority Queue)
Solve → 668Reshape the MatrixEasyArrayMatrixSimulation
Solve → 669Apply Operations to an ArrayEasyArrayTwo PointersSimulation
Solve → 670Score After Flipping MatrixMediumArrayGreedyBit Manipulation
Solve → 671Maximum K to Sort a PermutationMediumArrayBit Manipulation
Solve → 672Add to Array-Form of IntegerEasyArrayMath
Solve → 673Minimum Absolute DifferenceEasyArraySorting
Solve → 674Merge BSTs to Create Single BSTHardArrayHash TableTree
Solve → 675Maximum Sum Circular SubarrayMediumArrayDivide and ConquerDynamic Programming
Solve → 676Partition Array Such That Maximum Difference Is KMediumArrayGreedySorting
Solve → 677Find the Highest AltitudeEasyArrayPrefix Sum
Solve → 678Most Beautiful Item for Each QueryMediumArrayBinary SearchSorting
Solve → 679Delete and EarnMediumArrayHash TableDynamic Programming
Solve → 680Shortest Distance to a CharacterEasyArrayTwo PointersString
Solve → 681Allocate MailboxesHardArrayMathDynamic Programming
Solve → 682Maximum GapMediumArraySortingBucket Sort
Solve → 683Longest Increasing Path in a MatrixHardArrayDynamic ProgrammingDepth-First Search
Solve → 684Minimum Cost to Merge StonesHardArrayDynamic ProgrammingPrefix Sum
Solve → 685Plates Between CandlesMediumArrayStringBinary Search
Solve → 686Queue Reconstruction by HeightMediumArrayBinary Indexed TreeSegment Tree
Solve → 687Two SumEasyArrayHash Table
Solve → 688Trapping Rain WaterHardArrayTwo PointersDynamic Programming
Solve → 689Number of IslandsMediumArrayDepth-First SearchBreadth-First Search
Solve → 690Best Time to Buy and Sell StockEasyArrayDynamic Programming
Solve → 691Group AnagramsMediumArrayHash TableString
Solve → 6923SumMediumArrayTwo PointersSorting
Solve → 693Merge IntervalsMediumArraySorting
Solve → 694Container With Most WaterMediumArrayTwo PointersGreedy
Solve → 695Median of Two Sorted ArraysHardArrayBinary SearchDivide and Conquer
Solve → 696Koko Eating BananasMediumArrayBinary Search
Solve → 697Merge Sorted ArrayEasyArrayTwo PointersSorting
Solve → 698Longest Common PrefixEasyArrayStringTrie
Solve → 699Subarray Sum Equals KMediumArrayHash TablePrefix Sum
Solve → 700Top K Frequent ElementsMediumArrayHash TableDivide and Conquer
Solve → 701Rotting OrangesMediumArrayBreadth-First SearchMatrix
Solve → 702Maximum SubarrayMediumArrayDivide and ConquerDynamic Programming
Solve → 703Search in Rotated Sorted ArrayMediumArrayBinary Search
Solve → 704Longest Consecutive SequenceMediumArrayHash TableUnion-Find
Solve → 705Majority ElementEasyArrayHash TableDivide and Conquer
Solve → 706Jump GameMediumArrayDynamic ProgrammingGreedy
Solve → 707Product of Array Except SelfMediumArrayPrefix Sum
Solve → 708Word SearchMediumArrayStringBacktracking
Solve → 709House RobberMediumArrayDynamic Programming
Solve → 710Spiral MatrixMediumArrayMatrixSimulation
Solve → 711Analyze User Website Visit PatternMediumArrayHash TableString
Solve → 712Coin ChangeMediumArrayDynamic ProgrammingBreadth-First Search
Solve → 713Task SchedulerMediumArrayHash TableGreedy
Solve → 714Sliding Window MaximumHardArrayQueueSliding Window
Solve → 715Next PermutationMediumArrayTwo Pointers
Solve → 716Meeting Rooms IIMediumArrayTwo PointersGreedy
Solve → 717Remove Duplicates from Sorted ArrayEasyArrayTwo Pointers
Solve → 718Rotate ImageMediumArrayMathMatrix
Solve → 719Kth Largest Element in an ArrayMediumArrayDivide and ConquerSorting
Solve → 720Jump Game IIMediumArrayDynamic ProgrammingGreedy
Solve → 721Identify the Largest Outlier in an ArrayMediumArrayHash TableCounting
Solve → 722Pascal's TriangleEasyArrayDynamic Programming
Solve → 723Insert Delete GetRandom O(1)MediumArrayHash TableMath
Solve → 724Find Peak ElementMediumArrayBinary Search
Solve → 725First Missing PositiveHardArrayHash Table
Solve → 726Largest Rectangle in HistogramHardArrayStackMonotonic Stack
Solve → 727Word BreakMediumArrayHash TableString
Solve → 728N-QueensHardArrayBacktracking
Solve → 729Move ZeroesEasyArrayTwo Pointers
Solve → 730Best Time to Buy and Sell Stock IIMediumArrayDynamic ProgrammingGreedy
Solve → 731Valid SudokuMediumArrayHash TableMatrix
Solve → 732Find First and Last Position of Element in Sorted ArrayMediumArrayBinary Search
Solve → 733SubsetsMediumArrayBacktrackingBit Manipulation
Solve → 734Rotate ArrayMediumArrayMathTwo Pointers
Solve → 735Sort ColorsMediumArrayTwo PointersSorting
Solve → 736Asteroid CollisionMediumArrayStackSimulation
Solve → 737Search a 2D MatrixMediumArrayBinary SearchMatrix
Solve → 738Capacity To Ship Packages Within D DaysMediumArrayBinary Search
Solve → 739Single NumberEasyArrayBit Manipulation
Solve → 740Single Element in a Sorted ArrayMediumArrayBinary Search
Solve → 741Daily TemperaturesMediumArrayStackMonotonic Stack
Solve → 7424SumMediumArrayTwo PointersSorting
Solve → 743Max Consecutive Ones IIIMediumArrayBinary SearchSliding Window
Solve → 744Missing NumberEasyArrayHash TableMath
Solve → 745Fruit Into BasketsMediumArrayHash TableSliding Window
Solve → 746Combination SumMediumArrayBacktracking
Solve → 747Gas StationMediumArrayGreedy
Solve → 749Word Search IIHardArrayStringBacktracking
Solve → 750Flood FillEasyArrayDepth-First SearchBreadth-First Search
Solve → 751Find the Duplicate NumberMediumArrayTwo PointersBinary Search
Solve → 752Concatenated WordsHardArrayStringDynamic Programming
Solve → 753Next Greater Element IIMediumArrayStackMonotonic Stack
Solve → 754Remove ElementEasyArrayTwo Pointers
Solve → 755Search Insert PositionEasyArrayBinary Search
Solve → 756Word Break IIHardArrayHash TableString
Solve → 757PermutationsMediumArrayBacktracking
Solve → 758Set Matrix ZeroesMediumArrayHash TableMatrix
Solve → 759Contains DuplicateEasyArrayHash TableSorting
Solve → 760Maximum Profit in Job SchedulingHardArrayBinary SearchDynamic Programming
Solve → 761Maximum Product SubarrayMediumArrayDynamic Programming
Solve → 762Longest Increasing SubsequenceMediumArrayBinary SearchDynamic Programming
Solve → 763Next Greater Element IEasyArrayHash TableStack
Solve → 764K Closest Points to OriginMediumArrayMathDivide and Conquer
Solve → 765Two Sum II - Input Array Is SortedMediumArrayTwo PointersBinary Search
Solve → 766Evaluate DivisionMediumArrayStringDepth-First Search
Solve → 767Partition Equal Subset SumMediumArrayDynamic Programming
Solve → 768Sudoku SolverHardArrayHash TableBacktracking
Solve → 769Maximum Frequency After Subarray OperationMediumArrayHash TableDynamic Programming
Solve → 771Intersection of Two ArraysEasyArrayHash TableTwo Pointers
Solve → 772Largest NumberMediumArrayStringGreedy
Solve → 773Contains Duplicate IIEasyArrayHash TableSliding Window
Solve → 774Split Array Largest SumHardArrayBinary SearchDynamic Programming
Solve → 775Evaluate Reverse Polish NotationMediumArrayMathStack
Solve → 776Plates Between CandlesMediumArrayStringBinary Search
Solve → 777Remove Duplicates from Sorted Array IIMediumArrayTwo Pointers
Solve → 778Sum of Subarray MinimumsMediumArrayDynamic ProgrammingStack
Solve → 7793Sum ClosestMediumArrayTwo PointersSorting
Solve → 780Construct Binary Tree from Preorder and Inorder TraversalMediumArrayHash TableDivide and Conquer
Solve → 781Minimum Size Subarray SumMediumArrayBinary SearchSliding Window
Solve → 782Max Consecutive OnesEasyArray
Solve → 783Target SumMediumArrayDynamic ProgrammingBacktracking
Solve → 784Check if Array Is Sorted and RotatedEasyArray
Solve → 785Make Array Zero by Subtracting Equal AmountsEasyArrayHash TableGreedy
Solve → 786Minimum Path SumMediumArrayDynamic ProgrammingMatrix
Solve → 787Find Minimum in Rotated Sorted ArrayMediumArrayBinary Search
Solve → 788Peak Index in a Mountain ArrayMediumArrayBinary Search
Solve → 789Subsets IIMediumArrayBacktrackingBit Manipulation
Solve → 790Surrounded RegionsMediumArrayDepth-First SearchBreadth-First Search
Solve → 791Pacific Atlantic Water FlowMediumArrayDepth-First SearchBreadth-First Search
Solve → 792Search a 2D Matrix IIMediumArrayBinary SearchDivide and Conquer
Solve → 793Random Pick with WeightMediumArrayMathBinary Search
Solve → 794Snakes and LaddersMediumArrayBreadth-First SearchMatrix
Solve → 795Search Suggestions SystemMediumArrayStringBinary Search
Solve → 796Find K Closest ElementsMediumArrayTwo PointersBinary Search
Solve → 797Minimum Health to Beat GameMediumArrayGreedy
Solve → 798Maximal RectangleHardArrayDynamic ProgrammingStack
Solve → 799Smallest Range Covering Elements from K ListsHardArrayHash TableGreedy
Solve → 800Trapping Rain Water IIHardArrayBreadth-First SearchHeap (Priority Queue)
Solve → 801Contiguous ArrayMediumArrayHash TablePrefix Sum
Solve → 802Majority Element IIMediumArrayHash TableSorting
Solve → 803Sort an ArrayMediumArrayDivide and ConquerSorting
Solve → 804Maximum Width RampMediumArrayTwo PointersStack
Solve → 805Furthest Building You Can ReachMediumArrayGreedyHeap (Priority Queue)
Solve → 806Binary SearchEasyArrayBinary Search
Solve → 807Subarrays with K Different IntegersHardArrayHash TableSliding Window
Solve → 808Kids With the Greatest Number of CandiesEasyArray
Solve → 809Frequency of the Most Frequent ElementMediumArrayBinary SearchGreedy
Solve → 810Combination Sum IIMediumArrayBacktracking
Solve → 811Convert Sorted Array to Binary Search TreeEasyArrayDivide and ConquerTree
Solve → 812Count PrimesMediumArrayMathEnumeration
Solve → 813Reverse PairsHardArrayBinary SearchDivide and Conquer
Solve → 814Making A Large IslandHardArrayDepth-First SearchBreadth-First Search
Solve → 815Rearrange Array Elements by SignMediumArrayTwo PointersSimulation
Solve → 816Minimum Difference in Sums After Removal of ElementsHardArrayDynamic ProgrammingHeap (Priority Queue)
Solve → 817Find K Pairs with Smallest SumsMediumArrayHeap (Priority Queue)
Solve → 81801 MatrixMediumArrayDynamic ProgrammingBreadth-First Search
Solve → 819Max Area of IslandMediumArrayDepth-First SearchBreadth-First Search
Solve → 820Design HashMapEasyArrayHash TableLinked List
Solve → 821Find Triangular Sum of an ArrayMediumArrayMathSimulation
Solve → 822TriangleMediumArrayDynamic Programming
Solve → 823House Robber IIMediumArrayDynamic Programming
Solve → 824Increasing Triplet SubsequenceMediumArrayGreedy
Solve → 825Design Tic-Tac-ToeMediumArrayHash TableDesign
Solve → 826Diagonal TraverseMediumArrayMatrixSimulation
Solve → 827Can Place FlowersEasyArrayGreedy
Solve → 828Accounts MergeMediumArrayHash TableString
Solve → 829Min Cost Climbing StairsEasyArrayDynamic Programming
Solve → 830Unique Number of OccurrencesEasyArrayHash Table
Solve → 831Exclusive Time of FunctionsMediumArrayStack
Solve → 832Non-overlapping IntervalsMediumArrayDynamic ProgrammingGreedy
Solve → 833Top K Frequent WordsMediumArrayHash TableString
Solve → 834Squares of a Sorted ArrayEasyArrayTwo PointersSorting
Solve → 835Maximum Points You Can Obtain from CardsMediumArraySliding WindowPrefix Sum
Solve → 836Minimum Number of Days to Make m BouquetsMediumArrayBinary Search
Solve → 837Minimum Number of Primes to Sum to TargetMediumArrayMathDynamic Programming
Solve → 838Maximal SquareMediumArrayDynamic ProgrammingMatrix
Solve → 839Russian Doll EnvelopesHardArrayBinary SearchDynamic Programming
Solve → 840Subarray Product Less Than KMediumArrayBinary SearchSliding Window
Solve → 841Open the LockMediumArrayHash TableString
Solve → 842Boats to Save PeopleMediumArrayTwo PointersGreedy
Solve → 843Shortest Path in Binary MatrixMediumArrayBreadth-First SearchMatrix
Solve → 844Text JustificationHardArrayStringSimulation
Solve → 845Search in Rotated Sorted Array IIMediumArrayBinary Search
Solve → 846Alien DictionaryHardArrayStringDepth-First Search
Solve → 847Coin Change IIMediumArrayDynamic Programming
Solve → 848Maximum Average Subarray IEasyArraySliding Window
Solve → 849Reorder Data in Log FilesMediumArrayStringSorting
Solve → 850Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMediumArrayQueueSliding Window
Solve → 851Kth Missing Positive NumberEasyArrayBinary Search
Solve → 852Maximum Units on a TruckEasyArrayGreedySorting
Solve → 853Unique Paths IIMediumArrayDynamic ProgrammingMatrix
Solve → 854Single Number IIMediumArrayBit Manipulation
Solve → 855Find All Numbers Disappeared in an ArrayEasyArrayHash Table
Solve → 856Assign CookiesEasyArrayTwo PointersGreedy
Solve → 857Maximum Number of Groups With Increasing LengthHardArrayMathBinary Search
Solve → 858Put Marbles in BagsHardArrayGreedySorting
Solve → 859Permutations IIMediumArrayBacktrackingSorting
Solve → 860Range Sum Query - ImmutableEasyArrayDesignPrefix Sum
Solve → 861Reconstruct ItineraryHardArrayStringDepth-First Search
Solve → 862Predict the WinnerMediumArrayMathDynamic Programming
Solve → 863Set MismatchEasyArrayHash TableBit Manipulation
Solve → 864Design Circular QueueMediumArrayLinked ListDesign
Solve → 865Maximum Number of Events That Can Be AttendedMediumArrayGreedySorting
Solve → 866Concatenation of ArrayEasyArraySimulation
Solve → 867Sum of Subarray RangesMediumArrayStackMonotonic Stack
Solve → 868Maximum Sum of Distinct Subarrays With Length KMediumArrayHash TableSliding Window
Solve → 869Insert IntervalMediumArray
Solve → 870Kth Smallest Element in a Sorted MatrixMediumArrayBinary SearchSorting
Solve → 871Number of Distinct IslandsMediumArrayHash TableDepth-First Search
Solve → 872Bus RoutesHardArrayHash TableBreadth-First Search
Solve → 873Binary Subarrays With SumMediumArrayHash TableSliding Window
Solve → 874Find the Smallest Divisor Given a ThresholdMediumArrayBinary Search
Solve → 875Running Sum of 1d ArrayEasyArrayPrefix Sum
Solve → 876Find Missing and Repeated ValuesEasyArrayHash TableMath
Solve → 877Count Square Submatrices with All OnesMediumArrayDynamic ProgrammingMatrix
Solve → 878Frog JumpHardArrayDynamic Programming
Solve → 879Find All Duplicates in an ArrayMediumArrayHash TableSorting
Solve → 880Find Pivot IndexEasyArrayPrefix Sum
Solve → 881Partition Array Into Two Arrays to Minimize Sum DifferenceHardArrayTwo PointersBinary Search
Solve → 882Minimum Swaps to Group All 1's Together IIMediumArraySliding Window
Solve → 883Length of Longest V-Shaped Diagonal SegmentHardArrayDynamic ProgrammingMemoization
Solve → 884Minimum Operations to Make the Array AlternatingMediumArrayHash TableGreedy
Solve → 885Burst BalloonsHardArrayDynamic Programming
Solve → 886HeatersMediumArrayTwo PointersBinary Search
Solve → 887Minimum Number of Refueling StopsHardArrayDynamic ProgrammingGreedy
Solve → 888Maximum Erasure ValueMediumArrayHash TableSliding Window
Solve → 889Sum of Total Strength of WizardsHardArrayStackMonotonic Stack
Solve → 890Best Time to Buy and Sell Stock IIIHardArrayDynamic Programming
Solve → 891Dungeon GameHardArrayDynamic ProgrammingMatrix
Solve → 892Combination Sum IIIMediumArrayBacktracking
Solve → 894Minimum Falling Path SumMediumArrayDynamic ProgrammingMatrix
Solve → 895Construct Binary Search Tree from Preorder TraversalMediumArrayStackTree
Solve → 896Shortest Path in a Grid with Obstacles EliminationHardArrayBreadth-First SearchMatrix
Solve → 897Check If Array Pairs Are Divisible by kMediumArrayHash TableCounting
Solve → 898Minimum Cost to Cut a StickHardArrayDynamic ProgrammingSorting
Solve → 899Magnetic Force Between Two BallsMediumArrayBinary SearchSorting
Solve → 900Find the Highest AltitudeEasyArrayPrefix Sum
Solve → 901Count Zero Request ServersMediumArrayHash TableSliding Window
Solve → 902Minimum Array SumMediumArrayDynamic Programming
Solve → 903Minimum Number of Operations to Make Elements in Array DistinctEasyArrayHash Table
Solve → 904Maximum Sum With at Most K ElementsMediumArrayGreedySorting
Solve → 905Count Covered BuildingsMediumArrayHash TableSorting
Solve → 906Maximum K to Sort a PermutationMediumArrayBit Manipulation
Solve → 907Spiral Matrix IIMediumArrayMatrixSimulation
Solve → 908H-IndexMediumArraySortingCounting Sort
Solve → 909Longest Increasing Path in a MatrixHardArrayDynamic ProgrammingDepth-First Search
Solve → 910Design Hit CounterMediumArrayBinary SearchDesign
Solve → 911Continuous Subarray SumMediumArrayHash TableMath
Solve → 912Array PartitionEasyArrayGreedySorting
Solve → 913Car FleetMediumArrayStackSorting
Solve → 914Lemonade ChangeEasyArrayGreedy
Solve → 915Shortest Subarray with Sum at Least KHardArrayBinary SearchQueue
Solve → 916Subarray Sums Divisible by KMediumArrayHash TablePrefix Sum
Solve → 917How Many Numbers Are Smaller Than the Current NumberEasyArrayHash TableSorting
Solve → 918Allocate MailboxesHardArrayMathDynamic Programming
Solve → 919Find All Possible Recipes from Given SuppliesMediumArrayHash TableString
Solve → 920Meeting Rooms IIIHardArrayHash TableSorting
Solve → 921Row With Maximum OnesEasyArrayMatrix
Solve → 922Minimum Number of Coins to be AddedMediumArrayGreedySorting
Solve → 923The Skyline ProblemHardArrayDivide and ConquerBinary Indexed Tree
Solve → 924Meeting RoomsEasyArraySorting
Solve → 925Largest Divisible SubsetMediumArrayMathDynamic Programming
Solve → 926Insert Delete GetRandom O(1) - Duplicates allowedHardArrayHash TableMath
Solve → 927Swim in Rising WaterHardArrayBinary SearchDepth-First Search
Solve → 928Maximum Sum Circular SubarrayMediumArrayDivide and ConquerDynamic Programming
Solve → 929Minimum Cost For TicketsMediumArrayDynamic Programming
Solve → 930Interval List IntersectionsMediumArrayTwo PointersSweep Line
Solve → 931Last Stone WeightEasyArrayHeap (Priority Queue)
Solve → 932Longest Subarray of 1's After Deleting One ElementMediumArrayDynamic ProgrammingSliding Window
Solve → 933Number of Subsequences That Satisfy the Given Sum ConditionMediumArrayTwo PointersBinary Search
Solve → 934Make Sum Divisible by PMediumArrayHash TablePrefix Sum
Solve → 935Count the Number of Fair PairsMediumArrayTwo PointersBinary Search
Solve → 936First Unique NumberMediumArrayHash TableDesign
Solve → 937Moving Average from Data StreamEasyArrayDesignQueue
Solve → 938Max Chunks To Make SortedMediumArrayStackGreedy
Solve → 939Two Best Non-Overlapping EventsMediumArrayBinary SearchDynamic Programming
Solve → 940Maximize Y‑Sum by Picking a Triplet of Distinct X‑ValuesMediumArrayHash TableGreedy
Solve → 941Best Time to Buy and Sell Stock IVHardArrayDynamic Programming
Solve → 942Walls and GatesMediumArrayBreadth-First SearchMatrix
Solve → 943Game of LifeMediumArrayMatrixSimulation
Solve → 944Minimum Number of Arrows to Burst BalloonsMediumArrayGreedySorting
Solve → 945Find K-th Smallest Pair DistanceHardArrayTwo PointersBinary Search
Solve → 946My Calendar IMediumArrayBinary SearchDesign
Solve → 947Delete and EarnMediumArrayHash TableDynamic Programming
Solve → 948Transpose MatrixEasyArrayMatrixSimulation
Solve → 949Shortest BridgeMediumArrayDepth-First SearchBreadth-First Search
Solve → 950Unique Paths IIIHardArrayBacktrackingBit Manipulation
Solve → 951Find the Town JudgeEasyArrayHash TableGraph Theory
Solve → 952Find in Mountain ArrayHardArrayBinary SearchInteractive
Solve → 953Maximum Subarray Sum with One DeletionMediumArrayDynamic Programming
Solve → 954Find the Difference of Two ArraysEasyArrayHash Table
Solve → 955Min Cost to Connect All PointsMediumArrayUnion-FindGraph Theory
Solve → 956Path With Minimum EffortMediumArrayBinary SearchDepth-First Search
Solve → 957Max Number of K-Sum PairsMediumArrayHash TableTwo Pointers
Solve → 958Number of Students Unable to Eat LunchEasyArrayStackQueue
Solve → 959Maximum Average Pass RatioMediumArrayGreedyHeap (Priority Queue)
Solve → 960Build Array from PermutationEasyArraySimulation
Solve → 961Find the Median of the Uniqueness ArrayHardArrayHash TableBinary Search
Solve → 962Course Schedule IIIHardArrayGreedySorting
Solve → 963Count Servers that CommunicateMediumArrayDepth-First SearchBreadth-First Search
Solve → 964Delete Nodes From Linked List Present in ArrayMediumArrayHash TableLinked List
Solve → 965House Robber IVMediumArrayBinary SearchDynamic Programming
Solve → 966Number of Zero-Filled SubarraysMediumArrayMath
Solve → 967Valid Triangle NumberMediumArrayTwo PointersBinary Search
Solve → 968Avoid Flood in The CityMediumArrayHash TableBinary Search
Solve → 969Construct Binary Tree from Inorder and Postorder TraversalMediumArrayHash TableDivide and Conquer
Solve → 970Battleships in a BoardMediumArrayDepth-First SearchMatrix
Solve → 971132 PatternMediumArrayBinary SearchStack
Solve → 972Longest Harmonious SubsequenceEasyArrayHash TableSliding Window
Solve → 973Baseball GameEasyArrayStackSimulation
Solve → 974Guess the WordHardArrayMathString
Solve → 975Car PoolingMediumArraySortingHeap (Priority Queue)
Solve → 976Replace Elements with Greatest Element on Right SideEasyArray
Solve → 977Snapshot ArrayMediumArrayHash TableBinary Search
Solve → 978Minimum Difficulty of a Job ScheduleHardArrayDynamic Programming
Solve → 979Shuffle the ArrayEasyArray
Solve → 980Design Browser HistoryMediumArrayLinked ListStack
Solve → 981Nearest Exit from Entrance in MazeMediumArrayBreadth-First SearchMatrix
Solve → 982Find a Peak Element IIMediumArrayBinary SearchMatrix
Solve → 983Minimized Maximum of Products Distributed to Any StoreMediumArrayBinary SearchGreedy
Solve → 984Successful Pairs of Spells and PotionsMediumArrayTwo PointersBinary Search
Solve → 985Count Number of Bad PairsMediumArrayHash TableMath
Solve → 986Maximum Number of Books You Can TakeHardArrayDynamic ProgrammingStack
Solve → 987Count Number of Rectangles Containing Each PointMediumArrayHash TableBinary Search
Solve → 988Minimum Difference Between Highest and Lowest of K ScoresEasyArraySliding WindowSorting
Solve → 989Best Poker HandEasyArrayHash TableCounting
Solve → 990Count Vowel Strings in RangesMediumArrayStringPrefix Sum
Solve → 991Number of Equivalent Domino PairsEasyArrayHash TableCounting
Solve → 992Max Sum of a Pair With Equal Sum of DigitsMediumArrayHash TableSorting
Solve → 993Find Winner on a Tic Tac Toe GameEasyArrayHash TableMatrix
Solve → 994Encode and Decode StringsMediumArrayStringDesign
Solve → 995Remove Sub-Folders from the FilesystemMediumArrayStringDepth-First Search
Solve → 996Maximum Candies Allocated to K ChildrenMediumArrayBinary Search
Solve → 997Find the Minimum Area to Cover All Ones IIHardArrayMatrixEnumeration
Solve → 998Greatest Sum Divisible by ThreeMediumArrayDynamic ProgrammingGreedy
Solve → 999Count Subarrays of Length Three With a ConditionEasyArray
Solve → 1000Lexicographically Smallest Negated Permutation that Sums to TargetMediumArrayMathTwo Pointers
Solve → 1001Max Points on a LineHardArrayHash TableMath
Solve → 1002Third Maximum NumberEasyArraySorting
Solve → 1003Island PerimeterEasyArrayDepth-First SearchBreadth-First Search
Solve → 1004Maximum Product of Three NumbersEasyArrayMathSorting
Solve → 1005Maximum Length of Pair ChainMediumArrayDynamic ProgrammingGreedy
Solve → 1006Image SmootherEasyArrayMatrix
Solve → 1007Partition to K Equal Sum SubsetsMediumArrayDynamic ProgrammingBacktracking
Solve → 1008Maximize Distance to Closest PersonMediumArray
Solve → 1009Minimum Cost to Merge StonesHardArrayDynamic ProgrammingPrefix Sum
Solve → 1010Pairs of Songs With Total Durations Divisible by 60MediumArrayHash TableCounting
Solve → 1011Find N Unique Integers Sum up to ZeroEasyArrayMath
Solve → 1012Minimum Operations to Reduce X to ZeroMediumArrayHash TableBinary Search
Solve → 1013Find Minimum Time to Finish All JobsHardArrayDynamic ProgrammingBacktracking
Solve → 1014Maximum Number of Events That Can Be Attended IIHardArrayBinary SearchDynamic Programming
Solve → 1015Buildings With an Ocean ViewMediumArrayStackMonotonic Stack
Solve → 1016Sum of All Subset XOR TotalsEasyArrayMathBacktracking
Solve → 1017Count Elements With Maximum FrequencyEasyArrayHash TableCounting
Solve → 1018Grumpy Bookstore OwnerMediumArraySliding Window
Solve → 1019The Number of the Smallest Unoccupied ChairMediumArrayHash TableHeap (Priority Queue)
Solve → 1020Minimum Cost to Connect SticksMediumArrayGreedyHeap (Priority Queue)
Solve → 1021Defuse the BombEasyArraySliding Window
Solve → 1022Minimum Difference Between Largest and Smallest Value in Three MovesMediumArrayGreedySorting
Solve → 1023Sort Array By Parity IIEasyArrayTwo PointersSorting
Solve → 1024Word SubsetsMediumArrayHash TableString
Solve → 1025Finding 3-Digit Even NumbersEasyArrayHash TableRecursion
Solve → 1026Partition Array According to Given PivotMediumArrayTwo PointersSimulation
Solve → 1027Number of Ways to Split ArrayMediumArrayPrefix Sum
Solve → 1028Longest Subarray With Maximum Bitwise ANDMediumArrayBit ManipulationBrainteaser
Solve → 1029Maximum Matrix SumMediumArrayGreedyMatrix
Solve → 1030Find All K-Distant Indices in an ArrayEasyArrayTwo Pointers
Solve → 1031Maximum Performance of a TeamHardArrayGreedySorting
Solve → 1032Maximum Absolute Sum of Any SubarrayMediumArrayDynamic Programming
Solve → 1033Kth Smallest Product of Two Sorted ArraysHardArrayBinary Search
Solve → 1034Vowel SpellcheckerMediumArrayHash TableString
Solve → 1035Reschedule Meetings for Maximum Free Time IMediumArrayGreedySliding Window
Solve → 1036Minimum Equal Sum of Two Arrays After Replacing ZerosMediumArrayGreedy
Solve → 1037Maximize Subarrays After Removing One Conflicting PairHardArraySegment TreeEnumeration
Solve → 1038Largest 1-Bordered SquareMediumArrayDynamic ProgrammingMatrix
Solve → 1039Minimum Cost to Reach Destination in TimeHardArrayDynamic ProgrammingGraph Theory
Solve → 1040Fruits Into Baskets IIEasyArrayBinary SearchSegment Tree
Solve → 1041Count Bowl SubarraysMediumArrayStackMonotonic Stack
Solve → 1042Pascal's Triangle IIEasyArrayDynamic Programming
Solve → 1043Count of Smaller Numbers After SelfHardArrayBinary SearchDivide and Conquer
Solve → 1044Optimal Account BalancingHardArrayDynamic ProgrammingBacktracking
Solve → 1045Sliding Window MedianHardArrayHash TableSliding Window
Solve → 1046IPOHardArrayGreedySorting
Solve → 1047Minimum Time DifferenceMediumArrayMathString
Solve → 1048Find Smallest Letter Greater Than TargetEasyArrayBinary Search
Solve → 1049Rabbits in ForestMediumArrayHash TableMath
Solve → 1050Valid Mountain ArrayEasyArray
Solve → 1051Reveal Cards In Increasing OrderMediumArrayQueueSorting
Solve → 1052Regions Cut By SlashesMediumArrayHash TableDepth-First Search
Solve → 1053Next Greater Node In Linked ListMediumArrayLinked ListStack
Solve → 1054Invalid TransactionsMediumArrayHash TableString
Solve → 1055Number of Visible People in a QueueHardArrayStackMonotonic Stack
Solve → 1056Minimum Number of Operations to Move All Balls to Each BoxMediumArrayStringPrefix Sum
Solve → 1057Maximum Number of Robots Within BudgetHardArrayBinary SearchQueue
Solve → 1058Minimum Adjacent Swaps to Make a Valid ArrayMediumArrayGreedy
Solve → 1059Longest Nice SubarrayMediumArrayBit ManipulationSliding Window
Solve → 1060Continuous SubarraysMediumArrayQueueSliding Window
Solve → 1061Check If N and Its Double ExistEasyArrayHash TableTwo Pointers
Solve → 1062Single Number IIIMediumArrayBit Manipulation
Solve → 1063Shortest Distance from All BuildingsHardArrayBreadth-First SearchMatrix
Solve → 1064Magic Squares In GridMediumArrayHash TableMath
Solve → 1065Maximum Sum of 3 Non-Overlapping SubarraysHardArrayDynamic ProgrammingSliding Window
Solve → 1066Loud and RichMediumArrayDepth-First SearchGraph Theory
Solve → 1067Design an Expression Tree With Evaluate FunctionMediumArrayMathStack
Solve → 1068Find the K-Sum of an ArrayHardArraySortingHeap (Priority Queue)
Solve → 1069Delete Columns to Make SortedEasyArrayString
Solve → 1070Minimum Cost to Convert String IIHardArrayStringDynamic Programming
Solve → 1071Final Prices With a Special Discount in a ShopEasyArrayStackMonotonic Stack
Solve → 1072Number of Sub-arrays With Odd SumMediumArrayMathDynamic Programming
Solve → 1073Sum of Prefix Scores of StringsHardArrayStringTrie
Solve → 1074Last Stone Weight IIMediumArrayDynamic Programming
Solve → 1075Count Number of Maximum Bitwise-OR SubsetsMediumArrayBacktrackingBit Manipulation
Solve → 1076Minimum Domino Rotations For Equal RowMediumArrayGreedy
Solve → 1077Number of Sub-arrays of Size K and Average Greater than or Equal to ThresholdMediumArraySliding Window
Solve → 1078Minimum Limit of Balls in a BagMediumArrayBinary Search
Solve → 1079Make Lexicographically Smallest Array by Swapping ElementsMediumArrayUnion-FindSorting
Solve → 1080Length of Longest Fibonacci SubsequenceMediumArrayHash TableDynamic Programming
Solve → 1081Maximum Number of Tasks You Can AssignHardArrayTwo PointersBinary Search
Solve → 1082Maximum Tastiness of Candy BasketMediumArrayBinary SearchGreedy
Solve → 1083Unique 3-Digit Even NumbersEasyArrayHash TableRecursion
Solve → 1084Find Numbers with Even Number of DigitsEasyArrayMath
Solve → 1085Find the Maximum Length of Valid Subsequence IMediumArrayDynamic Programming
Solve → 1086Count Subarrays With Median KHardArrayHash TablePrefix Sum
Solve → 1087Minimize the Maximum Difference of PairsMediumArrayBinary SearchDynamic Programming
Solve → 1088Find the Minimum Area to Cover All Ones IMediumArrayMatrix
Solve → 1089Maximum Subarray Sum With Length Divisible by KMediumArrayHash TablePrefix Sum
Solve → 1090Maximum Difference Between Increasing ElementsEasyArray
Solve → 1091Range Product Queries of PowersMediumArrayBit ManipulationPrefix Sum
Solve → 1092Set Intersection Size At Least TwoHardArrayGreedySorting
Solve → 1093Shortest Word DistanceEasyArrayString
Solve → 1094Range Sum Query 2D - ImmutableMediumArrayDesignMatrix
Solve → 1095Wiggle Sort IIMediumArrayDivide and ConquerGreedy
Solve → 1096Intersection of Two Arrays IIEasyArrayHash TableTwo Pointers
Solve → 1097Combination Sum IVMediumArrayDynamic Programming
Solve → 1098Super Washing MachinesHardArrayGreedy
Solve → 1099K-diff Pairs in an ArrayMediumArrayHash TableTwo Pointers
Solve → 1100Shortest Unsorted Continuous SubarrayMediumArrayTwo PointersStack
Solve → 1101Best Time to Buy and Sell Stock with Transaction FeeMediumArrayDynamic ProgrammingGreedy
Solve → 1102Maximum Length of Repeated SubarrayMediumArrayBinary SearchDynamic Programming
Solve → 1103Construct Quad TreeMediumArrayDivide and ConquerTree
Solve → 1104Number of Matching SubsequencesMediumArrayHash TableString
Solve → 1105Most Common WordEasyArrayHash TableString
Solve → 1106Hand of StraightsMediumArrayHash TableGreedy
Solve → 1107Find Common CharactersEasyArrayHash TableString
Solve → 1108Uncrossed LinesMediumArrayDynamic Programming
Solve → 1109Filling Bookcase ShelvesMediumArrayDynamic Programming
Solve → 1110Relative Sort ArrayEasyArrayHash TableSorting
Solve → 1111Stone Game IIMediumArrayMathDynamic Programming
Solve → 1112Count Number of Nice SubarraysMediumArrayHash TableMath
Solve → 1113Fair Distribution of CookiesMediumArrayDynamic ProgrammingBacktracking
Solve → 1114Count Negative Numbers in a Sorted MatrixEasyArrayBinary SearchMatrix
Solve → 1115Minimum Number of Increments on Subarrays to Form a Target ArrayHardArrayDynamic ProgrammingStack
Solve → 1116Number of Good PairsEasyArrayHash TableMath
Solve → 1117Maximum Length of Subarray With Positive ProductMediumArrayDynamic ProgrammingGreedy
Solve → 1118Sort Array by Increasing FrequencyEasyArrayHash TableSorting
Solve → 1119Find the Winner of the Circular GameMediumArrayMathRecursion
Solve → 1120Maximum Population YearEasyArrayCountingPrefix Sum
Solve → 1121GCD Sort of an ArrayHardArrayMathUnion-Find
Solve → 1122Detonate the Maximum BombsMediumArrayMathDepth-First Search
Solve → 1123Minimum Rounds to Complete All TasksMediumArrayHash TableGreedy
Solve → 1124Extra Characters in a StringMediumArrayHash TableString
Solve → 1125Divide Array Into Arrays With Max DifferenceMediumArrayGreedySorting
Solve → 1126Design a Stack With Increment OperationMediumArrayStackDesign
Solve → 1127Count Complete Subarrays in an ArrayMediumArrayHash TableSliding Window
Solve → 1128Find the Length of the Longest Common PrefixMediumArrayHash TableString
Solve → 1129Divide Players Into Teams of Equal SkillMediumArrayHash TableTwo Pointers
Solve → 1130Minimum Cost to Hire K WorkersHardArrayGreedySorting
Solve → 1131Minimum Operations to Make Binary Array Elements Equal to One IMediumArrayBit ManipulationQueue
Solve → 1132Find the Maximum Length of Valid Subsequence IIMediumArrayDynamic Programming
Solve → 1133Rank Transform of an ArrayEasyArrayHash TableSorting
Solve → 1134Task Scheduler IIMediumArrayHash TableSimulation
Solve → 1135Sort the Jumbled NumbersMediumArraySorting
Solve → 1136MinesweeperMediumArrayDepth-First SearchBreadth-First Search
Solve → 1137Number of Distinct Islands IIHardArrayHash TableDepth-First Search
Solve → 1138Count the Hidden SequencesMediumArrayPrefix Sum
Solve → 1139Minimum Sum of Squared DifferenceMediumArrayBinary SearchGreedy
Solve → 1140Rotate FunctionMediumArrayMathDynamic Programming
Solve → 1141Count Number of TeamsMediumArrayDynamic ProgrammingBinary Indexed Tree
Solve → 1142Contains Duplicate IIIHardArraySliding WindowSorting
Solve → 1143Valid Tic-Tac-Toe StateMediumArrayMatrix
Solve → 1144Solving Questions With BrainpowerMediumArrayDynamic Programming
Solve → 1145Map of Highest PeakMediumArrayBreadth-First SearchMatrix
Solve → 1146Most Beautiful Item for Each QueryMediumArrayBinary SearchSorting
Solve → 1147Adjacent Increasing Subarrays Detection IEasyArray
Solve → 1148Zero Array Transformation IIMediumArrayTwo PointersBinary Search
Solve → 1149Sum of Unique ElementsEasyArrayHash TableCounting
Solve → 1150Shifting Letters IIMediumArrayStringPrefix Sum
Solve → 1151Neighboring Bitwise XORMediumArrayBit Manipulation
Solve → 1152Count Hills and Valleys in an ArrayEasyArray
Solve → 1153Design Snake GameMediumArrayHash TableDesign
Solve → 1154Find Duplicate File in SystemMediumArrayHash TableString
Solve → 1155Maximum Total Damage With Spell CastingMediumArrayHash TableTwo Pointers
Solve → 1156Zero Array Transformation IMediumArrayPrefix Sum
Solve → 1157Last Day Where You Can Still CrossHardArrayBinary SearchDepth-First Search
Solve → 1158Sort Array By ParityEasyArrayTwo PointersSorting
Solve → 1159Maximum Balanced ShipmentsMediumArrayDynamic ProgrammingStack
Solve → 1160Minimum Time to Complete TripsMediumArrayBinary Search
Solve → 1161Find the Number of Ways to Place People IMediumArrayMathGeometry
Solve → 1162Taking Maximum Energy From the Mystic DungeonMediumArrayDynamic ProgrammingPrefix Sum
Solve → 1163Best Time to Buy and Sell Stock VMediumArrayDynamic Programming
Solve → 1164Best Time to Buy and Sell Stock with CooldownMediumArrayDynamic Programming
Solve → 1165Create Maximum NumberHardArrayTwo PointersStack
Solve → 1166Count of Range SumHardArrayBinary SearchDivide and Conquer
Solve → 1167Palindrome PairsHardArrayHash TableString
Solve → 1168Arithmetic SlicesMediumArrayDynamic ProgrammingSliding Window
Solve → 1169Arithmetic Slices II - SubsequenceHardArrayDynamic Programming
Solve → 1170Minimum Moves to Equal Array ElementsMediumArrayMath
Solve → 1171Relative RanksEasyArraySortingHeap (Priority Queue)
Solve → 1172Kill ProcessMediumArrayHash TableTree
Solve → 1173Profitable SchemesHardArrayDynamic Programming
Solve → 1174Fair Candy SwapEasyArrayHash TableBinary Search
Solve → 1175Monotonic ArrayEasyArray
Solve → 1176Smallest Range IIMediumArrayMathGreedy
Solve → 1177Validate Stack SequencesMediumArrayStackSimulation
Solve → 1178Verifying an Alien DictionaryEasyArrayHash TableString
Solve → 1179Largest Perimeter TriangleEasyArrayMathGreedy
Solve → 1180Find Resultant Array After Removing AnagramsEasyArrayHash TableString
Solve → 1181Group the People Given the Group Size They Belong ToMediumArrayHash TableGreedy
Solve → 1182The K Weakest Rows in a MatrixEasyArrayBinary SearchSorting
Solve → 1183Product of the Last K NumbersMediumArrayMathDesign
Solve → 1184Max Dot Product of Two SubsequencesHardArrayDynamic Programming
Solve → 1185Maximum Product of Two Elements in an ArrayEasyArraySortingHeap (Priority Queue)
Solve → 1186Least Number of Unique Integers after K RemovalsMediumArrayHash TableGreedy
Solve → 1187Matrix Diagonal SumEasyArrayMatrix
Solve → 1188Shortest Subarray to be Removed to Make Array SortedMediumArrayTwo PointersBinary Search
Solve → 1189Dot Product of Two Sparse VectorsMediumArrayHash TableTwo Pointers
Solve → 1190Minimum Number of Removals to Make Mountain ArrayHardArrayBinary SearchDynamic Programming
Solve → 1191Sum of Absolute Differences in a Sorted ArrayMediumArrayMathPrefix Sum
Solve → 1192Richest Customer WealthEasyArrayMatrix
Solve → 1193Process Tasks Using ServersMediumArrayHeap (Priority Queue)
Solve → 1194Count Number of Pairs With Absolute Difference KEasyArrayHash TableCounting
Solve → 1195Final Value of Variable After Performing OperationsEasyArrayStringSimulation
Solve → 1196Maximum Employees to Be Invited to a MeetingHardArrayDynamic ProgrammingDepth-First Search
Solve → 1197Minimum Average DifferenceMediumArrayPrefix Sum
Solve → 1198Escape the Spreading FireHardArrayBinary SearchBreadth-First Search
Solve → 1199Design a Food Rating SystemMediumArrayHash TableString
Solve → 1200Apply Operations to an ArrayEasyArrayTwo PointersSimulation
Solve → 1201Find the Prefix Common Array of Two ArraysMediumArrayHash TableBit Manipulation
Solve → 1202Count Pairs Whose Sum is Less than TargetEasyArrayTwo PointersBinary Search
Solve → 1203Minimum Number of Operations to Make Array EmptyMediumArrayHash TableGreedy
Solve → 1204Find Maximum Non-decreasing Array LengthHardArrayBinary SearchDynamic Programming
Solve → 12054Sum IIMediumArrayHash Table
Solve → 1206Minimum Cost to Convert String IMediumArrayStringGraph Theory
Solve → 1207K Divisible Elements SubarraysMediumArrayHash TableTrie
Solve → 1208Maximum Score Words Formed by LettersHardArrayHash TableString
Solve → 1209Design Memory AllocatorMediumArrayHash TableDesign
Solve → 1210Find Subsequence of Length K With the Largest SumEasyArrayHash TableSorting
Solve → 1211Employee Free TimeHardArraySweep LineSorting
Solve → 1212Check if the Rectangle Corner Is ReachableHardArrayMathDepth-First Search
Solve → 1213Maximum Alternating Subarray SumMediumArrayDynamic Programming
Solve → 1214Check for Contradictions in EquationsHardArrayStringDepth-First Search
Solve → 1215High FiveEasyArrayHash TableSorting
Solve → 1216Path With Maximum Minimum ValueMediumArrayBinary SearchDepth-First Search
Solve → 1217Find Missing ObservationsMediumArrayMathSimulation
Solve → 1218Distant BarcodesMediumArrayHash TableGreedy
Solve → 1219Find the Divisibility Array of a StringMediumArrayMathString
Solve → 1220Cut Off Trees for Golf EventHardArrayBreadth-First SearchHeap (Priority Queue)
Solve → 1221Number of Smooth Descent Periods of a StockMediumArrayMathTwo Pointers
Solve → 1222Maximum Bags With Full Capacity of RocksMediumArrayGreedySorting
Solve → 1223Partition Array Such That Maximum Difference Is KMediumArrayGreedySorting
Solve → 1224Find and Replace PatternMediumArrayHash TableString
Solve → 1225Maximum Matching of Players With TrainersMediumArrayTwo PointersGreedy
Solve → 1226Smallest Subarrays With Maximum Bitwise ORMediumArrayBinary SearchBit Manipulation
Solve → 1227Determine Whether Matrix Can Be Obtained By RotationEasyArrayMatrix
Solve → 1228Largest Combination With Bitwise AND Greater Than ZeroMediumArrayHash TableBit Manipulation
Solve → 1229Length of the Longest Subsequence That Sums to TargetMediumArrayDynamic Programming
Solve → 1230Best Sightseeing PairMediumArrayDynamic Programming
Solve → 1231Find Servers That Handled Most Number of RequestsHardArrayHeap (Priority Queue)Simulation
Solve → 1232Minimum Obstacle Removal to Reach CornerHardArrayBreadth-First SearchGraph Theory
Solve → 1233Minimum Operations to Make All Array Elements EqualMediumArrayBinary SearchSorting
Solve → 1234Minimum Subsequence in Non-Increasing OrderEasyArrayGreedySorting
Solve → 1235Number of Subarrays with Bounded MaximumMediumArrayTwo Pointers
Solve → 1236Maximum Number of Removable CharactersMediumArrayTwo PointersString
Solve → 1237Zigzag IteratorMediumArrayDesignQueue
Solve → 1238Rearrange Array to Maximize Prefix ScoreMediumArrayGreedySorting
Solve → 1239Minimum Score Triangulation of PolygonMediumArrayDynamic Programming
Solve → 1240Maximum Coins From K Consecutive BagsMediumArrayBinary SearchGreedy
Solve → 1241Minimum Cost to Make at Least One Valid Path in a GridHardArrayBreadth-First SearchGraph Theory
Solve → 1242Most Profitable Path in a TreeMediumArrayTreeDepth-First Search
Solve → 1243As Far from Land as PossibleMediumArrayDynamic ProgrammingBreadth-First Search
Solve → 1244Max Chunks To Make Sorted IIHardArrayStackGreedy
Solve → 1245Apply Operations to Make All Array Elements Equal to ZeroMediumArrayPrefix Sum
Solve → 1246Construct the Lexicographically Largest Valid SequenceMediumArrayBacktracking
Solve → 1247Jump Game IVHardArrayHash TableBreadth-First Search
Solve → 1248Design Excel Sum FormulaHardArrayHash TableString
Solve → 1249Maximum Sum of Two Non-Overlapping SubarraysMediumArrayDynamic ProgrammingSliding Window
Solve → 1250Separate Squares IMediumArrayBinary Search
Solve → 1251Add to Array-Form of IntegerEasyArrayMath
Solve → 1252Minimum Time to Repair CarsMediumArrayBinary Search
Solve → 1253Longest Continuous Increasing SubsequenceEasyArray
Solve → 1254Cherry PickupHardArrayDynamic ProgrammingMatrix
Solve → 1255Find Target Indices After Sorting ArrayEasyArrayBinary SearchSorting
Solve → 1256Range Sum Query 2D - MutableMediumArrayDesignBinary Indexed Tree
Solve → 1257Count Submatrices With All OnesMediumArrayDynamic ProgrammingStack
Solve → 1258Count Partitions With Max-Min Difference at Most KMediumArrayDynamic ProgrammingQueue
Solve → 1259Minimum Operations to Convert All Elements to ZeroMediumArrayHash TableStack
Solve → 1260Maximum Unique Subarray Sum After DeletionEasyArrayHash TableGreedy
Solve → 1261Maximum Frequency of an Element After Performing Operations IMediumArrayBinary SearchSliding Window
Solve → 1262Minimum Pair Removal to Sort Array IEasyArrayHash TableLinked List
Solve → 1263Maximum Total from Optimal Activation OrderMediumArrayTwo PointersGreedy
Solve → 1264Divide an Array Into Subarrays With Minimum Cost IEasyArraySortingEnumeration
Solve → 1265Fruits Into Baskets IIIMediumArrayBinary SearchSegment Tree
Solve → 1266Sort Matrix by DiagonalsMediumArraySortingMatrix
Solve → 1267Maximum Running Time of N ComputersHardArrayBinary SearchGreedy
Solve → 1268Maximum Number of Words Found in SentencesEasyArrayString
Solve → 1269Smallest Missing Non-negative Integer After OperationsMediumArrayHash TableMath
Solve → 1270Get Biggest Three Rhombus Sums in a GridMediumArrayMathSorting
Solve → 1271Find the Minimum Amount of Time to Brew PotionsMediumArraySimulationPrefix Sum
Solve → 1272Maximum Number of Distinct Elements After OperationsMediumArrayGreedySorting
Solve → 1273Find X-Sum of All K-Long Subarrays IEasyArrayHash TableSliding Window
Solve → 1274Best Time to Buy and Sell Stock using StrategyMediumArraySliding WindowPrefix Sum
Solve → 1275Maximum Size Subarray Sum Equals kMediumArrayHash TablePrefix Sum
Solve → 1276Find Right IntervalMediumArrayBinary SearchSorting
Solve → 1277Keyboard RowEasyArrayHash TableString
Solve → 1278Shopping OffersMediumArrayDynamic ProgrammingBacktracking
Solve → 1279Design HashSetEasyArrayHash TableLinked List
Solve → 1280Most Profit Assigning WorkMediumArrayTwo PointersBinary Search
Solve → 1281Flipping an ImageEasyArrayTwo PointersBit Manipulation
Solve → 1282Minimum Increment to Make Array UniqueMediumArrayGreedySorting
Solve → 1283Prison Cells After N DaysMediumArrayHash TableMath
Solve → 1284Missing Element in Sorted ArrayMediumArrayBinary Search
Solve → 1285Partition Array for Maximum SumMediumArrayDynamic Programming
Solve → 1286Meeting SchedulerMediumArrayTwo PointersSorting
Solve → 1287Duplicate ZerosEasyArrayTwo Pointers
Solve → 1288Element Appearing More Than 25% In Sorted ArrayEasyArray
Solve → 1289Three Consecutive OddsEasyArray
Solve → 1290Check If It Is a Straight LineEasyArrayMathGeometry
Solve → 1291XOR Queries of a SubarrayMediumArrayBit ManipulationPrefix Sum
Solve → 1292Minimum Number of Taps to Open to Water a GardenHardArrayDynamic ProgrammingGreedy
Solve → 1293String Matching in an ArrayEasyArrayStringString Matching
Solve → 1294Destination CityEasyArrayHash TableString
Solve → 1295Cherry Pickup IIHardArrayDynamic ProgrammingMatrix
Solve → 1296Can Make Arithmetic Progression From SequenceEasyArraySorting
Solve → 1297Count Good TripletsEasyArrayEnumeration
Solve → 1298Maximum Number of Achievable Transfer RequestsHardArrayBacktrackingBit Manipulation
Solve → 1299Widest Vertical Area Between Two Points Containing No PointsEasyArraySorting
Solve → 1300Check If Two String Arrays are EquivalentEasyArrayString
Solve → 1301Maximum Element After Decreasing and RearrangingMediumArrayGreedySorting
Solve → 1302Maximum Ice Cream BarsMediumArrayGreedySorting
Solve → 1303Remove One Element to Make the Array Strictly IncreasingEasyArray
Solve → 1304Number of Laser Beams in a BankMediumArrayMathString
Solve → 1305Find Closest Number to ZeroEasyArray
Solve → 1306Find Minimum Time to Finish All Jobs IIMediumArrayGreedySorting
Solve → 1307Largest Positive Integer That Exists With Its NegativeEasyArrayHash TableTwo Pointers
Solve → 1308Minimize Maximum of ArrayMediumArrayBinary SearchDynamic Programming
Solve → 1309Difference Between Ones and Zeros in Row and ColumnMediumArrayMatrixSimulation
Solve → 1310Count the Number of Good SubarraysMediumArrayHash TableSliding Window
Solve → 1311Number of Employees Who Met the TargetEasyArray
Solve → 1312Length of the Longest Valid SubstringHardArrayHash TableString
Solve → 1313Maximize the Profit as the SalesmanMediumArrayHash TableBinary Search
Solve → 1314Find Words Containing CharacterEasyArrayString
Solve → 1315Count Subarrays Where Max Element Appears at Least K TimesMediumArraySliding Window
Solve → 1316Longest Turbulent SubarrayMediumArrayDynamic ProgrammingSliding Window
Solve → 1317Walking Robot SimulationMediumArrayHash TableSimulation
Solve → 1318Kth Distinct String in an ArrayEasyArrayHash TableString
Solve → 1319Maximize Happiness of Selected ChildrenMediumArrayGreedySorting
Solve → 1320Minimum Number of Moves to Seat EveryoneEasyArrayGreedySorting
Solve → 1321Most Frequent IDsMediumArrayHash TableHeap (Priority Queue)
Solve → 1322Best Meeting PointHardArrayMathSorting
Solve → 1323Degree of an ArrayEasyArrayHash Table
Solve → 1324Minimum Number of Operations to Make Array XOR Equal to KMediumArrayBit Manipulation
Solve → 1325Find Score of an Array After Marking All ElementsMediumArrayHash TableSorting
Solve → 1326Minimum Number of Days to Disconnect IslandHardArrayDepth-First SearchBreadth-First Search
Solve → 1327Longest Common SubpathHardArrayBinary SearchRolling Hash
Solve → 1328Maximum Star Sum of a GraphMediumArrayGreedyGraph Theory
Solve → 1329Check if Move is LegalMediumArrayMatrixEnumeration
Solve → 1330Optimal DivisionMediumArrayMathDynamic Programming
Solve → 1331Time Taken to Cross the DoorHardArrayQueueSimulation
Solve → 1332Two Sum Less Than KEasyArrayTwo PointersBinary Search
Solve → 1333Sum of Beauty in the ArrayMediumArray
Solve → 1334Find the Index of the Large IntegerMediumArrayBinary SearchInteractive
Solve → 1335Adding Spaces to a StringMediumArrayTwo PointersString
Solve → 1336Replace Non-Coprime Numbers in ArrayHardArrayMathStack
Solve → 1337Decode XORed PermutationMediumArrayBit Manipulation
Solve → 1338Minimum Swaps To Make Sequences IncreasingHardArrayDynamic Programming
Solve → 1339Maximum Consecutive Floors Without Special FloorsMediumArraySorting
Solve → 1340Form Array by Concatenating Subarrays of Another ArrayMediumArrayTwo PointersGreedy
Solve → 1341Minimum Score After Removals on a TreeHardArrayBit ManipulationTree
Solve → 1342Get Watched Videos by Your FriendsMediumArrayHash TableBreadth-First Search
Solve → 1343Closest RoomHardArrayBinary SearchSorting
Solve → 1344Design SQLMediumArrayHash TableString
Solve → 1345Find Occurrences of an Element in an ArrayMediumArrayHash Table
Solve → 1346Longest Strictly Increasing or Strictly Decreasing SubarrayEasyArray
Solve → 1347Minimum Time to Visit a Cell In a GridHardArrayBreadth-First SearchGraph Theory
Solve → 1348Maximize Score of Numbers in RangesMediumArrayBinary SearchGreedy
Solve → 1349Minimize Max Distance to Gas StationHardArrayBinary Search
Solve → 1350Grid GameMediumArrayMatrixPrefix Sum
Solve → 1351Minimum Distance to the Target ElementEasyArray
Solve → 1352Maximal Score After Applying K OperationsMediumArrayGreedyHeap (Priority Queue)
Solve → 1353Bitwise ORs of SubarraysMediumArrayDynamic ProgrammingBit Manipulation
Solve → 1354The MazeMediumArrayDepth-First SearchBreadth-First Search
Solve → 1355DI String MatchEasyArrayTwo PointersString
Solve → 1356Flip Columns For Maximum Number of Equal RowsMediumArrayHash TableMatrix
Solve → 1357Minimum Operations to Make a SubsequenceHardArrayHash TableBinary Search
Solve → 1358Find Building Where Alice and Bob Can MeetHardArrayBinary SearchStack
Solve → 1359Alternating Groups IEasyArraySliding Window
Solve → 1360Parallel Courses IIIHardArrayDynamic ProgrammingGraph Theory
Solve → 1361Circular Array LoopMediumArrayHash TableTwo Pointers
Solve → 1362Maximum Number of Fish in a GridMediumArrayDepth-First SearchBreadth-First Search
Solve → 1363Maximum Ascending Subarray SumEasyArray
Solve → 1364Tuple with Same ProductMediumArrayHash TableCounting
Solve → 1365Employee ImportanceMediumArrayHash TableTree
Solve → 1366Paint House IVMediumArrayDynamic Programming
Solve → 1367Maximum Subarray Min-ProductMediumArrayStackMonotonic Stack
Solve → 1368Find the Middle Index in ArrayEasyArrayPrefix Sum
Solve → 1369Number of Pairs of Interchangeable RectanglesMediumArrayHash TableMath
Solve → 1370Find the Number of Distinct Colors Among the BallsMediumArrayHash TableSimulation
Solve → 1371Minimum Operations to Exceed Threshold Value IIMediumArrayHeap (Priority Queue)Simulation
Solve → 1372Teemo AttackingEasyArraySimulation
Solve → 1373Separate Squares IIHardArrayBinary SearchSegment Tree
Solve → 1374Sentence Similarity IIMediumArrayHash TableString
Solve → 1375Sliding PuzzleHardArrayDynamic ProgrammingBacktracking
Solve → 1376Get Maximum in Generated ArrayEasyArraySimulation
Solve → 1377Check if Grid can be Cut into SectionsMediumArraySorting
Solve → 1378Divide Array Into Equal PairsEasyArrayHash TableBit Manipulation
Solve → 1379Finding Pairs With a Certain SumMediumArrayHash TableDesign
Solve → 1380Count Subarrays With Score Less Than KHardArrayBinary SearchSliding Window
Solve → 1381Maximum GapMediumArraySortingBucket Sort
Solve → 1382Remove BoxesHardArrayDynamic ProgrammingMemoization
Solve → 1383Number of Pairs Satisfying InequalityHardArrayBinary SearchDivide and Conquer
Solve → 1384Number of Adjacent Elements With the Same ColorMediumArray
Solve → 1385Maximum Frequency of an Element After Performing Operations IIHardArrayBinary SearchSliding Window
Solve → 1386Max Pair Sum in an ArrayEasyArrayHash Table
Solve → 1387The Two Sneaky Numbers of DigitvilleEasyArrayHash TableMath
Solve → 1388Minimum Time to Make Rope ColorfulMediumArrayStringDynamic Programming
Solve → 1389Check if All the Integers in a Range Are CoveredEasyArrayHash TablePrefix Sum
Solve → 1390Paths in Matrix Whose Sum Is Divisible by KHardArrayDynamic ProgrammingMatrix
Solve → 1391Stream of CharactersHardArrayStringDesign
Solve → 1392Maximum Difference Between Adjacent Elements in a Circular ArrayEasyArray
Solve → 1393Finding the Users Active MinutesMediumArrayHash Table
Solve → 1394Reschedule Meetings for Maximum Free Time IIMediumArrayGreedyEnumeration
Solve → 1395Maximum XOR of Two Numbers in an ArrayMediumArrayHash TableBit Manipulation
Solve → 1396Minimum Pair Removal to Sort Array IIHardArrayHash TableLinked List
Solve → 1397Longest Non-decreasing Subarray From Two ArraysMediumArrayDynamic Programming
Solve → 1398Maximum Fruits Harvested After at Most K StepsHardArrayBinary SearchSliding Window
Solve → 1399Transformed ArrayEasyArraySimulation
Solve → 1400Partition Array Into Three Parts With Equal SumEasyArrayGreedy
Solve → 1401Longest Balanced Subarray IMediumArrayHash TableDivide and Conquer
Solve → 1402Sort Integers by The Number of 1 BitsEasyArrayBit ManipulationSorting
Solve → 1403Longest String ChainMediumArrayHash TableTwo Pointers
Solve → 1404Minimum Number of People to TeachMediumArrayHash TableGreedy
Solve → 1405Construct Product MatrixMediumArrayMatrixPrefix Sum
Solve → 1406Largest Triangle AreaEasyArrayMathGeometry
Solve → 1407Power Grid MaintenanceMediumArrayHash TableDepth-First Search
Solve → 1408Maximize the Minimum Powered CityHardArrayBinary SearchGreedy
Solve → 1409Minimum Number of Operations to Make All Array Elements Equal to 1MediumArrayMathNumber Theory
Solve → 1410Detect SquaresMediumArrayHash TableDesign
Solve → 1411Make Array Elements Equal to ZeroEasyArraySimulationPrefix Sum
Solve → 1412Minimum Operations to Make Array Sum Divisible by KEasyArrayMath
Solve → 1413Minimum Number of Groups to Create a Valid AssignmentMediumArrayHash TableGreedy
Solve → 1414Sell Diminishing-Valued Colored BallsMediumArrayMathBinary Search
Solve → 1415Ones and ZeroesMediumArrayStringDynamic Programming
Solve → 1416Minimum Cost of Buying Candies With DiscountEasyArrayGreedySorting
Solve → 1417Bag of TokensMediumArrayTwo PointersGreedy
Solve → 1418Minimum Swaps to Avoid Forbidden ValuesHardArrayHash TableGreedy
Solve → 1419Delete Columns to Make Sorted IIMediumArrayStringGreedy
Solve → 1420Find Minimum in Rotated Sorted Array IIHardArrayBinary Search
Solve → 1421Patching ArrayHardArrayGreedy
Solve → 1422Shuffle an ArrayMediumArrayMathDesign
Solve → 1423Beautiful ArrangementMediumArrayDynamic ProgrammingBacktracking
Solve → 1424Linked List ComponentsMediumArrayHash TableLinked List
Solve → 1425Advantage ShuffleMediumArrayTwo PointersGreedy
Solve → 1426Spiral Matrix IIIMediumArrayMatrixSimulation
Solve → 1427Construct Binary Tree from Preorder and Postorder TraversalMediumArrayHash TableDivide and Conquer
Solve → 1428Beautiful ArrayMediumArrayMathDivide and Conquer
Solve → 1429Number of EnclavesMediumArrayDepth-First SearchBreadth-First Search
Solve → 1430Longest Arithmetic SubsequenceMediumArrayHash TableBinary Search
Solve → 1431Find Words That Can Be Formed by CharactersEasyArrayHash TableString
Solve → 1432Height CheckerEasyArraySortingCounting Sort
Solve → 1433Number of Submatrices That Sum to TargetHardArrayHash TableMatrix
Solve → 1434Delete Nodes And Return ForestMediumArrayHash TableTree
Solve → 1435Number of Closed IslandsMediumArrayDepth-First SearchBreadth-First Search
Solve → 1436Create Target Array in the Given OrderEasyArraySimulation
Solve → 1437Maximum Number of Coins You Can GetMediumArrayMathGreedy
Solve → 1438Sum of All Odd Length SubarraysEasyArrayMathPrefix Sum
Solve → 1439Special Array With X Elements Greater Than or Equal XEasyArrayBinary SearchSorting
Solve → 1440Count Items Matching a RuleEasyArrayString
Solve → 1441Single-Threaded CPUMediumArraySortingHeap (Priority Queue)
Solve → 1442Minimize the Difference Between Target and Chosen ElementsMediumArrayDynamic ProgrammingMatrix
Solve → 1443Convert 1D Array Into 2D ArrayEasyArrayMatrixSimulation
Solve → 1444Time Needed to Buy TicketsEasyArrayQueueSimulation
Solve → 1445Longest Path With Different Adjacent CharactersHardArrayStringTree
Solve → 1446Equal Row and Column PairsMediumArrayHash TableMatrix
Solve → 1447Longest Square Streak in an ArrayMediumArrayHash TableBinary Search
Solve → 1448Maximum Subsequence ScoreMediumArrayGreedySorting
Solve → 1449Count the Number of K-Big IndicesHardArrayBinary SearchDivide and Conquer
Solve → 1450Find the Substring With Maximum CostMediumArrayHash TableString
Solve → 1451Sliding Subarray BeautyMediumArrayHash TableSliding Window
Solve → 1452Relocate MarblesMediumArrayHash TableSorting
Solve → 1453Length of Longest Subarray With at Most K FrequencyMediumArrayHash TableSliding Window
Solve → 1454Minimum Cost Walk in Weighted GraphHardArrayBit ManipulationUnion-Find
Solve → 1455The Number of Beautiful SubsetsMediumArrayHash TableMath
Solve → 1456Path with Maximum ProbabilityMediumArrayGraph TheoryHeap (Priority Queue)
Solve → 1457Count Subarrays With Fixed BoundsHardArrayQueueSliding Window
Solve → 1458Difference Between Element Sum and Digit Sum of an ArrayEasyArrayMath
Solve → 1459Sort the Matrix DiagonallyMediumArraySortingMatrix
Solve → 1460Sentence Similarity IIIMediumArrayTwo PointersString
Solve → 1461Average Waiting TimeMediumArraySimulation
Solve → 1462Divide Intervals Into Minimum Number of GroupsMediumArrayTwo PointersGreedy
Solve → 1463Find the Number of Good Pairs IIMediumArrayHash Table
Solve → 1464Super Ugly NumberMediumArrayMathDynamic Programming
Solve → 1465Minimum Cost to Equalize ArrayHardArrayGreedyEnumeration
Solve → 1466Special Array IEasyArray
Solve → 1467Valid Arrangement of PairsHardArrayDepth-First SearchGraph Theory
Solve → 1468Robot CollisionsHardArrayStackSorting
Solve → 1469Create Binary Tree From DescriptionsMediumArrayHash TableTree
Solve → 1470Number of Distinct AveragesEasyArrayHash TableTwo Pointers
Solve → 1471Merge Operations to Turn Array Into a PalindromeMediumArrayTwo PointersGreedy
Solve → 1472Jump Game VIIIMediumArrayDynamic ProgrammingStack
Solve → 1473Maximal Range That Each Element Is Maximum in ItMediumArrayStackMonotonic Stack
Solve → 1474Maximum of Minimum Values in All SubarraysMediumArrayStackMonotonic Stack
Solve → 1475Count Number of Special SubsequencesHardArrayDynamic Programming
Solve → 1476Index Pairs of a StringEasyArrayStringTrie
Solve → 1477Sum of Digits in the Minimum NumberEasyArrayMath
Solve → 1478Find Xor-Beauty of ArrayMediumArrayMathBit Manipulation
Solve → 1479Subarrays Distinct Element Sum of Squares IIHardArrayHash TableBinary Indexed Tree
Solve → 1480Largest Unique NumberEasyArrayHash TableSorting
Solve → 1481Maximum Linear Stock ScoreMediumArrayHash Table
Solve → 1482Find the K-or of an ArrayEasyArrayBit Manipulation
Solve → 1483Maximum Balanced Subsequence SumHardArrayBinary SearchDynamic Programming
Solve → 1484Minimum Numbers of Function Calls to Make Target ArrayMediumArrayGreedyBit Manipulation
Solve → 1485Find Good Days to Rob the BankMediumArrayDynamic ProgrammingPrefix Sum
Solve → 1486Count the Number of K-Free SubsetsMediumArrayMathDynamic Programming
Solve → 1487Minimum Operations to Make the Array K-IncreasingHardArrayBinary Search
Solve → 1488Remove Covered IntervalsMediumArraySorting
Solve → 1489Minimum Operations to Remove Adjacent Ones in MatrixHardArrayDepth-First SearchGraph Theory
Solve → 1490Find the Maximum Number of Elements in SubsetMediumArrayHash TableEnumeration
Solve → 1491Design Front Middle Back QueueMediumArrayLinked ListDesign
Solve → 1492Largest Multiple of ThreeHardArrayMathDynamic Programming
Solve → 1493Diet Plan PerformanceEasyArraySliding Window
Solve → 1494Append K Integers With Minimal SumMediumArrayMathGreedy
Solve → 1495Global and Local InversionsMediumArrayMath
Solve → 1496Count Ways to Make Array With ProductHardArrayMathDynamic Programming
Solve → 1497Find the Number of Subarrays Where Boundary Elements Are MaximumHardArrayBinary SearchStack
Solve → 1498Maximum Sum Score of ArrayMediumArrayPrefix Sum
Solve → 1499Replace Elements in an ArrayMediumArrayHash TableSimulation
Solve → 1500Find Nearest Point That Has the Same X or Y CoordinateEasyArray
Solve → 1501Count Pairs Of NodesHardArrayHash TableTwo Pointers
Solve → 1502Shift 2D GridEasyArrayMatrixSimulation
Solve → 1503Sort Features by PopularityMediumArrayHash TableString
Solve → 1504Maximum Sum of Almost Unique SubarrayMediumArrayHash TableSliding Window
Solve → 1505Minimum Average of Smallest and Largest ElementsEasyArrayTwo PointersSorting
Solve → 1506Maximize the Beauty of the GardenHardArrayHash TableGreedy
Solve → 1507Numbers At Most N Given Digit SetHardArrayMathString
Solve → 1508Count Triplets with Even XOR Set Bits IEasyArrayBit Manipulation
Solve → 1509Minimum Money Required Before TransactionsHardArrayGreedySorting
Solve → 1510Count Triplets with Even XOR Set Bits IIMediumArrayBit Manipulation
Solve → 1511Distinct Numbers in Each SubarrayMediumArrayHash TableSliding Window
Solve → 1512Minimum Space Wasted From PackagingHardArrayBinary SearchSorting
Solve → 1513Minimum Right Shifts to Sort the ArrayEasyArray
Solve → 1514Queries on a Permutation With KeyMediumArrayBinary Indexed TreeSimulation
Solve → 1515Make Two Arrays Equal by Reversing SubarraysEasyArrayHash TableSorting
Solve → 1516Range Sum of Sorted Subarray SumsMediumArrayTwo PointersBinary Search
Solve → 1517Minimum Interval to Include Each QueryHardArrayBinary SearchSweep Line
Solve → 1518Maximum Number of Points with CostMediumArrayDynamic ProgrammingMatrix
Solve → 1519Final Array State After K Multiplication Operations IEasyArrayMathHeap (Priority Queue)
Solve → 1520Count the Number of InversionsHardArrayDynamic Programming
Solve → 1521Maximum Distance in ArraysMediumArrayGreedy
Solve → 1522Range AdditionMediumArrayPrefix Sum
Solve → 1523Subarray With Elements Greater Than Varying ThresholdHardArrayStackUnion-Find
Solve → 1524Minimum Index Sum of Two ListsEasyArrayHash TableString
Solve → 1525Count Nodes With the Highest ScoreMediumArrayTreeDepth-First Search
Solve → 1526Two Sum III - Data structure designEasyArrayHash TableTwo Pointers
Solve → 1527My Calendar IIMediumArrayBinary SearchDesign
Solve → 1528Design Circular DequeMediumArrayLinked ListDesign
Solve → 1529Random Pick with BlacklistHardArrayHash TableMath
Solve → 1530Minimum Division Operations to Make Array Non DecreasingMediumArrayMathGreedy
Solve → 1531Sort the PeopleEasyArrayHash TableString
Solve → 1532Find if Array Can Be SortedMediumArrayBit ManipulationSorting
Solve → 1533Simple Bank SystemMediumArrayHash TableDesign
Solve → 1534Prime Subtraction OperationMediumArrayMathBinary Search
Solve → 1535Button with Longest Push TimeEasyArray
Solve → 1536Largest Element in an Array after Merge OperationsMediumArrayGreedy
Solve → 1537Minimum Operations to Make the Array IncreasingEasyArrayGreedy
Solve → 1538Maximum Side Length of a Square with Sum Less than or Equal to ThresholdMediumArrayBinary SearchMatrix
Solve → 1539Minimum Operations to Make Array Equal to TargetHardArrayDynamic ProgrammingStack
Solve → 1540Maximum Strength of K Disjoint SubarraysHardArrayDynamic ProgrammingPrefix Sum
Solve → 1541Count Days Without MeetingsMediumArraySorting
Solve → 1542Maximum Sum With Exactly K ElementsEasyArrayGreedy
Solve → 1543Minimum Number of Operations to Make Arrays SimilarHardArrayGreedySorting
Solve → 1544Describe the PaintingMediumArrayHash TableSorting
Solve → 1545Maximize the Minimum Game ScoreHardArrayBinary SearchGreedy
Solve → 1546Maximum Possible Number by Binary ConcatenationMediumArrayBit ManipulationEnumeration
Solve → 1547Maximum XOR After OperationsMediumArrayMathBit Manipulation
Solve → 1548Maximum Good Subarray SumMediumArrayHash TablePrefix Sum
Solve → 1549Escape a Large MazeHardArrayHash TableDepth-First Search
Solve → 1550Check if Matrix Is X-MatrixEasyArrayMatrix
Solve → 1551Collecting ChocolatesMediumArrayEnumeration
Solve → 1552Maximum Value of an Ordered Triplet IIMediumArray
Solve → 1553Merge Two 2D Arrays by Summing ValuesEasyArrayHash TableTwo Pointers
Solve → 1554Detect Cycles in 2D GridMediumArrayDepth-First SearchBreadth-First Search
Solve → 1555Find Common Elements Between Two ArraysEasyArrayHash Table
Solve → 1556Find the Kth Smallest Sum of a Matrix With Sorted RowsHardArrayBinary SearchHeap (Priority Queue)
Solve → 1557Minimum Absolute DifferenceEasyArraySorting
Solve → 1558Minimum Index of a Valid SplitMediumArrayHash TableSorting
Solve → 1559Maximum Score of Non-overlapping IntervalsHardArrayBinary SearchDynamic Programming
Solve → 1560Maximize Greatness of an ArrayMediumArrayTwo PointersGreedy
Solve → 1561Number of Subarrays That Match a Pattern IMediumArrayRolling HashString Matching
Solve → 1562Two-Letter Card GameMediumArrayHash TableString
Solve → 1563Minimum Cost to Make Arrays IdenticalMediumArrayGreedySorting
Solve → 1564Minimum Moves to Equal Array Elements IIMediumArrayMathSorting
Solve → 1565Take Gifts From the Richest PileEasyArrayHeap (Priority Queue)Simulation
Solve → 1566Maximum Profit From Trading StocksMediumArrayDynamic Programming
Solve → 1567Count Unguarded Cells in the GridMediumArrayMatrixSimulation
Solve → 1568Find Minimum Time to Reach Last Room IIMediumArrayGraph TheoryHeap (Priority Queue)
Solve → 1569Shortest Distance to a CharacterEasyArrayTwo PointersString
Solve → 1570Minimum Amount of Damage Dealt to BobHardArrayGreedySorting
Solve → 1571Minimum Unique Word AbbreviationHardArrayStringBacktracking
Solve → 1572Surface Area of 3D ShapesEasyArrayMathGeometry
Solve → 1573Count Beautiful Splits in an ArrayMediumArrayDynamic Programming
Solve → 1574Pizza With 3n SlicesHardArrayDynamic ProgrammingGreedy
Solve → 1575Maximum Value of an Ordered Triplet IEasyArray
Solve → 1576Maximum Height by Stacking CuboidsHardArrayDynamic ProgrammingSorting
Solve → 1577Matchsticks to SquareMediumArrayDynamic ProgrammingBacktracking
Solve → 1578Truncate SentenceEasyArrayString
Solve → 1579Zero Array Transformation IIIMediumArrayTwo PointersGreedy
Solve → 1580Count the Number of Computer Unlocking PermutationsMediumArrayMathBrainteaser
Solve → 1581Find Smallest Common Element in All RowsMediumArrayHash TableBinary Search
Solve → 1582Range Addition IIEasyArrayMath
Solve → 1583Minimum Cost to Move Chips to The Same PositionEasyArrayMathGreedy
Solve → 1584Longest Common Prefix Between Adjacent Strings After RemovalsMediumArrayString
Solve → 1585Number of Islands IIHardArrayHash TableUnion-Find
Solve → 1586Kth Smallest InstructionsHardArrayMathDynamic Programming
Solve → 1587Minimize Malware SpreadHardArrayHash TableDepth-First Search
Solve → 1588Find the Array Concatenation ValueEasyArrayTwo PointersSimulation
Solve → 1589Largest Sum of AveragesMediumArrayDynamic ProgrammingPrefix Sum
Solve → 1590Maximum Beauty of an Array After Applying OperationMediumArrayBinary SearchSliding Window
Solve → 1591Delete Greatest Value in Each RowEasyArraySortingHeap (Priority Queue)
Solve → 1592Find Lucky Integer in an ArrayEasyArrayHash TableCounting
Solve → 1593Delete Duplicate Folders in SystemHardArrayHash TableString
Solve → 1594Rearranging FruitsHardArrayHash TableGreedy
Solve → 1595Diagonal Traverse IIMediumArraySortingHeap (Priority Queue)
Solve → 1596Split Array With Same AverageHardArrayHash TableMath
Solve → 1597Stable Subarrays With Equal Boundary and Interior SumMediumArrayHash TablePrefix Sum
Solve → 1598Minimize Maximum Pair Sum in ArrayMediumArrayTwo PointersGreedy
Solve → 1599Minimize the Maximum Adjacent Element DifferenceHardArrayBinary SearchGreedy
Solve → 1600Maximum Number of Visible PointsHardArrayMathGeometry
Solve → 1601Rank Teams by VotesMediumArrayHash TableString
Solve → 1602Minimum Removals to Balance ArrayMediumArrayBinary SearchSliding Window
Solve → 1603Sort the Students by Their Kth ScoreMediumArraySortingMatrix
Solve → 1604Remove Stones to Minimize the TotalMediumArrayGreedyHeap (Priority Queue)
Solve → 1605Rotating the BoxMediumArrayTwo PointersMatrix
Solve → 1606Buy Two ChocolatesEasyArrayGreedySorting
Solve → 1607Minimum Time Visiting All PointsEasyArrayMathGeometry
Solve → 1608Number of Ways to Form a Target String Given a DictionaryHardArrayStringDynamic Programming
Solve → 1609Falling SquaresHardArraySegment TreeOrdered Set
Solve → 1610Brick WallMediumArrayHash Table
Solve → 1611Tallest BillboardHardArrayDynamic Programming
Solve → 1612Minimum Number of Work Sessions to Finish the TasksMediumArrayDynamic ProgrammingBacktracking
Solve → 1613Number of Longest Increasing SubsequenceMediumArrayDynamic ProgrammingBinary Indexed Tree
Solve → 1614Queue Reconstruction by HeightMediumArrayBinary Indexed TreeSegment Tree
Solve → 1615Unique Email AddressesEasyArrayHash TableString
Solve → 1616The Maze IIMediumArrayDepth-First SearchBreadth-First Search
Solve → 1617Maximum Size of a Set After RemovalsMediumArrayHash TableGreedy
Solve → 1618Minimum Operations to Write the Letter Y on a GridMediumArrayHash TableMatrix
Solve → 1619Erect the FenceHardArrayMathGeometry
Solve → 1620Friends Of Appropriate AgesMediumArrayTwo PointersBinary Search
Solve → 1621XOR After Range Multiplication Queries IMediumArrayDivide and ConquerSimulation
Solve → 1622Sequence ReconstructionMediumArrayGraph TheoryTopological Sort
Solve → 1623Longest Subsequence With Limited SumEasyArrayBinary SearchGreedy
Solve → 1624Longest Mountain in ArrayMediumArrayTwo PointersDynamic Programming
Solve → 1625Sum of Perfect Square AncestorsHardArrayHash TableMath
Solve → 1626Two Furthest Houses With Different ColorsEasyArrayGreedy
Solve → 1627Non-decreasing SubsequencesMediumArrayHash TableBacktracking
Solve → 1628Encrypt and Decrypt StringsHardArrayHash TableString
Solve → 1629Minimum Cost Path with TeleportationsHardArrayDynamic ProgrammingMatrix
Solve → 1630Maximum and Minimum Sums of at Most Size K SubsequencesMediumArrayMathDynamic Programming
Solve → 1631Maximize Area of Square Hole in GridMediumArraySorting
Solve → 1632Trionic Array IIHardArrayDynamic Programming
Solve → 1633Longest Word in DictionaryMediumArrayHash TableString
Solve → 1634Number of Good PathsHardArrayHash TableTree
Solve → 1635Jump Game IIIMediumArrayDepth-First SearchBreadth-First Search
Solve → 1636Wiggle SortMediumArrayGreedySorting
Solve → 1637Minimum Moves to Make Array ComplementaryMediumArrayHash TablePrefix Sum
Solve → 1638Find Minimum Operations to Make All Elements Divisible by ThreeEasyArrayMath
Solve → 1639Minimum Seconds to Equalize a Circular ArrayMediumArrayHash Table
Solve → 1640Paint HouseMediumArrayDynamic Programming
Solve → 1641Car Fleet IIHardArrayMathStack
Solve → 1642Minimum Swaps to Arrange a Binary GridMediumArrayGreedyMatrix
Solve → 1643Minimum Absolute Distance Between Mirror PairsMediumArrayHash TableMath
Solve → 1644Count Partitions with Even Sum DifferenceEasyArrayMathPrefix Sum
Solve → 1645N-Repeated Element in Size 2N ArrayEasyArrayHash Table
Solve → 1646Sign of the Product of an ArrayEasyArrayMath
Solve → 1647Shortest Distance After Road Addition Queries IMediumArrayBreadth-First SearchGraph Theory
Solve → 1648Maximize Cyclic Partition ScoreHardArrayDynamic Programming
Solve → 1649Maximum Total Subarray Value IMediumArrayGreedy
Solve → 1650Path with Maximum GoldMediumArrayBacktrackingMatrix
Solve → 1651Binary Prefix Divisible By 5EasyArrayBit Manipulation
Solve → 1652Operations on TreeMediumArrayHash TableTree
Solve → 1653Implement RouterMediumArrayHash TableBinary Search
Solve → 1654Largest Magic SquareMediumArrayMatrixPrefix Sum
Solve → 1655Construct the Minimum Bitwise Array IIMediumArrayBit Manipulation
Solve → 1656Construct the Minimum Bitwise Array IEasyArrayBit Manipulation
Solve → 1657Maximum Building HeightHardArrayMathSorting
Solve → 1658Maximum Non Negative Product in a MatrixMediumArrayDynamic ProgrammingMatrix
Solve → 1659Count Good MealsMediumArrayHash Table
Solve → 1660Non-decreasing ArrayMediumArray
Solve → 1661Design Movie Rental SystemHardArrayHash TableDesign
Solve → 1662Special Array IIMediumArrayBinary SearchPrefix Sum
Solve → 1663Two SumEasyArrayHash Table
Solve → 1664Trapping Rain WaterHardArrayTwo PointersDynamic Programming
Solve → 1665Number of IslandsMediumArrayDepth-First SearchBreadth-First Search
Solve → 1666Best Time to Buy and Sell StockEasyArrayDynamic Programming
Solve → 1667Group AnagramsMediumArrayHash TableString
Solve → 16683SumMediumArrayTwo PointersSorting
Solve → 1669Merge IntervalsMediumArraySorting
Solve → 1670Container With Most WaterMediumArrayTwo PointersGreedy
Solve → 1671Median of Two Sorted ArraysHardArrayBinary SearchDivide and Conquer
Solve → 1672Koko Eating BananasMediumArrayBinary Search
Solve → 1673Longest Common PrefixEasyArrayStringTrie
Solve → 1674Rotting OrangesMediumArrayBreadth-First SearchMatrix
Solve → 1675Subarray Sum Equals KMediumArrayHash TablePrefix Sum
Solve → 1676Merge Sorted ArrayEasyArrayTwo PointersSorting
Solve → 1677Search in Rotated Sorted ArrayMediumArrayBinary Search
Solve → 1678Top K Frequent ElementsMediumArrayHash TableDivide and Conquer
Solve → 1679Maximum SubarrayMediumArrayDivide and ConquerDynamic Programming
Solve → 1680Longest Consecutive SequenceMediumArrayHash TableUnion-Find
Solve → 1681Majority ElementEasyArrayHash TableDivide and Conquer
Solve → 1682Product of Array Except SelfMediumArrayPrefix Sum
Solve → 1683Jump GameMediumArrayDynamic ProgrammingGreedy
Solve → 1684House RobberMediumArrayDynamic Programming
Solve → 1685Word SearchMediumArrayStringBacktracking
Solve → 1686Spiral MatrixMediumArrayMatrixSimulation
Solve → 1687Sliding Window MaximumHardArrayQueueSliding Window
Solve → 1688Next PermutationMediumArrayTwo Pointers
Solve → 1689Rotate ImageMediumArrayMathMatrix
Solve → 1690Analyze User Website Visit PatternMediumArrayHash TableString
Solve → 1691Kth Largest Element in an ArrayMediumArrayDivide and ConquerSorting
Solve → 1692Coin ChangeMediumArrayDynamic ProgrammingBreadth-First Search
Solve → 1693Task SchedulerMediumArrayHash TableGreedy
Solve → 1694Remove Duplicates from Sorted ArrayEasyArrayTwo Pointers
Solve → 1695Meeting Rooms IIMediumArrayTwo PointersGreedy
Solve → 1696SubsetsMediumArrayBacktrackingBit Manipulation
Solve → 1697Insert Delete GetRandom O(1)MediumArrayHash TableMath
Solve → 1698Find Peak ElementMediumArrayBinary Search
Solve → 1699Pascal's TriangleEasyArrayDynamic Programming
Solve → 1700Word BreakMediumArrayHash TableString
Solve → 1701First Missing PositiveHardArrayHash Table
Solve → 1702Jump Game IIMediumArrayDynamic ProgrammingGreedy
Solve → 1703Move ZeroesEasyArrayTwo Pointers
Solve → 1704Asteroid CollisionMediumArrayStackSimulation
Solve → 1705Sort ColorsMediumArrayTwo PointersSorting
Solve → 1706Largest Rectangle in HistogramHardArrayStackMonotonic Stack
Solve → 1707Rotate ArrayMediumArrayMathTwo Pointers
Solve → 1708Find First and Last Position of Element in Sorted ArrayMediumArrayBinary Search
Solve → 1709N-QueensHardArrayBacktracking
Solve → 1710Best Time to Buy and Sell Stock IIMediumArrayDynamic ProgrammingGreedy
Solve → 1711Fruit Into BasketsMediumArrayHash TableSliding Window
Solve → 1712Valid SudokuMediumArrayHash TableMatrix
Solve → 17134SumMediumArrayTwo PointersSorting
Solve → 1714Identify the Largest Outlier in an ArrayMediumArrayHash TableCounting
Solve → 1715Single NumberEasyArrayBit Manipulation
Solve → 1716Max Consecutive Ones IIIMediumArrayBinary SearchSliding Window
Solve → 1717Capacity To Ship Packages Within D DaysMediumArrayBinary Search
Solve → 1718Search a 2D MatrixMediumArrayBinary SearchMatrix
Solve → 1719Daily TemperaturesMediumArrayStackMonotonic Stack
Solve → 1720Single Element in a Sorted ArrayMediumArrayBinary Search
Solve → 1721Search Insert PositionEasyArrayBinary Search
Solve → 1722Set Matrix ZeroesMediumArrayHash TableMatrix
Solve → 1723Remove ElementEasyArrayTwo Pointers
Solve → 1724Contains DuplicateEasyArrayHash TableSorting
Solve → 1725Find the Duplicate NumberMediumArrayTwo PointersBinary Search
Solve → 1726Next Greater Element IIMediumArrayStackMonotonic Stack
Solve → 1727Missing NumberEasyArrayHash TableMath
Solve → 1729Word Search IIHardArrayStringBacktracking
Solve → 1730Combination SumMediumArrayBacktracking
Solve → 1731PermutationsMediumArrayBacktracking
Solve → 1732Gas StationMediumArrayGreedy
Solve → 1733Two Sum II - Input Array Is SortedMediumArrayTwo PointersBinary Search
Solve → 1734Concatenated WordsHardArrayStringDynamic Programming
Solve → 1735Maximum Product SubarrayMediumArrayDynamic Programming
Solve → 1736Flood FillEasyArrayDepth-First SearchBreadth-First Search
Solve → 1737Longest Increasing SubsequenceMediumArrayBinary SearchDynamic Programming
Solve → 1738Next Greater Element IEasyArrayHash TableStack
Solve → 1739Word Break IIHardArrayHash TableString
Solve → 1741Partition Equal Subset SumMediumArrayDynamic Programming
Solve → 1742Maximum Profit in Job SchedulingHardArrayBinary SearchDynamic Programming
Solve → 17433Sum ClosestMediumArrayTwo PointersSorting
Solve → 1744Search a 2D Matrix IIMediumArrayBinary SearchDivide and Conquer
Solve → 1745Intersection of Two ArraysEasyArrayHash TableTwo Pointers
Solve → 1746Split Array Largest SumHardArrayBinary SearchDynamic Programming
Solve → 1747Sum of Subarray MinimumsMediumArrayDynamic ProgrammingStack
Solve → 1748Evaluate DivisionMediumArrayStringDepth-First Search
Solve → 1749Largest NumberMediumArrayStringGreedy
Solve → 1750Contains Duplicate IIEasyArrayHash TableSliding Window
Solve → 1751Plates Between CandlesMediumArrayStringBinary Search
Solve → 1752Max Consecutive OnesEasyArray
Solve → 1753K Closest Points to OriginMediumArrayMathDivide and Conquer
Solve → 1754Sudoku SolverHardArrayHash TableBacktracking
Solve → 1755Check if Array Is Sorted and RotatedEasyArray
Solve → 1756Maximum Frequency After Subarray OperationMediumArrayHash TableDynamic Programming
Solve → 1757Minimum Size Subarray SumMediumArrayBinary SearchSliding Window
Solve → 1758Evaluate Reverse Polish NotationMediumArrayMathStack
Solve → 1759Peak Index in a Mountain ArrayMediumArrayBinary Search
Solve → 1760Search Suggestions SystemMediumArrayStringBinary Search
Solve → 1761Remove Duplicates from Sorted Array IIMediumArrayTwo Pointers
Solve → 1762Make Array Zero by Subtracting Equal AmountsEasyArrayHash TableGreedy
Solve → 1763Count PrimesMediumArrayMathEnumeration
Solve → 1764Subarrays with K Different IntegersHardArrayHash TableSliding Window
Solve → 1765Construct Binary Tree from Preorder and Inorder TraversalMediumArrayHash TableDivide and Conquer
Solve → 1766Find Minimum in Rotated Sorted ArrayMediumArrayBinary Search
Solve → 1767Concatenation of ArrayEasyArraySimulation
Solve → 1768Random Pick with WeightMediumArrayMathBinary Search
Solve → 1769Surrounded RegionsMediumArrayDepth-First SearchBreadth-First Search
Solve → 1770Find K Closest ElementsMediumArrayTwo PointersBinary Search
Solve → 1771Minimum Health to Beat GameMediumArrayGreedy
Solve → 1772Minimum Path SumMediumArrayDynamic ProgrammingMatrix
Solve → 1773Pacific Atlantic Water FlowMediumArrayDepth-First SearchBreadth-First Search
Solve → 1774Rearrange Array Elements by SignMediumArrayTwo PointersSimulation
Solve → 1775Subsets IIMediumArrayBacktrackingBit Manipulation
Solve → 1776Target SumMediumArrayDynamic ProgrammingBacktracking
Solve → 1777Top K Frequent WordsMediumArrayHash TableString
Solve → 1778Maximal RectangleHardArrayDynamic ProgrammingStack
Solve → 1779Reverse PairsHardArrayBinary SearchDivide and Conquer
Solve → 1780Min Cost Climbing StairsEasyArrayDynamic Programming
Solve → 1781Binary SearchEasyArrayBinary Search
Solve → 1782Squares of a Sorted ArrayEasyArrayTwo PointersSorting
Solve → 1783Majority Element IIMediumArrayHash TableSorting
Solve → 1784Boats to Save PeopleMediumArrayTwo PointersGreedy
Solve → 1785Minimum Number of Days to Make m BouquetsMediumArrayBinary Search
Solve → 1786Find Triangular Sum of an ArrayMediumArrayMathSimulation
Solve → 1787Non-overlapping IntervalsMediumArrayDynamic ProgrammingGreedy
Solve → 1788Contiguous ArrayMediumArrayHash TablePrefix Sum
Solve → 1789Set MismatchEasyArrayHash TableBit Manipulation
Solve → 1790Snakes and LaddersMediumArrayBreadth-First SearchMatrix
Solve → 1791Frequency of the Most Frequent ElementMediumArrayBinary SearchGreedy
Solve → 1792Trapping Rain Water IIHardArrayBreadth-First SearchHeap (Priority Queue)
Solve → 1793Smallest Range Covering Elements from K ListsHardArrayHash TableGreedy
Solve → 1794Open the LockMediumArrayHash TableString
Solve → 1795Sort an ArrayMediumArrayDivide and ConquerSorting
Solve → 1796Maximum Width RampMediumArrayTwo PointersStack
Solve → 1797Furthest Building You Can ReachMediumArrayGreedyHeap (Priority Queue)
Solve → 1798House Robber IIMediumArrayDynamic Programming
Solve → 1799Can Place FlowersEasyArrayGreedy
Solve → 1800Exclusive Time of FunctionsMediumArrayStack
Solve → 1801Accounts MergeMediumArrayHash TableString
Solve → 1802Design HashMapEasyArrayHash TableLinked List
Solve → 1803Making A Large IslandHardArrayDepth-First SearchBreadth-First Search
Solve → 1804Kth Missing Positive NumberEasyArrayBinary Search
Solve → 1805Maximum Units on a TruckEasyArrayGreedySorting
Solve → 1806Combination Sum IIMediumArrayBacktracking
Solve → 1807Unique Paths IIMediumArrayDynamic ProgrammingMatrix
Solve → 1808TriangleMediumArrayDynamic Programming
Solve → 1809Assign CookiesEasyArrayTwo PointersGreedy
Solve → 181001 MatrixMediumArrayDynamic ProgrammingBreadth-First Search
Solve → 1811Maximum Sum of Distinct Subarrays With Length KMediumArrayHash TableSliding Window
Solve → 1812Search in Rotated Sorted Array IIMediumArrayBinary Search
Solve → 1813Design Tic-Tac-ToeMediumArrayHash TableDesign
Solve → 1814Russian Doll EnvelopesHardArrayBinary SearchDynamic Programming
Solve → 1815Maximum Average Subarray IEasyArraySliding Window
Solve → 1816Max Area of IslandMediumArrayDepth-First SearchBreadth-First Search
Solve → 1817Kids With the Greatest Number of CandiesEasyArray
Solve → 1818Maximum Points You Can Obtain from CardsMediumArraySliding WindowPrefix Sum
Solve → 1819Running Sum of 1d ArrayEasyArrayPrefix Sum
Solve → 1820Sum of Subarray RangesMediumArrayStackMonotonic Stack
Solve → 1821Sum of Total Strength of WizardsHardArrayStackMonotonic Stack
Solve → 1822Convert Sorted Array to Binary Search TreeEasyArrayDivide and ConquerTree
Solve → 1823Find K Pairs with Smallest SumsMediumArrayHeap (Priority Queue)
Solve → 1824Number of Distinct IslandsMediumArrayHash TableDepth-First Search
Solve → 1825Shortest Path in Binary MatrixMediumArrayBreadth-First SearchMatrix
Solve → 1826Unique Number of OccurrencesEasyArrayHash Table
Solve → 1827Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMediumArrayQueueSliding Window
Solve → 1828Find Missing and Repeated ValuesEasyArrayHash TableMath
Solve → 1829Minimum Difference in Sums After Removal of ElementsHardArrayDynamic ProgrammingHeap (Priority Queue)
Solve → 1830Maximal SquareMediumArrayDynamic ProgrammingMatrix
Solve → 1831Alien DictionaryHardArrayStringDepth-First Search
Solve → 1832Increasing Triplet SubsequenceMediumArrayGreedy
Solve → 1833Diagonal TraverseMediumArrayMatrixSimulation
Solve → 1834Coin Change IIMediumArrayDynamic Programming
Solve → 1835Subarray Product Less Than KMediumArrayBinary SearchSliding Window
Solve → 1836First Unique NumberMediumArrayHash TableDesign
Solve → 1837Maximum K to Sort a PermutationMediumArrayBit Manipulation
Solve → 1838Lexicographically Smallest Negated Permutation that Sums to TargetMediumArrayMathTwo Pointers
Solve → 1839Insert IntervalMediumArray
Solve → 1840Single Number IIMediumArrayBit Manipulation
Solve → 1841Bus RoutesHardArrayHash TableBreadth-First Search
Solve → 1842Design Circular QueueMediumArrayLinked ListDesign
Solve → 1843Text JustificationHardArrayStringSimulation
Solve → 1844Find the Smallest Divisor Given a ThresholdMediumArrayBinary Search
Solve → 1845Minimum Number of Primes to Sum to TargetMediumArrayMathDynamic Programming
Solve → 1846Permutations IIMediumArrayBacktrackingSorting
Solve → 1847Range Sum Query - ImmutableEasyArrayDesignPrefix Sum
Solve → 1848Burst BalloonsHardArrayDynamic Programming
Solve → 1849Find All Numbers Disappeared in an ArrayEasyArrayHash Table
Solve → 1850Reorder Data in Log FilesMediumArrayStringSorting
Solve → 1851Maximum Number of Events That Can Be AttendedMediumArrayGreedySorting
Solve → 1852Partition Array According to Given PivotMediumArrayTwo PointersSimulation
Solve → 1853Reconstruct ItineraryHardArrayStringDepth-First Search
Solve → 1854Rotate FunctionMediumArrayMathDynamic Programming
Solve → 1855Binary Subarrays With SumMediumArrayHash TableSliding Window
Solve → 1856Minimum Falling Path SumMediumArrayDynamic ProgrammingMatrix
Solve → 1857Replace Elements with Greatest Element on Right SideEasyArray
Solve → 1858Make Sum Divisible by PMediumArrayHash TablePrefix Sum
Solve → 1859Put Marbles in BagsHardArrayGreedySorting
Solve → 1860Count Square Submatrices with All OnesMediumArrayDynamic ProgrammingMatrix
Solve → 1861Dungeon GameHardArrayDynamic ProgrammingMatrix
Solve → 1862H-IndexMediumArraySortingCounting Sort
Solve → 1863Frog JumpHardArrayDynamic Programming
Solve → 1864Third Maximum NumberEasyArraySorting
Solve → 1865Predict the WinnerMediumArrayMathDynamic Programming
Solve → 1866Find Pivot IndexEasyArrayPrefix Sum
Solve → 1867Construct Binary Search Tree from Preorder TraversalMediumArrayStackTree
Solve → 1868Maximum Average Pass RatioMediumArrayGreedyHeap (Priority Queue)
Solve → 1869Maximum Number of Groups With Increasing LengthHardArrayMathBinary Search
Solve → 1870Minimum Operations to Make Array Non DecreasingMediumArrayGreedy
Solve → 1871Kth Smallest Element in a Sorted MatrixMediumArrayBinary SearchSorting
Solve → 1872Image SmootherEasyArrayMatrix
Solve → 1873Baseball GameEasyArrayStackSimulation
Solve → 1874Minimum Number of Refueling StopsHardArrayDynamic ProgrammingGreedy
Solve → 1875Number of Equivalent Domino PairsEasyArrayHash TableCounting
Solve → 1876Count Negative Numbers in a Sorted MatrixEasyArrayBinary SearchMatrix
Solve → 1877Magnetic Force Between Two BallsMediumArrayBinary SearchSorting
Solve → 1878Sum of All Subset XOR TotalsEasyArrayMathBacktracking
Solve → 1879Count Number of Rectangles Containing Each PointMediumArrayHash TableBinary Search
Solve → 1880Best Poker HandEasyArrayHash TableCounting
Solve → 1881Max Sum of a Pair With Equal Sum of DigitsMediumArrayHash TableSorting
Solve → 1882Maximum Number of Books You Can TakeHardArrayDynamic ProgrammingStack
Solve → 1883Maximum Coins From K Consecutive BagsMediumArrayBinary SearchGreedy
Solve → 1884Count Bowl SubarraysMediumArrayStackMonotonic Stack
Solve → 1885Sell Diminishing-Valued Colored BallsMediumArrayMathBinary Search
Solve → 1886Longest Arithmetic Sequence After Changing At Most One ElementMediumArrayEnumeration
Solve → 1887Spiral Matrix IIMediumArrayMatrixSimulation
Solve → 1888Best Time to Buy and Sell Stock IIIHardArrayDynamic Programming
Solve → 1890Find All Duplicates in an ArrayMediumArrayHash TableSorting
Solve → 1891Maximum Length of Pair ChainMediumArrayDynamic ProgrammingGreedy
Solve → 1892Loud and RichMediumArrayDepth-First SearchGraph Theory
Solve → 1893Sort Array By Parity IIEasyArrayTwo PointersSorting
Solve → 1894Shortest Path in a Grid with Obstacles EliminationHardArrayBreadth-First SearchMatrix
Solve → 1895Minimum Cost to Cut a StickHardArrayDynamic ProgrammingSorting
Solve → 1896Design an Expression Tree With Evaluate FunctionMediumArrayMathStack
Solve → 1897Find Minimum Time to Finish All JobsHardArrayDynamic ProgrammingBacktracking
Solve → 1898The Number of the Smallest Unoccupied ChairMediumArrayHash TableHeap (Priority Queue)
Solve → 1899Minimum Swaps to Group All 1's Together IIMediumArraySliding Window
Solve → 1900Number of Ways to Split ArrayMediumArrayPrefix Sum
Solve → 1901Length of Longest V-Shaped Diagonal SegmentHardArrayDynamic ProgrammingMemoization
Solve → 1902Pascal's Triangle IIEasyArrayDynamic Programming
Solve → 1903Meeting RoomsEasyArraySorting
Solve → 1904132 PatternMediumArrayBinary SearchStack
Solve → 1905Lemonade ChangeEasyArrayGreedy
Solve → 1906Minimum Cost For TicketsMediumArrayDynamic Programming
Solve → 1907Interval List IntersectionsMediumArrayTwo PointersSweep Line
Solve → 1908Shuffle the ArrayEasyArray
Solve → 1909Shortest Subarray to be Removed to Make Array SortedMediumArrayTwo PointersBinary Search
Solve → 1910Find the Highest AltitudeEasyArrayPrefix Sum
Solve → 1911Determine Whether Matrix Can Be Obtained By RotationEasyArrayMatrix
Solve → 1912Count Number of Pairs With Absolute Difference KEasyArrayHash TableCounting
Solve → 1913GCD Sort of an ArrayHardArrayMathUnion-Find
Solve → 1914Partition Array Into Two Arrays to Minimize Sum DifferenceHardArrayTwo PointersBinary Search
Solve → 1915Minimum Rounds to Complete All TasksMediumArrayHash TableGreedy
Solve → 1916Partition Array Such That Maximum Difference Is KMediumArrayGreedySorting
Solve → 1917Maximum Number of Robots Within BudgetHardArrayBinary SearchQueue
Solve → 1918Find the K-Sum of an ArrayHardArraySortingHeap (Priority Queue)
Solve → 1919Minimum Adjacent Swaps to Make a Valid ArrayMediumArrayGreedy
Solve → 1920Meeting Rooms IIIHardArrayHash TableSorting
Solve → 1921Design Memory AllocatorMediumArrayHash TableDesign
Solve → 1922Maximum Sum With at Most K ElementsMediumArrayGreedySorting
Solve → 1923Minimum Operations to Make the Array AlternatingMediumArrayHash TableGreedy
Solve → 1924Count Subarrays With Median KHardArrayHash TablePrefix Sum
Solve → 1925Minimum Swaps to Avoid Forbidden ValuesHardArrayHash TableGreedy
Solve → 1926Divide an Array Into Subarrays With Minimum Cost IEasyArraySortingEnumeration
Solve → 1927Combination Sum IIIMediumArrayBacktracking
Solve → 1928Longest Increasing Path in a MatrixHardArrayDynamic ProgrammingDepth-First Search
Solve → 1929HeatersMediumArrayTwo PointersBinary Search
Solve → 1930Super Washing MachinesHardArrayGreedy
Solve → 1931Continuous Subarray SumMediumArrayHash TableMath
Solve → 1932MinesweeperMediumArrayDepth-First SearchBreadth-First Search
Solve → 1933K-diff Pairs in an ArrayMediumArrayHash TableTwo Pointers
Solve → 1934Array PartitionEasyArrayGreedySorting
Solve → 1935Number of Distinct Islands IIHardArrayHash TableDepth-First Search
Solve → 1936Most Common WordEasyArrayHash TableString
Solve → 1937Car FleetMediumArrayStackSorting
Solve → 1938Uncrossed LinesMediumArrayDynamic Programming
Solve → 1939Last Stone WeightEasyArrayHeap (Priority Queue)
Solve → 1940Maximum Score Words Formed by LettersHardArrayHash TableString
Solve → 1941Fair Distribution of CookiesMediumArrayDynamic ProgrammingBacktracking
Solve → 1942Count Number of TeamsMediumArrayDynamic ProgrammingBinary Indexed Tree
Solve → 1943Allocate MailboxesHardArrayMathDynamic Programming
Solve → 1944Min Cost to Connect All PointsMediumArrayUnion-FindGraph Theory
Solve → 1945Number of Students Unable to Eat LunchEasyArrayStackQueue
Solve → 1946Maximum Erasure ValueMediumArrayHash TableSliding Window
Solve → 1947Find All Possible Recipes from Given SuppliesMediumArrayHash TableString
Solve → 1948Number of Smooth Descent Periods of a StockMediumArrayMathTwo Pointers
Solve → 1949Count the Hidden SequencesMediumArrayPrefix Sum
Solve → 1950Minimum Sum of Squared DifferenceMediumArrayBinary SearchGreedy
Solve → 1951Maximize Happiness of Selected ChildrenMediumArrayGreedySorting
Solve → 1952Max Points on a LineHardArrayHash TableMath
Solve → 1953Design Hit CounterMediumArrayBinary SearchDesign
Solve → 1954Maximum Alternating Subarray SumMediumArrayDynamic Programming
Solve → 1955Cut Off Trees for Golf EventHardArrayBreadth-First SearchHeap (Priority Queue)
Solve → 1956Partition to K Equal Sum SubsetsMediumArrayDynamic ProgrammingBacktracking
Solve → 1957Find K-th Smallest Pair DistanceHardArrayTwo PointersBinary Search
Solve → 1958Shortest Subarray with Sum at Least KHardArrayBinary SearchQueue
Solve → 1959Find and Replace PatternMediumArrayHash TableString
Solve → 1960Maximum Sum Circular SubarrayMediumArrayDivide and ConquerDynamic Programming
Solve → 1961Subarray Sums Divisible by KMediumArrayHash TablePrefix Sum
Solve → 1962High FiveEasyArrayHash TableSorting
Solve → 1963Two Sum Less Than KEasyArrayTwo PointersBinary Search
Solve → 1964Path With Maximum Minimum ValueMediumArrayBinary SearchDepth-First Search
Solve → 1965Distant BarcodesMediumArrayHash TableGreedy
Solve → 1966Get Watched Videos by Your FriendsMediumArrayHash TableBreadth-First Search
Solve → 1967The K Weakest Rows in a MatrixEasyArrayBinary SearchSorting
Solve → 1968How Many Numbers Are Smaller Than the Current NumberEasyArrayHash TableSorting
Solve → 1969Check If Array Pairs Are Divisible by kMediumArrayHash TableCounting
Solve → 1970Can Make Arithmetic Progression From SequenceEasyArraySorting
Solve → 1971Max Number of K-Sum PairsMediumArrayHash TableTwo Pointers
Solve → 1972Maximum Element After Decreasing and RearrangingMediumArrayGreedySorting
Solve → 1973Check for Contradictions in EquationsHardArrayStringDepth-First Search
Solve → 1974Find Missing ObservationsMediumArrayMathSimulation
Solve → 1975Number of Laser Beams in a BankMediumArrayMathString
Solve → 1976K Divisible Elements SubarraysMediumArrayHash TableTrie
Solve → 1977Minimum Average DifferenceMediumArrayPrefix Sum
Solve → 1978Maximum Consecutive Floors Without Special FloorsMediumArraySorting
Solve → 1979Maximum Bags With Full Capacity of RocksMediumArrayGreedySorting
Solve → 1980Design a Food Rating SystemMediumArrayHash TableString
Solve → 1981Maximum Matching of Players With TrainersMediumArrayTwo PointersGreedy
Solve → 1982Smallest Subarrays With Maximum Bitwise ORMediumArrayBinary SearchBit Manipulation
Solve → 1983Find the Divisibility Array of a StringMediumArrayMathString
Solve → 1984Row With Maximum OnesEasyArrayMatrix
Solve → 1985Count Zero Request ServersMediumArrayHash TableSliding Window
Solve → 1986Maximize the Profit as the SalesmanMediumArrayHash TableBinary Search
Solve → 1987Minimum Number of Operations to Make Array EmptyMediumArrayHash TableGreedy
Solve → 1988Find Maximum Non-decreasing Array LengthHardArrayBinary SearchDynamic Programming
Solve → 1989Most Frequent IDsMediumArrayHash TableHeap (Priority Queue)
Solve → 1990Minimum Array SumMediumArrayDynamic Programming
Solve → 1991Minimum Number of Operations to Make Elements in Array DistinctEasyArrayHash Table
Solve → 1992Count Covered BuildingsMediumArrayHash TableSorting
Solve → 1993Maximum Total from Optimal Activation OrderMediumArrayTwo PointersGreedy
Solve → 1994Trionic Array IEasyArray
Solve → 1995Minimum Removals to Balance ArrayMediumArrayBinary SearchSliding Window
Solve → 1996Maximize Fixed Points After DeletionsHardArrayBinary SearchSorting
Solve → 1997Walls and GatesMediumArrayBreadth-First SearchMatrix
Solve → 1998Moving Average from Data StreamEasyArrayDesignQueue
Solve → 1999Insert Delete GetRandom O(1) - Duplicates allowedHardArrayHash TableMath
Solve → 2000Battleships in a BoardMediumArrayDepth-First SearchMatrix
Solve → 2001Optimal DivisionMediumArrayMathDynamic Programming
Solve → 2002My Calendar IMediumArrayBinary SearchDesign
Solve → 2003Delete and EarnMediumArrayHash TableDynamic Programming
Solve → 2004Swim in Rising WaterHardArrayBinary SearchDepth-First Search
Solve → 2005Minimum Swaps To Make Sequences IncreasingHardArrayDynamic Programming
Solve → 2006Prison Cells After N DaysMediumArrayHash TableMath
Solve → 2007Unique Paths IIIHardArrayBacktrackingBit Manipulation
Solve → 2008Missing Element in Sorted ArrayMediumArrayBinary Search
Solve → 2009Find Words That Can Be Formed by CharactersEasyArrayHash TableString
Solve → 2010String Matching in an ArrayEasyArrayStringString Matching
Solve → 2011Design Browser HistoryMediumArrayLinked ListStack
Solve → 2012Find the Index of the Large IntegerMediumArrayBinary SearchInteractive
Solve → 2013Maximum Number of Achievable Transfer RequestsHardArrayBacktrackingBit Manipulation
Solve → 2014Minimum Operations to Reduce X to ZeroMediumArrayHash TableBinary Search
Solve → 2015Decode XORed PermutationMediumArrayBit Manipulation
Solve → 2016Form Array by Concatenating Subarrays of Another ArrayMediumArrayTwo PointersGreedy
Solve → 2017Closest RoomHardArrayBinary SearchSorting
Solve → 2018Build Array from PermutationEasyArraySimulation
Solve → 2019Longest Common SubpathHardArrayBinary SearchRolling Hash
Solve → 2020Check if Move is LegalMediumArrayMatrixEnumeration
Solve → 2021Sum of Beauty in the ArrayMediumArray
Solve → 2022Kth Distinct String in an ArrayEasyArrayHash TableString
Solve → 2023Find Good Days to Rob the BankMediumArrayDynamic ProgrammingPrefix Sum
Solve → 2024Adding Spaces to a StringMediumArrayTwo PointersString
Solve → 2025Replace Non-Coprime Numbers in ArrayHardArrayMathStack
Solve → 2026Replace Elements in an ArrayMediumArrayHash TableSimulation
Solve → 2027Minimum Score After Removals on a TreeHardArrayBit ManipulationTree
Solve → 2028Find Minimum Time to Finish All Jobs IIMediumArrayGreedySorting
Solve → 2029Design SQLMediumArrayHash TableString
Solve → 2030Maximum Star Sum of a GraphMediumArrayGreedyGraph Theory
Solve → 2031Difference Between Ones and Zeros in Row and ColumnMediumArrayMatrixSimulation
Solve → 2032Time Taken to Cross the DoorHardArrayQueueSimulation
Solve → 2033Count the Number of Fair PairsMediumArrayTwo PointersBinary Search
Solve → 2034Length of the Longest Valid SubstringHardArrayHash TableString
Solve → 2035Find the K-or of an ArrayEasyArrayBit Manipulation
Solve → 2036Minimum Number of Coins to be AddedMediumArrayGreedySorting
Solve → 2037Maximize Y‑Sum by Picking a Triplet of Distinct X‑ValuesMediumArrayHash TableGreedy
Solve → 2038Maximum Bitwise AND After Increment OperationsHardArrayGreedyBit Manipulation
Solve → 2039Construct Binary Tree from Inorder and Postorder TraversalMediumArrayHash TableDivide and Conquer
Solve → 2040The Skyline ProblemHardArrayDivide and ConquerBinary Indexed Tree
Solve → 2041Game of LifeMediumArrayMatrixSimulation
Solve → 2042Largest Divisible SubsetMediumArrayMathDynamic Programming
Solve → 2043IPOHardArrayGreedySorting
Solve → 2044Valid Triangle NumberMediumArrayTwo PointersBinary Search
Solve → 2045Global and Local InversionsMediumArrayMath
Solve → 2046Numbers At Most N Given Digit SetHardArrayMathString
Solve → 2047Shortest BridgeMediumArrayDepth-First SearchBreadth-First Search
Solve → 2048Index Pairs of a StringEasyArrayStringTrie
Solve → 2049Sum of Digits in the Minimum NumberEasyArrayMath
Solve → 2050Largest Unique NumberEasyArrayHash TableSorting
Solve → 2051Number of Submatrices That Sum to TargetHardArrayHash TableMatrix
Solve → 2052Find in Mountain ArrayHardArrayBinary SearchInteractive
Solve → 2053Remove Covered IntervalsMediumArraySorting
Solve → 2054Snapshot ArrayMediumArrayHash TableBinary Search
Solve → 2055Largest Multiple of ThreeHardArrayMathDynamic Programming
Solve → 2056Diet Plan PerformanceEasyArraySliding Window
Solve → 2057Maximum Subarray Sum with One DeletionMediumArrayDynamic Programming
Solve → 2058Shift 2D GridEasyArrayMatrixSimulation
Solve → 2059Queries on a Permutation With KeyMediumArrayBinary Indexed TreeSimulation
Solve → 2060Longest Subarray of 1's After Deleting One ElementMediumArrayDynamic ProgrammingSliding Window
Solve → 2061Number of Subsequences That Satisfy the Given Sum ConditionMediumArrayTwo PointersBinary Search
Solve → 2062Minimum Numbers of Function Calls to Make Target ArrayMediumArrayGreedyBit Manipulation
Solve → 2063Defuse the BombEasyArraySliding Window
Solve → 2064Design Front Middle Back QueueMediumArrayLinked ListDesign
Solve → 2065Count Ways to Make Array With ProductHardArrayMathDynamic Programming
Solve → 2066Find Nearest Point That Has the Same X or Y CoordinateEasyArray
Solve → 2067Count Pairs Of NodesHardArrayHash TableTwo Pointers
Solve → 2068Sort Features by PopularityMediumArrayHash TableString
Solve → 2069Maximize the Beauty of the GardenHardArrayHash TableGreedy
Solve → 2070Distinct Numbers in Each SubarrayMediumArrayHash TableSliding Window
Solve → 2071Minimum Space Wasted From PackagingHardArrayBinary SearchSorting
Solve → 2072Find a Peak Element IIMediumArrayBinary SearchMatrix
Solve → 2073Jump Game VIIIMediumArrayDynamic ProgrammingStack
Solve → 2074Maximum of Minimum Values in All SubarraysMediumArrayStackMonotonic Stack
Solve → 2075Count Number of Special SubsequencesHardArrayDynamic Programming
Solve → 2076Minimize the Difference Between Target and Chosen ElementsMediumArrayDynamic ProgrammingMatrix
Solve → 2077Minimized Maximum of Products Distributed to Any StoreMediumArrayBinary SearchGreedy
Solve → 2078Minimum Operations to Make the Array K-IncreasingHardArrayBinary Search
Solve → 2079Minimum Operations to Remove Adjacent Ones in MatrixHardArrayDepth-First SearchGraph Theory
Solve → 2080Append K Integers With Minimal SumMediumArrayMathGreedy
Solve → 2081Maximum Sum Score of ArrayMediumArrayPrefix Sum
Solve → 2082Minimum Money Required Before TransactionsHardArrayGreedySorting
Solve → 2083Number of Distinct AveragesEasyArrayHash TableTwo Pointers
Solve → 2084Merge Operations to Turn Array Into a PalindromeMediumArrayTwo PointersGreedy
Solve → 2085Longest Square Streak in an ArrayMediumArrayHash TableBinary Search
Solve → 2086Find Xor-Beauty of ArrayMediumArrayMathBit Manipulation
Solve → 2087Count the Number of K-Big IndicesHardArrayBinary SearchDivide and Conquer
Solve → 2088Find the Substring With Maximum CostMediumArrayHash TableString
Solve → 2089Count the Number of K-Free SubsetsMediumArrayMathDynamic Programming
Solve → 2090Relocate MarblesMediumArrayHash TableSorting
Solve → 2091Maximum Sum of Almost Unique SubarrayMediumArrayHash TableSliding Window
Solve → 2092Minimum Right Shifts to Sort the ArrayEasyArray
Solve → 2093Maximal Range That Each Element Is Maximum in ItMediumArrayStackMonotonic Stack
Solve → 2094Subarrays Distinct Element Sum of Squares IIHardArrayHash TableBinary Indexed Tree
Solve → 2095Maximum Linear Stock ScoreMediumArrayHash Table
Solve → 2096Maximum Balanced Subsequence SumHardArrayBinary SearchDynamic Programming
Solve → 2097Find the Maximum Number of Elements in SubsetMediumArrayHash TableEnumeration
Solve → 2098Find the Number of Subarrays Where Boundary Elements Are MaximumHardArrayBinary SearchStack
Solve → 2099Minimum Average of Smallest and Largest ElementsEasyArrayTwo PointersSorting
Solve → 2100Count Triplets with Even XOR Set Bits IEasyArrayBit Manipulation
Solve → 2101Count Triplets with Even XOR Set Bits IIMediumArrayBit Manipulation
Solve → 2102Magic Squares In GridMediumArrayHash TableMath
Solve → 2103Find the Length of the Longest Common PrefixMediumArrayHash TableString
Solve → 2104Maximum Matrix SumMediumArrayGreedyMatrix
Solve → 2105Two Best Non-Overlapping EventsMediumArrayBinary SearchDynamic Programming
Solve → 2106Max Chunks To Make SortedMediumArrayStackGreedy
Solve → 2107Count Servers that CommunicateMediumArrayDepth-First SearchBreadth-First Search
Solve → 2108Maximum Candies Allocated to K ChildrenMediumArrayBinary Search
Solve → 2109Minimum Stability Factor of ArrayHardArrayMathBinary Search
Solve → 2110Trionic Array IIHardArrayDynamic Programming
Solve → 2111Maximum Capacity Within BudgetMediumArrayTwo PointersBinary Search
Solve → 2112Lexicographically Maximum MEX ArrayHardArrayHash TableGreedy
Solve → 2113Minimum Operations to Sort a PermutationMediumArray
Solve → 2114Best Time to Buy and Sell Stock IVHardArrayDynamic Programming
Solve → 2115Single Number IIIMediumArrayBit Manipulation
Solve → 2116Encode and Decode StringsMediumArrayStringDesign
Solve → 2117Range Sum Query 2D - ImmutableMediumArrayDesignMatrix
Solve → 2118Minimum Number of Arrows to Burst BalloonsMediumArrayGreedySorting
Solve → 2119Island PerimeterEasyArrayDepth-First SearchBreadth-First Search
Solve → 2120Longest Harmonious SubsequenceEasyArrayHash TableSliding Window
Solve → 2121Maximum Product of Three NumbersEasyArrayMathSorting
Solve → 2122Course Schedule IIIHardArrayGreedySorting
Solve → 2123Guess the WordHardArrayMathString
Solve → 2124Transpose MatrixEasyArrayMatrixSimulation
Solve → 2125Find the Town JudgeEasyArrayHash TableGraph Theory
Solve → 2126Minimum Cost to Merge StonesHardArrayDynamic ProgrammingPrefix Sum
Solve → 2127Pairs of Songs With Total Durations Divisible by 60MediumArrayHash TableCounting
Solve → 2128Car PoolingMediumArraySortingHeap (Priority Queue)
Solve → 2129Remove Sub-Folders from the FilesystemMediumArrayStringDepth-First Search
Solve → 2130Find the Difference of Two ArraysEasyArrayHash Table
Solve → 2131Find Winner on a Tic Tac Toe GameEasyArrayHash TableMatrix
Solve → 2132Minimum Difficulty of a Job ScheduleHardArrayDynamic Programming
Solve → 2133Max Dot Product of Two SubsequencesHardArrayDynamic Programming
Solve → 2134Path With Minimum EffortMediumArrayBinary SearchDepth-First Search
Solve → 2135Maximum Ice Cream BarsMediumArrayGreedySorting
Solve → 2136Find the Prefix Common Array of Two ArraysMediumArrayHash TableBit Manipulation
Solve → 2137Count Elements With Maximum FrequencyEasyArrayHash TableCounting
Solve → 2138Find the Median of the Uniqueness ArrayHardArrayHash TableBinary Search
Solve → 2139Delete Nodes From Linked List Present in ArrayMediumArrayHash TableLinked List
Solve → 2140Count Vowel Strings in RangesMediumArrayStringPrefix Sum
Solve → 2141Number of Zero-Filled SubarraysMediumArrayMath
Solve → 2142Final Prices With a Special Discount in a ShopEasyArrayStackMonotonic Stack
Solve → 2143House Robber IVMediumArrayBinary SearchDynamic Programming
Solve → 2144Minimum Distance to the Target ElementEasyArray
Solve → 2145Minimum Time to Activate StringMediumArrayBinary Search
Solve → 2146Maximum Median Sum of Subsequences of Size 3MediumArrayMathGreedy
Solve → 2147Avoid Flood in The CityMediumArrayHash TableBinary Search
Solve → 2148Minimum Number of Groups to Create a Valid AssignmentMediumArrayHash TableGreedy
Solve → 2149Minimize Array Sum Using Divisible ReplacementsMediumArrayHash TableMath
Solve → 2150Count of Smaller Numbers After SelfHardArrayBinary SearchDivide and Conquer
Solve → 2151Intersection of Two Arrays IIEasyArrayHash TableTwo Pointers
Solve → 2152Valid Mountain ArrayEasyArray
Solve → 2153Find Common CharactersEasyArrayHash TableString
Solve → 2154Minimum Cost to Connect SticksMediumArrayGreedyHeap (Priority Queue)
Solve → 2155Number of Visible People in a QueueHardArrayStackMonotonic Stack
Solve → 2156Find N Unique Integers Sum up to ZeroEasyArrayMath
Solve → 2157Number of Good PairsEasyArrayHash TableMath
Solve → 2158Sort Array by Increasing FrequencyEasyArrayHash TableSorting
Solve → 2159Nearest Exit from Entrance in MazeMediumArrayBreadth-First SearchMatrix
Solve → 2160Minimum Difference Between Highest and Lowest of K ScoresEasyArraySliding WindowSorting
Solve → 2161Create Binary Tree From DescriptionsMediumArrayHash TableTree
Solve → 2162Successful Pairs of Spells and PotionsMediumArrayTwo PointersBinary Search
Solve → 2163Count Number of Bad PairsMediumArrayHash TableMath
Solve → 2164Parallel Courses IIIHardArrayDynamic ProgrammingGraph Theory
Solve → 2165Separate Squares IMediumArrayBinary Search
Solve → 2166Greatest Sum Divisible by ThreeMediumArrayDynamic ProgrammingGreedy
Solve → 2167Count Subarrays of Length Three With a ConditionEasyArray
Solve → 2168Find the Maximum Length of Valid Subsequence IMediumArrayDynamic Programming
Solve → 2169Threshold Majority QueriesHardArrayHash TableBinary Search
Solve → 2170Find the Minimum Area to Cover All Ones IIHardArrayMatrixEnumeration
Solve → 2171Maximum Calories Burnt from JumpsMediumArrayTwo PointersGreedy
Solve → 2172Maximize Points After Choosing K TasksMediumArrayGreedySorting
Solve → 2173Total Sum of Interaction Cost in Tree GroupsHardArrayTreeDepth-First Search
Solve → 2174Maximum Score After Binary SwapsMediumArrayStringGreedy
Solve → 2175Sum of GCD of Formed PairsMediumArrayMathTwo Pointers
Solve → 2176Maximum Total Value of Covered IndicesMediumArrayStringDynamic Programming
Solve → 2177Sliding Window MedianHardArrayHash TableSliding Window
Solve → 2178Minimum Time DifferenceMediumArrayMathString
Solve → 2179Maximize Distance to Closest PersonMediumArray
Solve → 2180Walking Robot SimulationMediumArrayHash TableSimulation
Solve → 2181Next Greater Node In Linked ListMediumArrayLinked ListStack
Solve → 2182Grumpy Bookstore OwnerMediumArraySliding Window
Solve → 2183Count Number of Nice SubarraysMediumArrayHash TableMath
Solve → 2184Find Numbers with Even Number of DigitsEasyArrayMath
Solve → 2185Check If N and Its Double ExistEasyArrayHash TableTwo Pointers
Solve → 2186Minimum Difference Between Largest and Smallest Value in Three MovesMediumArrayGreedySorting
Solve → 2187Matrix Diagonal SumEasyArrayMatrix
Solve → 2188Sum of Absolute Differences in a Sorted ArrayMediumArrayMathPrefix Sum
Solve → 2189Maximum Number of Events That Can Be Attended IIHardArrayBinary SearchDynamic Programming
Solve → 2190Minimum Limit of Balls in a BagMediumArrayBinary Search
Solve → 2191Buildings With an Ocean ViewMediumArrayStackMonotonic Stack
Solve → 2192Find the Winner of the Circular GameMediumArrayMathRecursion
Solve → 2193Detonate the Maximum BombsMediumArrayMathDepth-First Search
Solve → 2194Longest Nice SubarrayMediumArrayBit ManipulationSliding Window
Solve → 2195Continuous SubarraysMediumArrayQueueSliding Window
Solve → 2196Minimum Cost to Convert String IIHardArrayStringDynamic Programming
Solve → 2197Finding 3-Digit Even NumbersEasyArrayHash TableRecursion
Solve → 2198Longest Subarray With Maximum Bitwise ANDMediumArrayBit ManipulationBrainteaser
Solve → 2199Last Stone Weight IIMediumArrayDynamic Programming
Solve → 2200Most Beautiful Item for Each QueryMediumArrayBinary SearchSorting
Solve → 2201Largest 1-Bordered SquareMediumArrayDynamic ProgrammingMatrix
Solve → 2202Maximum Sum of 3 Non-Overlapping SubarraysHardArrayDynamic ProgrammingSliding Window
Solve → 2203Word SubsetsMediumArrayHash TableString
Solve → 2204Maximum Performance of a TeamHardArrayGreedySorting
Solve → 2205Maximum Absolute Sum of Any SubarrayMediumArrayDynamic Programming
Solve → 2206Detect Cycles in 2D GridMediumArrayDepth-First SearchBreadth-First Search
Solve → 2207Unique 3-Digit Even NumbersEasyArrayHash TableRecursion
Solve → 2208Maximum Number of Tasks You Can AssignHardArrayTwo PointersBinary Search
Solve → 2209Minimum Equal Sum of Two Arrays After Replacing ZerosMediumArrayGreedy
Solve → 2210Find All K-Distant Indices in an ArrayEasyArrayTwo Pointers
Solve → 2211Kth Smallest Product of Two Sorted ArraysHardArrayBinary Search
Solve → 2212Minimum Cost to Reach Destination in TimeHardArrayDynamic ProgrammingGraph Theory
Solve → 2213Reschedule Meetings for Maximum Free Time IMediumArrayGreedySliding Window
Solve → 2214Maximize Subarrays After Removing One Conflicting PairHardArraySegment TreeEnumeration
Solve → 2215Fruits Into Baskets IIEasyArrayBinary SearchSegment Tree
Solve → 2216Rotating the BoxMediumArrayTwo PointersMatrix
Solve → 2217Vowel SpellcheckerMediumArrayHash TableString
Solve → 2218Transformed ArrayEasyArraySimulation
Solve → 2219Contains Duplicate IIIHardArraySliding WindowSorting
Solve → 2220Shortest Word DistanceEasyArrayString
Solve → 2221Best Time to Buy and Sell Stock with CooldownMediumArrayDynamic Programming
Solve → 2222Shortest Distance from All BuildingsHardArrayBreadth-First SearchMatrix
Solve → 2223Count of Range SumHardArrayBinary SearchDivide and Conquer
Solve → 2224Combination Sum IVMediumArrayDynamic Programming
Solve → 2225Arithmetic SlicesMediumArrayDynamic ProgrammingSliding Window
Solve → 2226Optimal Account BalancingHardArrayDynamic ProgrammingBacktracking
Solve → 2227Relative RanksEasyArraySortingHeap (Priority Queue)
Solve → 2228Shortest Unsorted Continuous SubarrayMediumArrayTwo PointersStack
Solve → 2229Best Time to Buy and Sell Stock with Transaction FeeMediumArrayDynamic ProgrammingGreedy
Solve → 2230Maximum Length of Repeated SubarrayMediumArrayBinary SearchDynamic Programming
Solve → 2231Find Smallest Letter Greater Than TargetEasyArrayBinary Search
Solve → 2232Rabbits in ForestMediumArrayHash TableMath
Solve → 2233Hand of StraightsMediumArrayHash TableGreedy
Solve → 2234Minimum Cost to Hire K WorkersHardArrayGreedySorting
Solve → 2235Monotonic ArrayEasyArray
Solve → 2236Sort Array By ParityEasyArrayTwo PointersSorting
Solve → 2237Reveal Cards In Increasing OrderMediumArrayQueueSorting
Solve → 2238Regions Cut By SlashesMediumArrayHash TableDepth-First Search
Solve → 2239As Far from Land as PossibleMediumArrayDynamic ProgrammingBreadth-First Search
Solve → 2240Partition Array for Maximum SumMediumArrayDynamic Programming
Solve → 2241Filling Bookcase ShelvesMediumArrayDynamic Programming
Solve → 2242Stone Game IIMediumArrayMathDynamic Programming
Solve → 2243Invalid TransactionsMediumArrayHash TableString
Solve → 2244Find Resultant Array After Removing AnagramsEasyArrayHash TableString
Solve → 2245Jump Game IVHardArrayHash TableBreadth-First Search
Solve → 2246Design a Stack With Increment OperationMediumArrayStackDesign
Solve → 2247Cherry Pickup IIHardArrayDynamic ProgrammingMatrix
Solve → 2248Maximum Product of Two Elements in an ArrayEasyArraySortingHeap (Priority Queue)
Solve → 2249Minimum Number of Increments on Subarrays to Form a Target ArrayHardArrayDynamic ProgrammingStack
Solve → 2250Minimum Number of Operations to Move All Balls to Each BoxMediumArrayStringPrefix Sum
Solve → 2251Maximum Population YearEasyArrayCountingPrefix Sum
Solve → 2252Final Value of Variable After Performing OperationsEasyArrayStringSimulation
Solve → 2253Apply Operations to an ArrayEasyArrayTwo PointersSimulation
Solve → 2254Minimize the Maximum Difference of PairsMediumArrayBinary SearchDynamic Programming
Solve → 2255Sort the Jumbled NumbersMediumArraySorting
Solve → 2256Minimum Cost to Convert String IMediumArrayStringGraph Theory
Solve → 2257Minimum Operations to Make Binary Array Elements Equal to One IMediumArrayBit ManipulationQueue
Solve → 2258Add to Array-Form of IntegerEasyArrayMath
Solve → 2259Valid Tic-Tac-Toe StateMediumArrayMatrix
Solve → 2260Sum of Prefix Scores of StringsHardArrayStringTrie
Solve → 2261Count Number of Maximum Bitwise-OR SubsetsMediumArrayBacktrackingBit Manipulation
Solve → 2262Number of Sub-arrays of Size K and Average Greater than or Equal to ThresholdMediumArraySliding Window
Solve → 2263Sum of Unique ElementsEasyArrayHash TableCounting
Solve → 2264Make Lexicographically Smallest Array by Swapping ElementsMediumArrayUnion-FindSorting
Solve → 2265Maximum Subarray Min-ProductMediumArrayStackMonotonic Stack
Solve → 2266Maximum Tastiness of Candy BasketMediumArrayBinary SearchGreedy
Solve → 2267Delete Columns to Make SortedEasyArrayString
Solve → 2268Design Snake GameMediumArrayHash TableDesign
Solve → 2269Number of Sub-arrays With Odd SumMediumArrayMathDynamic Programming
Solve → 2270Separate Squares IIHardArrayBinary SearchSegment Tree
Solve → 2271Length of Longest Fibonacci SubsequenceMediumArrayHash TableDynamic Programming
Solve → 2272Minimum Domino Rotations For Equal RowMediumArrayGreedy
Solve → 2273Zero Array Transformation IMediumArrayPrefix Sum
Solve → 2274Maximum Difference Between Increasing ElementsEasyArray
Solve → 2275Maximum Balanced ShipmentsMediumArrayDynamic ProgrammingStack
Solve → 2276Range Product Queries of PowersMediumArrayBit ManipulationPrefix Sum
Solve → 2277Find the Minimum Area to Cover All Ones IMediumArrayMatrix
Solve → 2278Find Target Indices After Sorting ArrayEasyArrayBinary SearchSorting
Solve → 2279Maximum Total Damage With Spell CastingMediumArrayHash TableTwo Pointers
Solve → 2280Set Intersection Size At Least TwoHardArrayGreedySorting
Solve → 2281Maximum Subarray Sum With Length Divisible by KMediumArrayHash TablePrefix Sum
Solve → 2282Minimum Pair Removal to Sort Array IIHardArrayHash TableLinked List
Solve → 2283Minimum Initial Energy to Finish TasksHardArrayGreedySorting
Solve → 2284Minimum Moves to Make Array ComplementaryMediumArrayHash TablePrefix Sum
Solve → 2285Minimum Cost of Buying Candies With DiscountEasyArrayGreedySorting
Solve → 2286Earliest Finish Time for Land and Water Rides IEasyArrayTwo PointersBinary Search
Solve → 2287Earliest Finish Time for Land and Water Rides IIMediumArrayTwo PointersBinary Search
Solve → 2288Maximum GapMediumArraySortingBucket Sort
Solve → 2289Create Maximum NumberHardArrayTwo PointersStack
Solve → 2290Wiggle Sort IIMediumArrayDivide and ConquerGreedy
Solve → 2291Minimum Moves to Equal Array ElementsMediumArrayMath
Solve → 2292Kill ProcessMediumArrayHash TableTree
Solve → 2293Employee Free TimeHardArraySweep LineSorting
Solve → 2294Construct Quad TreeMediumArrayDivide and ConquerTree
Solve → 2295Number of Matching SubsequencesMediumArrayHash TableString
Solve → 2296Profitable SchemesHardArrayDynamic Programming
Solve → 2297Fair Candy SwapEasyArrayHash TableBinary Search
Solve → 2298Minimum Increment to Make Array UniqueMediumArrayGreedySorting
Solve → 2299Validate Stack SequencesMediumArrayStackSimulation
Solve → 2300Verifying an Alien DictionaryEasyArrayHash TableString
Solve → 2301Relative Sort ArrayEasyArrayHash TableSorting
Solve → 2302Maximum Side Length of a Square with Sum Less than or Equal to ThresholdMediumArrayBinary SearchMatrix
Solve → 2303Maximum Length of Subarray With Positive ProductMediumArrayDynamic ProgrammingGreedy
Solve → 2304Richest Customer WealthEasyArrayMatrix
Solve → 2305Find Subsequence of Length K With the Largest SumEasyArrayHash TableSorting
Solve → 2306Solving Questions With BrainpowerMediumArrayDynamic Programming
Solve → 2307Extra Characters in a StringMediumArrayHash TableString
Solve → 2308Count Complete Subarrays in an ArrayMediumArrayHash TableSliding Window
Solve → 2309Count Pairs Whose Sum is Less than TargetEasyArrayTwo PointersBinary Search
Solve → 2310Divide Array Into Arrays With Max DifferenceMediumArrayGreedySorting
Solve → 2311Find the Maximum Length of Valid Subsequence IIMediumArrayDynamic Programming
Solve → 2312Task Scheduler IIMediumArrayHash TableSimulation
Solve → 2313Minimum Index Sum of Two ListsEasyArrayHash TableString
Solve → 2314Length of the Longest Subsequence That Sums to TargetMediumArrayDynamic Programming
Solve → 2315Longest Continuous Increasing SubsequenceEasyArray
Solve → 2316Rank Transform of an ArrayEasyArrayHash TableSorting
Solve → 2317Divide Players Into Teams of Equal SkillMediumArrayHash TableTwo Pointers
Solve → 2318Minimum Subsequence in Non-Increasing OrderEasyArrayGreedySorting
Solve → 2319Adjacent Increasing Subarrays Detection IEasyArray
Solve → 2320Find Score of an Array After Marking All ElementsMediumArrayHash TableSorting
Solve → 2321Best Sightseeing PairMediumArrayDynamic Programming
Solve → 2322Shifting Letters IIMediumArrayStringPrefix Sum
Solve → 2323Neighboring Bitwise XORMediumArrayBit Manipulation
Solve → 2324Map of Highest PeakMediumArrayBreadth-First SearchMatrix
Solve → 2325Number of Subarrays with Bounded MaximumMediumArrayTwo Pointers
Solve → 2326Maximum Good Subarray SumMediumArrayHash TablePrefix Sum
Solve → 2327Maximum Sum of Two Non-Overlapping SubarraysMediumArrayDynamic ProgrammingSliding Window
Solve → 2328Find Duplicate File in SystemMediumArrayHash TableString
Solve → 2329Zero Array Transformation IIMediumArrayTwo PointersBinary Search
Solve → 2330Minimum Time to Repair CarsMediumArrayBinary Search
Solve → 2331Number of Pairs Satisfying InequalityHardArrayBinary SearchDivide and Conquer
Solve → 2332Minimum Time to Complete TripsMediumArrayBinary Search
Solve → 2333Last Day Where You Can Still CrossHardArrayBinary SearchDepth-First Search
Solve → 2334Minimum Pair Removal to Sort Array IEasyArrayHash TableLinked List
Solve → 2335Count Hills and Valleys in an ArrayEasyArray
Solve → 2336Fruits Into Baskets IIIMediumArrayBinary SearchSegment Tree
Solve → 2337Count Submatrices With All OnesMediumArrayDynamic ProgrammingStack
Solve → 2338Find the Number of Ways to Place People IMediumArrayMathGeometry
Solve → 2339Maximum Number of Words Found in SentencesEasyArrayString
Solve → 2340Taking Maximum Energy From the Mystic DungeonMediumArrayDynamic ProgrammingPrefix Sum
Solve → 2341Smallest Missing Non-negative Integer After OperationsMediumArrayHash TableMath
Solve → 2342Best Time to Buy and Sell Stock VMediumArrayDynamic Programming
Solve → 2343N-Repeated Element in Size 2N ArrayEasyArrayHash Table
Solve → 2344Maximize Area of Square Hole in GridMediumArraySorting
Solve → 2345Construct the Minimum Bitwise Array IIMediumArrayBit Manipulation
Solve → 2346Longest Balanced Subarray IMediumArrayHash TableDivide and Conquer
Solve → 2347Find Minimum in Rotated Sorted Array IIHardArrayBinary Search
Solve → 2348Best Meeting PointHardArrayMathSorting
Solve → 2349Palindrome PairsHardArrayHash TableString
Solve → 2350Queue Reconstruction by HeightMediumArrayBinary Indexed TreeSegment Tree
Solve → 2351Find Right IntervalMediumArrayBinary SearchSorting
Solve → 2352Arithmetic Slices II - SubsequenceHardArrayDynamic Programming
Solve → 23534Sum IIMediumArrayHash Table
Solve → 2354Brick WallMediumArrayHash Table
Solve → 2355Largest Triangle AreaEasyArrayMathGeometry
Solve → 2356Linked List ComponentsMediumArrayHash TableLinked List
Solve → 2357Most Profit Assigning WorkMediumArrayTwo PointersBinary Search
Solve → 2358Smallest Range IIMediumArrayMathGreedy
Solve → 2359Largest Perimeter TriangleEasyArrayMathGreedy
Solve → 2360Longest Arithmetic SubsequenceMediumArrayHash TableBinary Search
Solve → 2361Minimum Score Triangulation of PolygonMediumArrayDynamic Programming
Solve → 2362Delete Nodes And Return ForestMediumArrayHash TableTree
Solve → 2363Check If It Is a Straight LineEasyArrayMathGeometry
Solve → 2364Group the People Given the Group Size They Belong ToMediumArrayHash TableGreedy
Solve → 2365Minimum Number of Taps to Open to Water a GardenHardArrayDynamic ProgrammingGreedy
Solve → 2366Sort Integers by The Number of 1 BitsEasyArrayBit ManipulationSorting
Solve → 2367Product of the Last K NumbersMediumArrayMathDesign
Solve → 2368Least Number of Unique Integers after K RemovalsMediumArrayHash TableGreedy
Solve → 2369Dot Product of Two Sparse VectorsMediumArrayHash TableTwo Pointers
Solve → 2370Minimum Number of Removals to Make Mountain ArrayHardArrayBinary SearchDynamic Programming
Solve → 2371Construct the Lexicographically Largest Valid SequenceMediumArrayBacktracking
Solve → 2372Process Tasks Using ServersMediumArrayHeap (Priority Queue)
Solve → 2373Detect SquaresMediumArrayHash TableDesign
Solve → 2374Maximum Employees to Be Invited to a MeetingHardArrayDynamic ProgrammingDepth-First Search
Solve → 2375Escape the Spreading FireHardArrayBinary SearchBreadth-First Search
Solve → 2376Largest Positive Integer That Exists With Its NegativeEasyArrayHash TableTwo Pointers
Solve → 2377Count Subarrays With Fixed BoundsHardArrayQueueSliding Window
Solve → 2378Sliding Subarray BeautyMediumArrayHash TableSliding Window
Solve → 2379Count Subarrays Where Max Element Appears at Least K TimesMediumArraySliding Window
Solve → 2380Super Ugly NumberMediumArrayMathDynamic Programming
Solve → 2381Check if the Rectangle Corner Is ReachableHardArrayMathDepth-First Search
Solve → 2382Find Servers That Handled Most Number of RequestsHardArrayHeap (Priority Queue)Simulation
Solve → 2383Minimum Operations to Make All Array Elements EqualMediumArrayBinary SearchSorting
Solve → 2384Minimum Obstacle Removal to Reach CornerHardArrayBreadth-First SearchGraph Theory
Solve → 2385Robot CollisionsHardArrayStackSorting
Solve → 2386Sort the PeopleEasyArrayHash TableString
Solve → 2387Finding the Users Active MinutesMediumArrayHash Table
Solve → 2388Largest Combination With Bitwise AND Greater Than ZeroMediumArrayHash TableBit Manipulation
Solve → 2389DI String MatchEasyArrayTwo PointersString
Solve → 2390Maximum Number of Removable CharactersMediumArrayTwo PointersString
Solve → 2391Zigzag IteratorMediumArrayDesignQueue
Solve → 2392Rearrange Array to Maximize Prefix ScoreMediumArrayGreedySorting
Solve → 2393Minimum Cost to Make at Least One Valid Path in a GridHardArrayBreadth-First SearchGraph Theory
Solve → 2394Paint House IVMediumArrayDynamic Programming
Solve → 2395Most Profitable Path in a TreeMediumArrayTreeDepth-First Search
Solve → 2396Apply Operations to Make All Array Elements Equal to ZeroMediumArrayPrefix Sum
Solve → 2397Max Chunks To Make Sorted IIHardArrayStackGreedy
Solve → 2398Design Excel Sum FormulaHardArrayHash TableString
Solve → 2399Bitwise ORs of SubarraysMediumArrayDynamic ProgrammingBit Manipulation
Solve → 2400Minimum Absolute DifferenceEasyArraySorting
Solve → 2401Teemo AttackingEasyArraySimulation
Solve → 2402Count Subarrays With Score Less Than KHardArrayBinary SearchSliding Window
Solve → 2403Find the Middle Index in ArrayEasyArrayPrefix Sum
Solve → 2404Range Sum Query 2D - MutableMediumArrayDesignBinary Indexed Tree
Solve → 2405Maximum Height by Stacking CuboidsHardArrayDynamic ProgrammingSorting
Solve → 2406Shortest Distance to a CharacterEasyArrayTwo PointersString
Solve → 2407Number of Islands IIHardArrayHash TableUnion-Find
Solve → 2408Cherry PickupHardArrayDynamic ProgrammingMatrix
Solve → 2409Maximum Unique Subarray Sum After DeletionEasyArrayHash TableGreedy
Solve → 2410Jump Game IIIMediumArrayDepth-First SearchBreadth-First Search
Solve → 2411Rearranging FruitsHardArrayHash TableGreedy
Solve → 2412Minimum Operations to Convert All Elements to ZeroMediumArrayHash TableStack
Solve → 2413Sort Matrix by DiagonalsMediumArraySortingMatrix
Solve → 2414Minimum Number of People to TeachMediumArrayHash TableGreedy
Solve → 2415Find the Minimum Amount of Time to Brew PotionsMediumArraySimulationPrefix Sum
Solve → 2416Maximum Number of Distinct Elements After OperationsMediumArrayGreedySorting
Solve → 2417Maximum Frequency of an Element After Performing Operations IMediumArrayBinary SearchSliding Window
Solve → 2418Make Array Elements Equal to ZeroEasyArraySimulationPrefix Sum
Solve → 2419Find X-Sum of All K-Long Subarrays IEasyArrayHash TableSliding Window
Solve → 2420Maximize the Minimum Powered CityHardArrayBinary SearchGreedy
Solve → 2421Paths in Matrix Whose Sum Is Divisible by KHardArrayDynamic ProgrammingMatrix
Solve → 2422Maximum Running Time of N ComputersHardArrayBinary SearchGreedy
Solve → 2423Count Partitions With Max-Min Difference at Most KMediumArrayDynamic ProgrammingQueue
Solve → 2424Best Time to Buy and Sell Stock using StrategyMediumArraySliding WindowPrefix Sum
Solve → 2425Construct Product MatrixMediumArrayMatrixPrefix Sum
Solve → 2426Delete Columns to Make Sorted IIMediumArrayStringGreedy
Solve → 2427Paint HouseMediumArrayDynamic Programming
Solve → 2428Partition Array Into Three Parts With Equal SumEasyArrayGreedy
Solve → 2429Ones and ZeroesMediumArrayStringDynamic Programming
Solve → 2430Construct the Minimum Bitwise Array IEasyArrayBit Manipulation
Solve → 2431Minimum Cost Path with TeleportationsHardArrayDynamic ProgrammingMatrix
Solve → 2432Largest Magic SquareMediumArrayMatrixPrefix Sum
Solve → 2433Find Unique Binary StringMediumArrayHash TableString
Solve → 2434Get Biggest Three Rhombus Sums in a GridMediumArrayMathSorting
Solve → 2435Maximum Non Negative Product in a MatrixMediumArrayDynamic ProgrammingMatrix
Solve → 2436Minimum Absolute Distance Between Mirror PairsMediumArrayHash TableMath
Solve → 2437Two Furthest Houses With Different ColorsEasyArrayGreedy
Solve → 2438Sum of DistancesMediumArrayHash TablePrefix Sum
Solve → 2439Maximum Score From Grid OperationsHardArrayDynamic ProgrammingMatrix
Solve → 2440First Completely Painted Row or ColumnMediumArrayHash TableMatrix
Solve → 2441Maximum Number of Jumps to Reach the Last IndexMediumArrayDynamic Programming
Solve → 2442Maximum Total Subarray Value IMediumArrayGreedy
Solve → 2443Maximum Product of Word LengthsMediumArrayStringBit Manipulation
Solve → 2444Maximum Size Subarray Sum Equals kMediumArrayHash TablePrefix Sum
Solve → 2445Patching ArrayHardArrayGreedy
Solve → 2446Shuffle an ArrayMediumArrayMathDesign
Solve → 2447Maximum XOR of Two Numbers in an ArrayMediumArrayHash TableBit Manipulation
Solve → 2448Circular Array LoopMediumArrayHash TableTwo Pointers
Solve → 2449Minimum Moves to Equal Array Elements IIMediumArrayMathSorting
Solve → 2450Keyboard RowEasyArrayHash TableString
Solve → 2451Shopping OffersMediumArrayDynamic ProgrammingBacktracking
Solve → 2452Number of Longest Increasing SubsequenceMediumArrayDynamic ProgrammingBinary Indexed Tree
Solve → 2453My Calendar IIMediumArrayBinary SearchDesign
Solve → 2454Design HashSetEasyArrayHash TableLinked List
Solve → 2455Flipping an ImageEasyArrayTwo PointersBit Manipulation
Solve → 2456Beautiful ArrayMediumArrayMathDivide and Conquer
Solve → 2457Two City SchedulingMediumArrayGreedySorting
Solve → 2458Stream of CharactersHardArrayStringDesign
Solve → 2459Longest String ChainMediumArrayHash TableTwo Pointers
Solve → 2460Height CheckerEasyArraySortingCounting Sort
Solve → 2461Meeting SchedulerMediumArrayTwo PointersSorting
Solve → 2462Duplicate ZerosEasyArrayTwo Pointers
Solve → 2463Element Appearing More Than 25% In Sorted ArrayEasyArray
Solve → 2464Sort the Matrix DiagonallyMediumArraySortingMatrix
Solve → 2465Three Consecutive OddsEasyArray
Solve → 2466Path with Maximum ProbabilityMediumArrayGraph TheoryHeap (Priority Queue)
Solve → 2467Path with Maximum GoldMediumArrayBacktrackingMatrix
Solve → 2468XOR Queries of a SubarrayMediumArrayBit ManipulationPrefix Sum
Solve → 2469Destination CityEasyArrayHash TableString
Solve → 2470Count Good TripletsEasyArrayEnumeration
Solve → 2471Widest Vertical Area Between Two Points Containing No PointsEasyArraySorting
Solve → 2472Get Maximum in Generated ArrayEasyArraySimulation
Solve → 2473Check If Two String Arrays are EquivalentEasyArrayString
Solve → 2474Remove One Element to Make the Array Strictly IncreasingEasyArray
Solve → 2475Convert 1D Array Into 2D ArrayEasyArrayMatrixSimulation
Solve → 2476Minimum Number of Moves to Seat EveryoneEasyArrayGreedySorting
Solve → 2477Time Needed to Buy TicketsEasyArrayQueueSimulation
Solve → 2478Find Closest Number to ZeroEasyArray
Solve → 2479Longest Path With Different Adjacent CharactersHardArrayStringTree
Solve → 2480Minimize Maximum of ArrayMediumArrayBinary SearchDynamic Programming
Solve → 2481Count the Number of Good SubarraysMediumArrayHash TableSliding Window
Solve → 2482Number of Employees Who Met the TargetEasyArray
Solve → 2483Find Words Containing CharacterEasyArrayString
Solve → 2484Minimum Number of Operations to Make Array XOR Equal to KMediumArrayBit Manipulation
Solve → 2485Longest Turbulent SubarrayMediumArrayDynamic ProgrammingSliding Window
Solve → 2486Minimum Number of Days to Disconnect IslandHardArrayDepth-First SearchBreadth-First Search
Solve → 2487Degree of an ArrayEasyArrayHash Table
Solve → 2488Maximize Score of Numbers in RangesMediumArrayBinary SearchGreedy
Solve → 2489Longest Strictly Increasing or Strictly Decreasing SubarrayEasyArray
Solve → 2490Count the Number of InversionsHardArrayDynamic Programming
Solve → 2491Largest Sum of AveragesMediumArrayDynamic ProgrammingPrefix Sum
Solve → 2492Minimize Max Distance to Gas StationHardArrayBinary Search
Solve → 2493The MazeMediumArrayDepth-First SearchBreadth-First Search
Solve → 2494Maximal Score After Applying K OperationsMediumArrayGreedyHeap (Priority Queue)
Solve → 2495Find Occurrences of an Element in an ArrayMediumArrayHash Table
Solve → 2496Grid GameMediumArrayMatrixPrefix Sum
Solve → 2497Flip Columns For Maximum Number of Equal RowsMediumArrayHash TableMatrix
Solve → 2498Minimum Operations to Make a SubsequenceHardArrayHash TableBinary Search
Solve → 2499Minimum Time to Visit a Cell In a GridHardArrayBreadth-First SearchGraph Theory
Solve → 2500Find Building Where Alice and Bob Can MeetHardArrayBinary SearchStack
Solve → 2501Employee ImportanceMediumArrayHash TableTree
Solve → 2502Maximum Number of Fish in a GridMediumArrayDepth-First SearchBreadth-First Search
Solve → 2503Maximum Ascending Subarray SumEasyArray
Solve → 2504Tuple with Same ProductMediumArrayHash TableCounting
Solve → 2505Find the Number of Distinct Colors Among the BallsMediumArrayHash TableSimulation
Solve → 2506Minimum Operations to Exceed Threshold Value IIMediumArrayHeap (Priority Queue)Simulation
Solve → 2507Escape a Large MazeHardArrayHash TableDepth-First Search
Solve → 2508Minimum Operations to Make the Array IncreasingEasyArrayGreedy
Solve → 2509Rank Teams by VotesMediumArrayHash TableString
Solve → 2510Sentence Similarity IIMediumArrayHash TableString
Solve → 2511Sliding PuzzleHardArrayDynamic ProgrammingBacktracking
Solve → 2512Divide Array Into Equal PairsEasyArrayHash TableBit Manipulation
Solve → 2513Find the Kth Smallest Sum of a Matrix With Sorted RowsHardArrayBinary SearchHeap (Priority Queue)
Solve → 2514Check if Grid can be Cut into SectionsMediumArraySorting
Solve → 2515Number of Adjacent Elements With the Same ColorMediumArray
Solve → 2516Alternating Groups IEasyArraySliding Window
Solve → 2517Finding Pairs With a Certain SumMediumArrayHash TableDesign
Solve → 2518Find Minimum Time to Reach Last Room IIMediumArrayGraph TheoryHeap (Priority Queue)
Solve → 2519Max Pair Sum in an ArrayEasyArrayHash Table
Solve → 2520Maximum Difference Between Adjacent Elements in a Circular ArrayEasyArray
Solve → 2521Surface Area of 3D ShapesEasyArrayMathGeometry
Solve → 2522Check if All the Integers in a Range Are CoveredEasyArrayHash TablePrefix Sum
Solve → 2523Reschedule Meetings for Maximum Free Time IIMediumArrayGreedyEnumeration
Solve → 2524Number of Pairs of Interchangeable RectanglesMediumArrayHash TableMath
Solve → 2525Minimize Malware SpreadHardArrayHash TableDepth-First Search
Solve → 2526Longest Non-decreasing Subarray From Two ArraysMediumArrayDynamic Programming
Solve → 2527Maximum Fruits Harvested After at Most K StepsHardArrayBinary SearchSliding Window
Solve → 2528Matchsticks to SquareMediumArrayDynamic ProgrammingBacktracking
Solve → 2529Minimum Time Visiting All PointsEasyArrayMathGeometry
Solve → 2530Remove BoxesHardArrayDynamic ProgrammingMemoization
Solve → 2531Unique Email AddressesEasyArrayHash TableString
Solve → 2532Friends Of Appropriate AgesMediumArrayTwo PointersBinary Search
Solve → 2533Longest Subsequence With Limited SumEasyArrayBinary SearchGreedy
Solve → 2534Maximum Frequency of an Element After Performing Operations IIHardArrayBinary SearchSliding Window
Solve → 2535Number of Good PathsHardArrayHash TableTree
Solve → 2536The Two Sneaky Numbers of DigitvilleEasyArrayHash TableMath
Solve → 2537Maximum and Minimum Sums of at Most Size K SubsequencesMediumArrayMathDynamic Programming
Solve → 2538Minimum Time to Make Rope ColorfulMediumArrayStringDynamic Programming
Solve → 2539Power Grid MaintenanceMediumArrayHash TableDepth-First Search
Solve → 2540Minimum Number of Operations to Make All Array Elements Equal to 1MediumArrayMathNumber Theory
Solve → 2541Find Minimum Operations to Make All Elements Divisible by ThreeEasyArrayMath
Solve → 2542Car Fleet IIHardArrayMathStack
Solve → 2543Sign of the Product of an ArrayEasyArrayMath
Solve → 2544Minimum Operations to Make Array Sum Divisible by KEasyArrayMath
Solve → 2545Perfect RectangleHardArrayHash TableMath
Solve → 2546Split Array With Same AverageHardArrayHash TableMath
Solve → 2547Minimize Maximum Pair Sum in ArrayMediumArrayTwo PointersGreedy
Solve → 2548Divide an Array Into Subarrays With Minimum Cost IIHardArrayHash TableSliding Window
Solve → 2549Longest Balanced Subarray IIHardArrayHash TableDivide and Conquer
Solve → 2550Happy StudentsMediumArraySortingEnumeration
Solve → 2551Satisfiability of Equality EquationsMediumArrayStringUnion-Find
Solve → 2552Minimum Swaps to Arrange a Binary GridMediumArrayGreedyMatrix
Solve → 2553Merge BSTs to Create Single BSTHardArrayHash TableTree
Solve → 2554Minimum Number of Seconds to Make Mountain Height ZeroMediumArrayMathBinary Search
Solve → 2555Largest Submatrix With RearrangementsMediumArrayGreedySorting
Solve → 2556Maximum Amount of Money Robot Can EarnMediumArrayDynamic ProgrammingMatrix
Solve → 2557Maximum Walls Destroyed by RobotsHardArrayBinary SearchDynamic Programming
Solve → 2558XOR After Range Multiplication Queries IMediumArrayDivide and ConquerSimulation
Solve → 2559XOR After Range Multiplication Queries IIHardArrayDivide and ConquerPrefix Sum
Solve → 2560Shortest Distance to Target String in a Circular ArrayEasyArrayString
Solve → 2561Closest Equal Element QueriesMediumArrayHash TableBinary Search
Solve → 2562Minimum Operations to Make a Uni-Value GridMediumArrayMathSorting
Solve → 2563Score After Flipping MatrixMediumArrayGreedyBit Manipulation
Solve → 2564Jump Game IXMediumArrayDynamic Programming
Solve → 2565Minimum Jumps to Reach End via Prime TeleportationMediumArrayHash TableMath
Solve → 2566Reshape the MatrixEasyArrayMatrixSimulation
Solve → 2567Jump Game VHardArrayDynamic ProgrammingSorting
Solve → 2568Longest Common Suffix QueriesHardArrayStringTrie
Solve → 2569Minimum Number GameEasyArraySortingHeap (Priority Queue)
Solve → 2570Left and Right Sum DifferencesEasyArrayPrefix Sum
Solve → 2571Bag of TokensMediumArrayTwo PointersGreedy
Solve → 2572Beautiful ArrangementMediumArrayDynamic ProgrammingBacktracking
Solve → 2573Erect the FenceHardArrayMathGeometry
Solve → 2574Longest Word in DictionaryMediumArrayHash TableString
Solve → 2575Similar String GroupsHardArrayHash TableString
Solve → 2576Longest Mountain in ArrayMediumArrayTwo PointersDynamic Programming
Solve → 2577Advantage ShuffleMediumArrayTwo PointersGreedy
Solve → 2578Spiral Matrix IIIMediumArrayMatrixSimulation
Solve → 2579Construct Binary Tree from Preorder and Postorder TraversalMediumArrayHash TableDivide and Conquer
Solve → 2580Minimum Number of K Consecutive Bit FlipsHardArrayBit ManipulationQueue
Solve → 2581Number of EnclavesMediumArrayDepth-First SearchBreadth-First Search
Solve → 2582Number of Closed IslandsMediumArrayDepth-First SearchBreadth-First Search
Solve → 2583Create Target Array in the Given OrderEasyArraySimulation
Solve → 2584Diagonal Traverse IIMediumArraySortingHeap (Priority Queue)
Solve → 2585Maximum Number of Coins You Can GetMediumArrayMathGreedy
Solve → 2586Sum of All Odd Length SubarraysEasyArrayMathPrefix Sum
Solve → 2587Special Array With X Elements Greater Than or Equal XEasyArrayBinary SearchSorting
Solve → 2588Average Waiting TimeMediumArraySimulation
Solve → 2589Count Items Matching a RuleEasyArrayString
Solve → 2590Single-Threaded CPUMediumArraySortingHeap (Priority Queue)
Solve → 2591Minimum Number of Work Sessions to Finish the TasksMediumArrayDynamic ProgrammingBacktracking
Solve → 2592Equal Row and Column PairsMediumArrayHash TableMatrix
Solve → 2593Minimum Number of Operations to Make Arrays SimilarHardArrayGreedySorting
Solve → 2594Difference Between Element Sum and Digit Sum of an ArrayEasyArrayMath
Solve → 2595Maximum Subsequence ScoreMediumArrayGreedySorting
Solve → 2596Take Gifts From the Richest PileEasyArrayHeap (Priority Queue)Simulation
Solve → 2597The Number of Beautiful SubsetsMediumArrayHash TableMath
Solve → 2598Buy Two ChocolatesEasyArrayGreedySorting
Solve → 2599Painting the WallsHardArrayDynamic Programming
Solve → 2600Length of Longest Subarray With at Most K FrequencyMediumArrayHash TableSliding Window
Solve → 2601Minimum Cost Walk in Weighted GraphHardArrayBit ManipulationUnion-Find
Solve → 2602Minimum Cost to Equalize ArrayHardArrayGreedyEnumeration
Solve → 2603Special Array IIMediumArrayBinary SearchPrefix Sum
Solve → 2604Special Array IEasyArray
Solve → 2605Find the Number of Good Pairs IIMediumArrayHash Table
Solve → 2606Make Two Arrays Equal by Reversing SubarraysEasyArrayHash TableSorting
Solve → 2607Range Sum of Sorted Subarray SumsMediumArrayTwo PointersBinary Search
Solve → 2608Minimum Interval to Include Each QueryHardArrayBinary SearchSweep Line
Solve → 2609Maximum Distance in ArraysMediumArrayGreedy
Solve → 2610Maximum Number of Points with CostMediumArrayDynamic ProgrammingMatrix
Solve → 2611Subarray With Elements Greater Than Varying ThresholdHardArrayStackUnion-Find
Solve → 2612Count Nodes With the Highest ScoreMediumArrayTreeDepth-First Search
Solve → 2613Two Sum III - Data structure designEasyArrayHash TableTwo Pointers
Solve → 2614Encrypt and Decrypt StringsHardArrayHash TableString
Solve → 2615Design Circular DequeMediumArrayLinked ListDesign
Solve → 2616Sentence Similarity IIIMediumArrayTwo PointersString
Solve → 2617Divide Intervals Into Minimum Number of GroupsMediumArrayTwo PointersGreedy
Solve → 2618Random Pick with BlacklistHardArrayHash TableMath
Solve → 2619Minimum Division Operations to Make Array Non DecreasingMediumArrayMathGreedy
Solve → 2620Find if Array Can Be SortedMediumArrayBit ManipulationSorting
Solve → 2621Simple Bank SystemMediumArrayHash TableDesign
Solve → 2622Prime Subtraction OperationMediumArrayMathBinary Search
Solve → 2623Final Array State After K Multiplication Operations IEasyArrayMathHeap (Priority Queue)
Solve → 2624The Maze IIMediumArrayDepth-First SearchBreadth-First Search
Solve → 2625Valid Arrangement of PairsHardArrayDepth-First SearchGraph Theory
Solve → 2626Minimum Operations to Make Array Equal to TargetHardArrayDynamic ProgrammingStack
Solve → 2627Maximum Strength of K Disjoint SubarraysHardArrayDynamic ProgrammingPrefix Sum
Solve → 2628Button with Longest Push TimeEasyArray
Solve → 2629Largest Element in an Array after Merge OperationsMediumArrayGreedy
Solve → 2630Maximum XOR After OperationsMediumArrayMathBit Manipulation
Solve → 2631Maximum Possible Number by Binary ConcatenationMediumArrayBit ManipulationEnumeration
Solve → 2632Maximize the Minimum Game ScoreHardArrayBinary SearchGreedy
Solve → 2633Maximum Sum With Exactly K ElementsEasyArrayGreedy
Solve → 2634Range AdditionMediumArrayPrefix Sum
Solve → 2635Check if Matrix Is X-MatrixEasyArrayMatrix
Solve → 2636Find Common Elements Between Two ArraysEasyArrayHash Table
Solve → 2637Count Days Without MeetingsMediumArraySorting
Solve → 2638Minimum Index of a Valid SplitMediumArrayHash TableSorting
Solve → 2639Maximum Score of Non-overlapping IntervalsHardArrayBinary SearchDynamic Programming
Solve → 2640Remove Stones to Minimize the TotalMediumArrayGreedyHeap (Priority Queue)
Solve → 2641Maximum Value of an Ordered Triplet IIMediumArray
Solve → 2642Number of Subarrays That Match a Pattern IMediumArrayRolling HashString Matching
Solve → 2643Describe the PaintingMediumArrayHash TableSorting
Solve → 2644Merge Two 2D Arrays by Summing ValuesEasyArrayHash TableTwo Pointers
Solve → 2645Maximum Profit From Trading StocksMediumArrayDynamic Programming
Solve → 2646Minimum Amount of Damage Dealt to BobHardArrayGreedySorting
Solve → 2647Minimum Cost to Make Arrays IdenticalMediumArrayGreedySorting
Solve → 2648Pizza With 3n SlicesHardArrayDynamic ProgrammingGreedy
Solve → 2649Count Beautiful Splits in an ArrayMediumArrayDynamic Programming
Solve → 2650Maximum Value of an Ordered Triplet IEasyArray
Solve → 2651Zero Array Transformation IIIMediumArrayTwo PointersGreedy
Solve → 2652Find Smallest Common Element in All RowsMediumArrayHash TableBinary Search
Solve → 2653Delete Greatest Value in Each RowEasyArraySortingHeap (Priority Queue)
Solve → 2654Longest Common Prefix Between Adjacent Strings After RemovalsMediumArrayString
Solve → 2655Minimum Cost to Move Chips to The Same PositionEasyArrayMathGreedy
Solve → 2656Kth Smallest InstructionsHardArrayMathDynamic Programming
Solve → 2657Maximum Beauty of an Array After Applying OperationMediumArrayBinary SearchSliding Window
Solve → 2658Check Knight Tour ConfigurationMediumArrayDepth-First SearchBreadth-First Search
Solve → 2659Maximum Number of Visible PointsHardArrayMathGeometry
Solve → 2660Minimize the Maximum Adjacent Element DifferenceHardArrayBinary SearchGreedy
Solve → 2661Maximum Size of a Set After RemovalsMediumArrayHash TableGreedy
Solve → 2662Find Lucky Integer in an ArrayEasyArrayHash TableCounting
Solve → 2663Collecting ChocolatesMediumArrayEnumeration
Solve → 2664Falling SquaresHardArraySegment TreeOrdered Set
Solve → 2665Number of Ways to Form a Target String Given a DictionaryHardArrayStringDynamic Programming
Solve → 2666Sort the Students by Their Kth ScoreMediumArraySortingMatrix
Solve → 2667Maximize Greatness of an ArrayMediumArrayTwo PointersGreedy
Solve → 2668Minimum Operations to Write the Letter Y on a GridMediumArrayHash TableMatrix
Solve → 2669Two-Letter Card GameMediumArrayHash TableString
Solve → 2670Sequence ReconstructionMediumArrayGraph TheoryTopological Sort
Solve → 2671Delete Duplicate Folders in SystemHardArrayHash TableString
Solve → 2672Sum of Perfect Square AncestorsHardArrayHash TableMath
Solve → 2673Non-decreasing SubsequencesMediumArrayHash TableBacktracking
Solve → 2674Stable Subarrays With Equal Boundary and Interior SumMediumArrayHash TablePrefix Sum
Solve → 2675Count Unguarded Cells in the GridMediumArrayMatrixSimulation
Solve → 2676Wiggle SortMediumArrayGreedySorting
Solve → 2677Minimum Unique Word AbbreviationHardArrayStringBacktracking
Solve → 2678Truncate SentenceEasyArrayString
Solve → 2679Count Partitions with Even Sum DifferenceEasyArrayMathPrefix Sum
Solve → 2680Shortest Distance After Road Addition Queries IMediumArrayBreadth-First SearchGraph Theory
Solve → 2681Count the Number of Computer Unlocking PermutationsMediumArrayMathBrainteaser
Solve → 2682Find the Array Concatenation ValueEasyArrayTwo PointersSimulation
Solve → 2683Binary Prefix Divisible By 5EasyArrayBit Manipulation
Solve → 2684Operations on TreeMediumArrayHash TableTree
Solve → 2685Maximize Cyclic Partition ScoreHardArrayDynamic Programming
Solve → 2686Implement RouterMediumArrayHash TableBinary Search
Solve → 2687Range Addition IIEasyArrayMath
Solve → 2688Delete Columns to Make Sorted IIIHardArrayStringDynamic Programming
Solve → 2689Four DivisorsMediumArrayMath
Solve → 2690Lucky Numbers in a MatrixEasyArrayMatrix
Solve → 2691Sparse Matrix MultiplicationMediumArrayHash TableMatrix
Solve → 2692Restore the Array From Adjacent PairsMediumArrayHash TableDepth-First Search
Solve → 2693Find Original Array From Doubled ArrayMediumArrayHash TableGreedy
Solve → 2694Maximum Sum of Three Numbers Divisible by ThreeMediumArrayGreedySorting
Solve → 2695Non-decreasing ArrayMediumArray
Solve → 2696Minimum Value to Get Positive Step by Step SumEasyArrayPrefix Sum
Solve → 2697Frog Jump IIMediumArrayBinary SearchGreedy
Solve → 2698Design SpreadsheetMediumArrayHash TableString
Solve → 2699Array NestingMediumArrayDepth-First Search
Solve → 2700Max Sum of Rectangle No Larger Than KHardArrayBinary SearchMatrix
Solve → 27013Sum With MultiplicityMediumArrayHash TableTwo Pointers
Solve → 2702Find Greatest Common Divisor of ArrayEasyArrayMathNumber Theory
Solve → 2703Minimum Hours of Training to Win a CompetitionEasyArrayGreedy
Solve → 2704Ant on the BoundaryEasyArraySimulationPrefix Sum
Solve → 2705Maximum Number of Points From Grid QueriesHardArrayTwo PointersBreadth-First Search
Solve → 2706Find Maximum Value in a Constrained SequenceMediumArrayGreedy
Solve → 2707Unique Morse Code WordsEasyArrayHash TableString
Solve → 2708Minimum Seconds to Equalize a Circular ArrayMediumArrayHash Table
Solve → 2709Longest Palindrome by Concatenating Two Letter WordsMediumArrayHash TableString
Solve → 2710Split Strings by SeparatorEasyArrayString
Solve → 2711Special Positions in a Binary MatrixEasyArrayMatrix
Solve → 2712Tallest BillboardHardArrayDynamic Programming
Solve → 2713Word AbbreviationHardArrayStringGreedy
Solve → 2714Missing Number In Arithmetic ProgressionEasyArrayMath
Solve → 2715Minimum Subarray Length With Distinct Sum At Least KMediumArrayHash TableSliding Window
Solve → 2716Sum of Variable Length SubarraysEasyArrayPrefix Sum
Solve → 2717Maximum Number of Weeks for Which You Can WorkMediumArrayGreedy
Solve → 2718Minimum Impossible ORMediumArrayBit ManipulationBrainteaser
Solve → 2719Minimum Absolute Difference in Sliding SubmatrixMediumArraySortingMatrix
Solve → 2720Grid Teleportation TraversalMediumArrayHash TableBreadth-First Search
Solve → 2721Count Good MealsMediumArrayHash Table
Solve → 2722Equal Sum Grid Partition IMediumArrayMatrixEnumeration
Solve → 2723Count Submatrices With Equal Frequency of X and YMediumArrayMatrixPrefix Sum
Solve → 2724Design Movie Rental SystemHardArrayHash TableDesign
Solve → 2725Matrix Similarity After Cyclic ShiftsEasyArrayMathMatrix
Solve → 2726Stone GameMediumArrayMathDynamic Programming
Solve → 2727Final Element After Subarray DeletionsMediumArrayMathBrainteaser
Solve → 2728The Time When the Network Becomes IdleMediumArrayBreadth-First SearchGraph Theory
Solve → 2729Distribute Elements Into Two Arrays IEasyArraySimulation
Solve → 2730Minimum Distance Between Three Equal Elements IEasyArrayHash Table
Solve → 2731Minimum Distance Between Three Equal Elements IIMediumArrayHash Table
Solve → 2732Minimum Deletions to Make Array DivisibleHardArrayMathSorting
Solve → 2733Properties GraphMediumArrayHash TableDepth-First Search
Solve → 2734Final Array State After K Multiplication Operations IIHardArrayHeap (Priority Queue)Simulation
Solve → 2735Minimum Cost to Make Array EqualHardArrayBinary SearchGreedy
Solve → 2736Minimum Total Distance TraveledHardArrayDynamic ProgrammingSorting
Solve → 2737Words Within Two Edits of DictionaryMediumArrayStringTrie
Solve → 2738Put Boxes Into the Warehouse IMediumArrayGreedySorting
Solve → 2739Number of Subarrays With LCM Equal to KMediumArrayMathNumber Theory
Solve → 2740Jump Game VIMediumArrayDynamic ProgrammingQueue
Solve → 2741Cyclically Rotating a GridMediumArrayMatrixSimulation
Solve → 2742Minimum Cost to Buy Apples IIHardArrayGraph TheoryHeap (Priority Queue)
Solve → 2743Minimum Swaps to Group All 1's TogetherMediumArraySliding Window
Solve → 2744Pancake SortingMediumArrayTwo PointersGreedy
Solve → 2745Smallest Index With Equal ValueEasyArray
Solve → 2746Odd Even JumpHardArrayDynamic ProgrammingStack
Solve → 2747Find the Distinct Difference ArrayEasyArrayHash Table
Solve → 2748Binary Trees With FactorsMediumArrayHash TableDynamic Programming
Solve → 2749Maximum Total Subarray Value IIHardArrayGreedySegment Tree
Solve → 2750Build an Array With Stack OperationsMediumArrayStackSimulation
Solve → 2751Number of Ways to Assign Edge Weights IIHardArrayMathDynamic Programming
Solve → 2752Find Minimum Cost to Remove Array ElementsMediumArrayDynamic Programming
Solve → 2753Maximum Building HeightHardArrayMathSorting
Solve → 2754Maximize Sum Of Array After K NegationsEasyArrayGreedySorting
Solve → 2755Collect Coins in a TreeHardArrayTreeGraph Theory
Solve →