PhantomCodeAIPhantomCodeAI
FeaturesMock InterviewDashboardJobsPricing
FeaturesMock InterviewDashboardJobsPricing
PhantomCodeAIPhantomCodeAI
FeaturesMock InterviewDashboardJobsPricing
FeaturesMock InterviewDashboardJobsPricing
HomeLeetCode ProblemsArray

Array Problems

1,673 Array LeetCode problems · Solve with AI-powered hints & step-by-step explanations.

1Two SumEasy4Median of Two Sorted ArraysHard11Container With Most WaterMedium14Longest Common PrefixEasy153SumMedium163Sum ClosestMedium184SumMedium26Remove Duplicates from Sorted ArrayEasy27Remove ElementEasy31Next PermutationMedium33Search in Rotated Sorted ArrayMedium34Find First and Last Position of Element in Sorted ArrayMedium35Search Insert PositionEasy36Valid SudokuMedium37Sudoku SolverHard39Combination SumMedium40Combination Sum IIMedium41First Missing PositiveHard42Trapping Rain WaterHard45Jump Game IIMedium46PermutationsMedium47Permutations IIMedium48Rotate ImageMedium49Group AnagramsMedium51N-QueensHard53Maximum SubarrayMedium54Spiral MatrixMedium55Jump GameMedium56Merge IntervalsMedium57Insert IntervalMedium59Spiral Matrix IIMedium63Unique Paths IIMedium64Minimum Path SumMedium66Plus OneEasy68Text JustificationHard73Set Matrix ZeroesMedium74Search a 2D MatrixMedium75Sort ColorsMedium78SubsetsMedium79Word SearchMedium80Remove Duplicates from Sorted Array IIMedium81Search in Rotated Sorted Array IIMedium84Largest Rectangle in HistogramHard85Maximal RectangleHard88Merge Sorted ArrayEasy90Subsets IIMedium105Construct Binary Tree from Preorder and Inorder TraversalMedium106Construct Binary Tree from Inorder and Postorder TraversalMedium108Convert Sorted Array to Binary Search TreeEasy118Pascal's TriangleEasy119Pascal's Triangle IIEasy120TriangleMedium121Best Time to Buy and Sell StockEasy122Best Time to Buy and Sell Stock IIMedium123Best Time to Buy and Sell Stock IIIHard128Longest Consecutive SequenceMedium130Surrounded RegionsMedium134Gas StationMedium135CandyHard136Single NumberEasy137Single Number IIMedium139Word BreakMedium140Word Break IIHard149Max Points on a LineHard150Evaluate Reverse Polish NotationMedium152Maximum Product SubarrayMedium153Find Minimum in Rotated Sorted ArrayMedium154Find Minimum in Rotated Sorted Array IIHard162Find Peak ElementMedium164Maximum GapMedium167Two Sum II - Input Array Is SortedMedium169Majority ElementEasy174Dungeon GameHard179Largest NumberMedium188Best Time to Buy and Sell Stock IVHard189Rotate ArrayMedium198House RobberMedium200Number of IslandsMedium204Count PrimesMedium209Minimum Size Subarray SumMedium212Word Search IIHard213House Robber IIMedium215Kth Largest Element in an ArrayMedium216Combination Sum IIIMedium217Contains DuplicateEasy218The Skyline ProblemHard219Contains Duplicate IIEasy220Contains Duplicate IIIHard221Maximal SquareMedium228Summary RangesEasy229Majority Element IIMedium238Product of Array Except SelfMedium239Sliding Window MaximumHard240Search a 2D Matrix IIMedium260Single Number IIIMedium268Missing NumberEasy274H-IndexMedium275H-Index IIMedium283Move ZeroesEasy284Peeking IteratorMedium287Find the Duplicate NumberMedium289Game of LifeMedium300Longest Increasing SubsequenceMedium303Range Sum Query - ImmutableEasy304Range Sum Query 2D - ImmutableMedium307Range Sum Query - MutableMedium309Best Time to Buy and Sell Stock with CooldownMedium312Burst BalloonsHard313Super Ugly NumberMedium315Count of Smaller Numbers After SelfHard318Maximum Product of Word LengthsMedium321Create Maximum NumberHard322Coin ChangeMedium324Wiggle Sort IIMedium327Count of Range SumHard329Longest Increasing Path in a MatrixHard330Patching ArrayHard334Increasing Triplet SubsequenceMedium335Self CrossingHard336Palindrome PairsHard347Top K Frequent ElementsMedium349Intersection of Two ArraysEasy350Intersection of Two Arrays IIEasy354Russian Doll EnvelopesHard363Max Sum of Rectangle No Larger Than KHard368Largest Divisible SubsetMedium373Find K Pairs with Smallest SumsMedium376Wiggle SubsequenceMedium377Combination Sum IVMedium378Kth Smallest Element in a Sorted MatrixMedium380Insert Delete GetRandom O(1)Medium381Insert Delete GetRandom O(1) - Duplicates allowedHard384Shuffle an ArrayMedium391Perfect RectangleHard393UTF-8 ValidationMedium396Rotate FunctionMedium399Evaluate DivisionMedium403Frog JumpHard406Queue Reconstruction by HeightMedium407Trapping Rain Water IIHard410Split Array Largest SumHard413Arithmetic SlicesMedium414Third Maximum NumberEasy416Partition Equal Subset SumMedium417Pacific Atlantic Water FlowMedium419Battleships in a BoardMedium421Maximum XOR of Two Numbers in an ArrayMedium427Construct Quad TreeMedium435Non-overlapping IntervalsMedium442Find All Duplicates in an ArrayMedium446Arithmetic Slices II - SubsequenceHard447Number of BoomerangsMedium448Find All Numbers Disappeared in an ArrayEasy452Minimum Number of Arrows to Burst BalloonsMedium453Minimum Moves to Equal Array ElementsMedium4544Sum IIMedium455Assign CookiesEasy456132 PatternMedium457Circular Array LoopMedium462Minimum Moves to Equal Array Elements IIMedium463Island PerimeterEasy472Concatenated WordsHard473Matchsticks to SquareMedium474Ones and ZeroesMedium475HeatersMedium477Total Hamming DistanceMedium480Sliding Window MedianHard485Max Consecutive OnesEasy486Predict the WinnerMedium491Non-decreasing SubsequencesMedium493Reverse PairsHard494Target SumMedium495Teemo AttackingEasy496Next Greater Element IEasy497Random Point in Non-overlapping RectanglesMedium498Diagonal TraverseMedium500Keyboard RowEasy502IPOHard503Next Greater Element IIMedium506Relative RanksEasy517Super Washing MachinesHard518Coin Change IIMedium522Longest Uncommon Subsequence IIMedium523Continuous Subarray SumMedium524Longest Word in Dictionary through DeletingMedium525Contiguous ArrayMedium526Beautiful ArrangementMedium528Random Pick with WeightMedium529MinesweeperMedium532K-diff Pairs in an ArrayMedium539Minimum Time DifferenceMedium540Single Element in a Sorted ArrayMedium54201 MatrixMedium546Remove BoxesHard553Optimal DivisionMedium554Brick WallMedium560Subarray Sum Equals KMedium561Array PartitionEasy565Array NestingMedium566Reshape the MatrixEasy575Distribute CandiesEasy581Shortest Unsorted Continuous SubarrayMedium587Erect the FenceHard594Longest Harmonious SubsequenceEasy598Range Addition IIEasy599Minimum Index Sum of Two ListsEasy605Can Place FlowersEasy609Find Duplicate File in SystemMedium611Valid Triangle NumberMedium621Task SchedulerMedium622Design Circular QueueMedium624Maximum Distance in ArraysMedium628Maximum Product of Three NumbersEasy630Course Schedule IIIHard632Smallest Range Covering Elements from K ListsHard636Exclusive Time of FunctionsMedium638Shopping OffersMedium641Design Circular DequeMedium643Maximum Average Subarray IEasy645Set MismatchEasy646Maximum Length of Pair ChainMedium648Replace WordsMedium654Maximum Binary TreeMedium658Find K Closest ElementsMedium659Split Array into Consecutive SubsequencesMedium661Image SmootherEasy665Non-decreasing ArrayMedium667Beautiful Arrangement IIMedium673Number of Longest Increasing SubsequenceMedium674Longest Continuous Increasing SubsequenceEasy675Cut Off Trees for Golf EventHard67924 GameHard682Baseball GameEasy689Maximum Sum of 3 Non-Overlapping SubarraysHard690Employee ImportanceMedium691Stickers to Spell WordHard692Top K Frequent WordsMedium695Max Area of IslandMedium697Degree of an ArrayEasy698Partition to K Equal Sum SubsetsMedium699Falling SquaresHard704Binary SearchEasy705Design HashSetEasy706Design HashMapEasy710Random Pick with BlacklistHard713Subarray Product Less Than KMedium714Best Time to Buy and Sell Stock with Transaction FeeMedium7171-bit and 2-bit CharactersEasy718Maximum Length of Repeated SubarrayMedium719Find K-th Smallest Pair DistanceHard720Longest Word in DictionaryMedium721Accounts MergeMedium722Remove CommentsMedium724Find Pivot IndexEasy729My Calendar IMedium731My Calendar IIMedium733Flood FillEasy735Asteroid CollisionMedium739Daily TemperaturesMedium740Delete and EarnMedium741Cherry PickupHard744Find Smallest Letter Greater Than TargetEasy745Prefix and Suffix SearchHard746Min Cost Climbing StairsEasy747Largest Number At Least Twice of OthersEasy748Shortest Completing WordEasy749Contain VirusHard752Open the LockMedium757Set Intersection Size At Least TwoHard764Largest Plus SignMedium766Toeplitz MatrixEasy768Max Chunks To Make Sorted IIHard769Max Chunks To Make SortedMedium773Sliding PuzzleHard775Global and Local InversionsMedium778Swim in Rising WaterHard781Rabbits in ForestMedium782Transform to ChessboardHard786K-th Smallest Prime FractionMedium789Escape The GhostsMedium792Number of Matching SubsequencesMedium794Valid Tic-Tac-Toe StateMedium795Number of Subarrays with Bounded MaximumMedium798Smallest Rotation with Highest ScoreHard801Minimum Swaps To Make Sequences IncreasingHard803Bricks Falling When HitHard804Unique Morse Code WordsEasy805Split Array With Same AverageHard806Number of Lines To Write StringEasy807Max Increase to Keep City SkylineMedium809Expressive WordsMedium810Chalkboard XOR GameHard811Subdomain Visit CountMedium812Largest Triangle AreaEasy813Largest Sum of AveragesMedium815Bus RoutesHard817Linked List ComponentsMedium819Most Common WordEasy820Short Encoding of WordsMedium821Shortest Distance to a CharacterEasy822Card Flipping GameMedium823Binary Trees With FactorsMedium825Friends Of Appropriate AgesMedium826Most Profit Assigning WorkMedium827Making A Large IslandHard832Flipping an ImageEasy833Find And Replace in StringMedium835Image OverlapMedium839Similar String GroupsHard840Magic Squares In GridMedium843Guess the WordHard845Longest Mountain in ArrayMedium846Hand of StraightsMedium848Shifting LettersMedium849Maximize Distance to Closest PersonMedium850Rectangle Area IIHard851Loud and RichMedium852Peak Index in a Mountain ArrayMedium853Car FleetMedium857Minimum Cost to Hire K WorkersHard860Lemonade ChangeEasy861Score After Flipping MatrixMedium862Shortest Subarray with Sum at Least KHard864Shortest Path to Get All KeysHard867Transpose MatrixEasy870Advantage ShuffleMedium871Minimum Number of Refueling StopsHard873Length of Longest Fibonacci SubsequenceMedium874Walking Robot SimulationMedium875Koko Eating BananasMedium877Stone GameMedium879Profitable SchemesHard881Boats to Save PeopleMedium883Projection Area of 3D ShapesEasy885Spiral Matrix IIIMedium888Fair Candy SwapEasy889Construct Binary Tree from Preorder and Postorder TraversalMedium890Find and Replace PatternMedium891Sum of Subsequence WidthsHard892Surface Area of 3D ShapesEasy893Groups of Special-Equivalent StringsMedium896Monotonic ArrayEasy898Bitwise ORs of SubarraysMedium900RLE IteratorMedium902Numbers At Most N Given Digit SetHard904Fruit Into BasketsMedium905Sort Array By ParityEasy907Sum of Subarray MinimumsMedium908Smallest Range IEasy909Snakes and LaddersMedium910Smallest Range IIMedium911Online ElectionMedium912Sort an ArrayMedium914X of a Kind in a Deck of CardsEasy915Partition Array into Disjoint IntervalsMedium916Word SubsetsMedium918Maximum Sum Circular SubarrayMedium922Sort Array By Parity IIEasy9233Sum With MultiplicityMedium924Minimize Malware SpreadHard927Three Equal PartsHard928Minimize Malware Spread IIHard929Unique Email AddressesEasy930Binary Subarrays With SumMedium931Minimum Falling Path SumMedium932Beautiful ArrayMedium934Shortest BridgeMedium937Reorder Data in Log FilesMedium939Minimum Area RectangleMedium941Valid Mountain ArrayEasy942DI String MatchEasy943Find the Shortest SuperstringHard944Delete Columns to Make SortedEasy945Minimum Increment to Make Array UniqueMedium946Validate Stack SequencesMedium948Bag of TokensMedium949Largest Time for Given DigitsMedium950Reveal Cards In Increasing OrderMedium952Largest Component Size by Common FactorHard953Verifying an Alien DictionaryEasy954Array of Doubled PairsMedium955Delete Columns to Make Sorted IIMedium956Tallest BillboardHard957Prison Cells After N DaysMedium959Regions Cut By SlashesMedium960Delete Columns to Make Sorted IIIHard961N-Repeated Element in Size 2N ArrayEasy962Maximum Width RampMedium963Minimum Area Rectangle IIMedium966Vowel SpellcheckerMedium969Pancake SortingMedium973K Closest Points to OriginMedium974Subarray Sums Divisible by KMedium975Odd Even JumpHard976Largest Perimeter TriangleEasy977Squares of a Sorted ArrayEasy978Longest Turbulent SubarrayMedium980Unique Paths IIIHard982Triples with Bitwise AND Equal To ZeroHard983Minimum Cost For TicketsMedium985Sum of Even Numbers After QueriesMedium986Interval List IntersectionsMedium989Add to Array-Form of IntegerEasy990Satisfiability of Equality EquationsMedium992Subarrays with K Different IntegersHard994Rotting OrangesMedium995Minimum Number of K Consecutive Bit FlipsHard996Number of Squareful ArraysHard997Find the Town JudgeEasy999Available Captures for RookEasy1000Minimum Cost to Merge StonesHard1001Grid IlluminationHard1002Find Common CharactersEasy1004Max Consecutive Ones IIIMedium1005Maximize Sum Of Array After K NegationsEasy1007Minimum Domino Rotations For Equal RowMedium1008Construct Binary Search Tree from Preorder TraversalMedium1010Pairs of Songs With Total Durations Divisible by 60Medium1011Capacity To Ship Packages Within D DaysMedium1013Partition Array Into Three Parts With Equal SumEasy1014Best Sightseeing PairMedium1018Binary Prefix Divisible By 5Easy1019Next Greater Node In Linked ListMedium1020Number of EnclavesMedium1023Camelcase MatchingMedium1024Video StitchingMedium1027Longest Arithmetic SubsequenceMedium1029Two City SchedulingMedium1030Matrix Cells in Distance OrderEasy1031Maximum Sum of Two Non-Overlapping SubarraysMedium1032Stream of CharactersHard1034Coloring A BorderMedium1035Uncrossed LinesMedium1036Escape a Large MazeHard1037Valid BoomerangEasy1039Minimum Score Triangulation of PolygonMedium1040Moving Stones Until Consecutive IIMedium1043Partition Array for Maximum SumMedium1046Last Stone WeightEasy1048Longest String ChainMedium1049Last Stone Weight IIMedium1051Height CheckerEasy1052Grumpy Bookstore OwnerMedium1053Previous Permutation With One SwapMedium1054Distant BarcodesMedium1072Flip Columns For Maximum Number of Equal RowsMedium1073Adding Two Negabinary NumbersMedium1074Number of Submatrices That Sum to TargetHard1089Duplicate ZerosEasy1090Largest Values From LabelsMedium1091Shortest Path in Binary MatrixMedium1093Statistics from a Large SampleMedium1094Car PoolingMedium1095Find in Mountain ArrayHard1105Filling Bookcase ShelvesMedium1109Corporate Flight BookingsMedium1110Delete Nodes And Return ForestMedium1122Relative Sort ArrayEasy1124Longest Well-Performing IntervalMedium1125Smallest Sufficient TeamHard1128Number of Equivalent Domino PairsEasy1130Minimum Cost Tree From Leaf ValuesMedium1131Maximum of Absolute Value ExpressionMedium1139Largest 1-Bordered SquareMedium1140Stone Game IIMedium1144Decrease Elements To Make Array ZigzagMedium1146Snapshot ArrayMedium1157Online Majority Element In SubarrayHard1160Find Words That Can Be Formed by CharactersEasy1162As Far from Land as PossibleMedium1169Invalid TransactionsMedium1170Compare Strings by Frequency of the Smallest CharacterMedium1177Can Make Palindrome from SubstringMedium1178Number of Valid Words for Each PuzzleHard1184Distance Between Bus StopsEasy1186Maximum Subarray Sum with One DeletionMedium1187Make Array Strictly IncreasingHard1191K-Concatenation Maximum SumMedium1200Minimum Absolute DifferenceEasy1202Smallest String With SwapsMedium1207Unique Number of OccurrencesEasy1210Minimum Moves to Reach Target with RotationsHard1217Minimum Cost to Move Chips to The Same PositionEasy1218Longest Arithmetic Subsequence of Given DifferenceMedium1219Path with Maximum GoldMedium1222Queens That Can Attack the KingMedium1223Dice Roll SimulationHard1224Maximum Equal FrequencyHard1232Check If It Is a Straight LineEasy1233Remove Sub-Folders from the FilesystemMedium1235Maximum Profit in Job SchedulingHard1239Maximum Length of a Concatenated String with Unique CharactersMedium1248Count Number of Nice SubarraysMedium1250Check If It Is a Good ArrayHard1252Cells with Odd Values in a MatrixEasy1253Reconstruct a 2-Row Binary MatrixMedium1254Number of Closed IslandsMedium1255Maximum Score Words Formed by LettersHard1260Shift 2D GridEasy1262Greatest Sum Divisible by ThreeMedium1263Minimum Moves to Move a Box to Their Target LocationHard1266Minimum Time Visiting All PointsEasy1267Count Servers that CommunicateMedium1268Search Suggestions SystemMedium1275Find Winner on a Tic Tac Toe GameEasy1277Count Square Submatrices with All OnesMedium1282Group the People Given the Group Size They Belong ToMedium1283Find the Smallest Divisor Given a ThresholdMedium1284Minimum Number of Flips to Convert Binary Matrix to Zero MatrixHard1287Element Appearing More Than 25% In Sorted ArrayEasy1288Remove Covered IntervalsMedium1289Minimum Falling Path Sum IIHard1292Maximum Side Length of a Square with Sum Less than or Equal to ThresholdMedium1293Shortest Path in a Grid with Obstacles EliminationHard1295Find Numbers with Even Number of DigitsEasy1296Divide Array in Sets of K Consecutive NumbersMedium1298Maximum Candies You Can Get from BoxesHard1299Replace Elements with Greatest Element on Right SideEasy1300Sum of Mutated Array Closest to TargetMedium1301Number of Paths with Max ScoreHard1304Find N Unique Integers Sum up to ZeroEasy1306Jump Game IIIMedium1307Verbal Arithmetic PuzzleHard1310XOR Queries of a SubarrayMedium1311Get Watched Videos by Your FriendsMedium1313Decompress Run-Length Encoded ListEasy1314Matrix Block SumMedium1324Print Words VerticallyMedium1326Minimum Number of Taps to Open to Water a GardenHard1329Sort the Matrix DiagonallyMedium1330Reverse Subarray To Maximize Array ValueHard1331Rank Transform of an ArrayEasy1333Filter Restaurants by Vegan-Friendly, Price and DistanceMedium1335Minimum Difficulty of a Job ScheduleHard1337The K Weakest Rows in a MatrixEasy1338Reduce Array Size to The HalfMedium1340Jump Game VHard1343Number of Sub-arrays of Size K and Average Greater than or Equal to ThresholdMedium1345Jump Game IVHard1346Check If N and Its Double ExistEasy1349Maximum Students Taking ExamHard1351Count Negative Numbers in a Sorted MatrixEasy1352Product of the Last K NumbersMedium1353Maximum Number of Events That Can Be AttendedMedium1354Construct Target Array With Multiple SumsHard1356Sort Integers by The Number of 1 BitsEasy1357Apply Discount Every n OrdersMedium1363Largest Multiple of ThreeHard1365How Many Numbers Are Smaller Than the Current NumberEasy1366Rank Teams by VotesMedium1368Minimum Cost to Make at Least One Valid Path in a GridHard1375Number of Times Binary String Is Prefix-AlignedMedium1380Lucky Numbers in a MatrixEasy1381Design a Stack With Increment OperationMedium1383Maximum Performance of a TeamHard1385Find the Distance Value Between Two ArraysEasy1386Cinema Seat AllocationMedium1388Pizza With 3n SlicesHard1389Create Target Array in the Given OrderEasy1390Four DivisorsMedium1391Check if There is a Valid Path in a GridMedium1394Find Lucky Integer in an ArrayEasy1395Count Number of TeamsMedium1402Reducing DishesHard1403Minimum Subsequence in Non-Increasing OrderEasy1406Stone Game IIIHard1408String Matching in an ArrayEasy1409Queries on a Permutation With KeyMedium1413Minimum Value to Get Positive Step by Step SumEasy1418Display Table of Food Orders in a RestaurantMedium1423Maximum Points You Can Obtain from CardsMedium1424Diagonal Traverse IIMedium1425Constrained Subsequence SumHard1431Kids With the Greatest Number of CandiesEasy1434Number of Ways to Wear Different Hats to Each OtherHard1436Destination CityEasy1437Check If All 1's Are at Least Length K Places AwayEasy1438Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMedium1439Find the Kth Smallest Sum of a Matrix With Sorted RowsHard1441Build an Array With Stack OperationsMedium1442Count Triplets That Can Form Two Arrays of Equal XORMedium1444Number of Ways of Cutting a PizzaHard1449Form Largest Integer With Digits That Add up to TargetHard1450Number of Students Doing Homework at a Given TimeEasy1452People Whose List of Favorite Companies Is Not a Subset of Another ListMedium1453Maximum Number of Darts Inside of a Circular DartboardHard1458Max Dot Product of Two SubsequencesHard1460Make Two Arrays Equal by Reversing SubarraysEasy1463Cherry Pickup IIHard1464Maximum Product of Two Elements in an ArrayEasy1465Maximum Area of a Piece of Cake After Horizontal and Vertical CutsMedium1467Probability of a Two Boxes Having The Same Number of Distinct BallsHard1470Shuffle the ArrayEasy1471The k Strongest Values in an ArrayMedium1472Design Browser HistoryMedium1473Paint House IIIHard1475Final Prices With a Special Discount in a ShopEasy1476Subrectangle QueriesMedium1477Find Two Non-overlapping Sub-arrays Each With Target SumMedium1478Allocate MailboxesHard1480Running Sum of 1d ArrayEasy1481Least Number of Unique Integers after K RemovalsMedium1482Minimum Number of Days to Make m BouquetsMedium1487Making File Names UniqueMedium1488Avoid Flood in The CityMedium1491Average Salary Excluding the Minimum and Maximum SalaryEasy1493Longest Subarray of 1's After Deleting One ElementMedium1497Check If Array Pairs Are Divisible by kMedium1498Number of Subsequences That Satisfy the Given Sum ConditionMedium1499Max Value of EquationHard1502Can Make Arithmetic Progression From SequenceEasy1503Last Moment Before All Ants Fall Out of a PlankMedium1504Count Submatrices With All OnesMedium1508Range Sum of Sorted Subarray SumsMedium1509Minimum Difference Between Largest and Smallest Value in Three MovesMedium1512Number of Good PairsEasy1514Path with Maximum ProbabilityMedium1515Best Position for a Service CentreHard1521Find a Value of a Mysterious Function Closest to TargetHard1524Number of Sub-arrays With Odd SumMedium1526Minimum Number of Increments on Subarrays to Form a Target ArrayHard1528Shuffle StringEasy1534Count Good TripletsEasy1535Find the Winner of an Array GameMedium1536Minimum Swaps to Arrange a Binary GridMedium1537Get the Maximum ScoreHard1539Kth Missing Positive NumberEasy1546Maximum Number of Non-Overlapping Subarrays With Sum Equals TargetMedium1547Minimum Cost to Cut a StickHard1550Three Consecutive OddsEasy1552Magnetic Force Between Two BallsMedium1558Minimum Numbers of Function Calls to Make Target ArrayMedium1559Detect Cycles in 2D GridMedium1560Most Visited Sector in a Circular TrackEasy1561Maximum Number of Coins You Can GetMedium1562Find Latest Group of Size MMedium1563Stone Game VHard1566Detect Pattern of Length M Repeated K or More TimesEasy1567Maximum Length of Subarray With Positive ProductMedium1568Minimum Number of Days to Disconnect IslandHard1569Number of Ways to Reorder Array to Get Same BSTHard1572Matrix Diagonal SumEasy1574Shortest Subarray to be Removed to Make Array SortedMedium1575Count All Possible RoutesHard1577Number of Ways Where Square of Number Is Equal to Product of Two NumbersMedium1578Minimum Time to Make Rope ColorfulMedium1582Special Positions in a Binary MatrixEasy1583Count Unhappy FriendsMedium1584Min Cost to Connect All PointsMedium1588Sum of All Odd Length SubarraysEasy1589Maximum Sum Obtained of Any PermutationMedium1590Make Sum Divisible by PMedium1591Strange Printer IIHard1594Maximum Non Negative Product in a MatrixMedium1595Minimum Cost to Connect Two Groups of PointsHard1598Crawler Log FolderEasy1599Maximum Profit of Operating a Centennial WheelMedium1601Maximum Number of Achievable Transfer RequestsHard1604Alert Using Same Key-Card Three or More Times in a One Hour PeriodMedium1605Find Valid Matrix Given Row and Column SumsMedium1606Find Servers That Handled Most Number of RequestsHard1608Special Array With X Elements Greater Than or Equal XEasy1610Maximum Number of Visible PointsHard1619Mean of Array After Removing Some ElementsEasy1620Coordinate With Maximum Network QualityMedium1626Best Team With No ConflictsMedium1627Graph Connectivity With ThresholdHard1629Slowest KeyEasy1630Arithmetic SubarraysMedium1631Path With Minimum EffortMedium1632Rank Transform of a MatrixHard1636Sort Array by Increasing FrequencyEasy1637Widest Vertical Area Between Two Points Containing No PointsEasy1639Number of Ways to Form a Target String Given a DictionaryHard1640Check Array Formation Through ConcatenationEasy1642Furthest Building You Can ReachMedium1643Kth Smallest InstructionsHard1646Get Maximum in Generated ArrayEasy1648Sell Diminishing-Valued Colored BallsMedium1649Create Sorted Array through InstructionsHard1652Defuse the BombEasy1654Minimum Jumps to Reach HomeMedium1655Distribute Repeating IntegersHard1656Design an Ordered StreamEasy1658Minimum Operations to Reduce X to ZeroMedium1662Check If Two String Arrays are EquivalentEasy1664Ways to Make a Fair ArrayMedium1665Minimum Initial Energy to Finish TasksHard1670Design Front Middle Back QueueMedium1671Minimum Number of Removals to Make Mountain ArrayHard1672Richest Customer WealthEasy1673Find the Most Competitive SubsequenceMedium1674Minimum Moves to Make Array ComplementaryMedium1675Minimize Deviation in ArrayHard1679Max Number of K-Sum PairsMedium1681Minimum IncompatibilityHard1684Count the Number of Consistent StringsEasy1685Sum of Absolute Differences in a Sorted ArrayMedium1686Stone Game VIMedium1687Delivering Boxes from Storage to PortsHard1690Stone Game VIIMedium1691Maximum Height by Stacking Cuboids Hard1695Maximum Erasure ValueMedium1696Jump Game VIMedium1697Checking Existence of Edge Length Limited PathsHard1700Number of Students Unable to Eat LunchEasy1701Average Waiting TimeMedium1703Minimum Adjacent Swaps for K Consecutive OnesHard1705Maximum Number of Eaten ApplesMedium1706Where Will the Ball FallMedium1707Maximum XOR With an Element From ArrayHard1710Maximum Units on a TruckEasy1711Count Good MealsMedium1712Ways to Split Array Into Three SubarraysMedium1713Minimum Operations to Make a SubsequenceHard1718Construct the Lexicographically Largest Valid SequenceMedium1720Decode XORed ArrayEasy1722Minimize Hamming Distance After Swap OperationsMedium1723Find Minimum Time to Finish All JobsHard1725Number Of Rectangles That Can Form The Largest SquareEasy1726Tuple with Same ProductMedium1727Largest Submatrix With RearrangementsMedium1728Cat and Mouse IIHard1732Find the Highest AltitudeEasy1733Minimum Number of People to TeachMedium1734Decode XORed PermutationMedium1735Count Ways to Make Array With ProductHard1738Find Kth Largest XOR Coordinate ValueMedium1743Restore the Array From Adjacent PairsMedium1744Can You Eat Your Favorite Candy on Your Favorite Day?Medium1748Sum of Unique ElementsEasy1749Maximum Absolute Sum of Any SubarrayMedium1751Maximum Number of Events That Can Be Attended IIHard1752Check if Array Is Sorted and RotatedEasy1755Closest Subsequence SumHard1760Minimum Limit of Balls in a BagMedium1764Form Array by Concatenating Subarrays of Another ArrayMedium1765Map of Highest PeakMedium1766Tree of CoprimesHard1769Minimum Number of Operations to Move All Balls to Each BoxMedium1770Maximum Score from Performing Multiplication OperationsHard1773Count Items Matching a RuleEasy1774Closest Dessert CostMedium1775Equal Sum Arrays With Minimum Number of OperationsMedium1776Car Fleet IIHard1779Find Nearest Point That Has the Same X or Y CoordinateEasy1782Count Pairs Of NodesHard1785Minimum Elements to Add to Form a Given SumMedium1787Make the XOR of All Segments Equal to ZeroHard1792Maximum Average Pass RatioMedium1793Maximum Score of a Good SubarrayHard1798Maximum Number of Consecutive Values You Can MakeMedium1799Maximize Score After N OperationsHard1800Maximum Ascending Subarray SumEasy1801Number of Orders in the BacklogMedium1803Count Pairs With XOR in a RangeHard1806Minimum Number of Operations to Reinitialize a PermutationMedium1807Evaluate the Bracket Pairs of a StringMedium1813Sentence Similarity IIIMedium1814Count Nice Pairs in an ArrayMedium1815Maximum Number of Groups Getting Fresh DonutsHard1816Truncate SentenceEasy1817Finding the Users Active MinutesMedium1818Minimum Absolute Sum DifferenceMedium1819Number of Different Subsequences GCDsHard1822Sign of the Product of an ArrayEasy1823Find the Winner of the Circular GameMedium1824Minimum Sideway JumpsMedium1827Minimum Operations to Make the Array IncreasingEasy1828Queries on Number of Points Inside a CircleMedium1829Maximum XOR for Each QueryMedium1833Maximum Ice Cream BarsMedium1834Single-Threaded CPUMedium1835Find XOR Sum of All Pairs Bitwise ANDHard1838Frequency of the Most Frequent ElementMedium1840Maximum Building HeightHard1846Maximum Element After Decreasing and RearrangingMedium1847Closest RoomHard1848Minimum Distance to the Target ElementEasy1851Minimum Interval to Include Each QueryHard1854Maximum Population YearEasy1855Maximum Distance Between a Pair of ValuesMedium1856Maximum Subarray Min-ProductMedium1861Rotating the BoxMedium1862Sum of Floored PairsHard1863Sum of All Subset XOR TotalsEasy1865Finding Pairs With a Certain SumMedium1870Minimum Speed to Arrive on TimeMedium1872Stone Game VIIIHard1877Minimize Maximum Pair Sum in ArrayMedium1878Get Biggest Three Rhombus Sums in a GridMedium1879Minimum XOR Sum of Two ArraysHard1882Process Tasks Using ServersMedium1883Minimum Skips to Arrive at Meeting On TimeHard1886Determine Whether Matrix Can Be Obtained By RotationEasy1887Reduction Operations to Make the Array Elements EqualMedium1889Minimum Space Wasted From PackagingHard1893Check if All the Integers in a Range Are CoveredEasy1894Find the Student that Will Replace the ChalkMedium1895Largest Magic SquareMedium1898Maximum Number of Removable CharactersMedium1899Merge Triplets to Form Target TripletMedium1901Find a Peak Element IIMedium1905Count Sub IslandsMedium1906Minimum Absolute Difference QueriesMedium1909Remove One Element to Make the Array Strictly IncreasingEasy1911Maximum Alternating Subsequence SumMedium1912Design Movie Rental SystemHard1913Maximum Product Difference Between Two PairsEasy1914Cyclically Rotating a GridMedium1920Build Array from PermutationEasy1921Eliminate Maximum Number of MonstersMedium1923Longest Common SubpathHard1926Nearest Exit from Entrance in MazeMedium1928Minimum Cost to Reach Destination in TimeHard1929Concatenation of ArrayEasy1936Add Minimum Number of RungsMedium1937Maximum Number of Points with CostMedium1938Maximum Genetic Difference QueryHard1942The Number of the Smallest Unoccupied ChairMedium1943Describe the PaintingMedium1944Number of Visible People in a QueueHard1946Largest Number After Mutating SubstringMedium1947Maximum Compatibility Score SumMedium1948Delete Duplicate Folders in SystemHard1953Maximum Number of Weeks for Which You Can WorkMedium1955Count Number of Special SubsequencesHard1958Check if Move is LegalMedium1959Minimum Total Space Wasted With K Resizing OperationsMedium1961Check If String Is a Prefix of ArrayEasy1962Remove Stones to Minimize the TotalMedium1964Find the Longest Valid Obstacle Course at Each PositionHard1967Number of Strings That Appear as Substrings in WordEasy1968Array With Elements Not Equal to Average of NeighborsMedium1970Last Day Where You Can Still CrossHard1975Maximum Matrix SumMedium1979Find Greatest Common Divisor of ArrayEasy1980Find Unique Binary StringMedium1981Minimize the Difference Between Target and Chosen ElementsMedium1982Find Array Given Subset SumsHard1984Minimum Difference Between Highest and Lowest of K ScoresEasy1985Find the Kth Largest Integer in the ArrayMedium1986Minimum Number of Work Sessions to Finish the TasksMedium1991Find the Middle Index in ArrayEasy1992Find All Groups of FarmlandMedium1993Operations on TreeMedium1994The Number of Good SubsetsHard1995Count Special QuadrupletsEasy1996The Number of Weak Characters in the GameMedium1997First Day Where You Have Been in All the RoomsMedium1998GCD Sort of an ArrayHard2001Number of Pairs of Interchangeable RectanglesMedium2006Count Number of Pairs With Absolute Difference KEasy2007Find Original Array From Doubled ArrayMedium2008Maximum Earnings From TaxiMedium2009Minimum Number of Operations to Make Array ContinuousHard2011Final Value of Variable After Performing OperationsEasy2012Sum of Beauty in the ArrayMedium2013Detect SquaresMedium2016Maximum Difference Between Increasing ElementsEasy2017Grid GameMedium2018Check if Word Can Be Placed In CrosswordMedium2019The Score of Students Solving Math ExpressionHard2022Convert 1D Array Into 2D ArrayEasy2023Number of Pairs of Strings With Concatenation Equal to TargetMedium2025Maximum Number of Ways to Partition an ArrayHard2028Find Missing ObservationsMedium2029Stone Game IXMedium2032Two Out of ThreeEasy2033Minimum Operations to Make a Uni-Value GridMedium2035Partition Array Into Two Arrays to Minimize Sum DifferenceHard2037Minimum Number of Moves to Seat EveryoneEasy2039The Time When the Network Becomes IdleMedium2040Kth Smallest Product of Two Sorted ArraysHard2043Simple Bank SystemMedium2044Count Number of Maximum Bitwise-OR SubsetsMedium2049Count Nodes With the Highest ScoreMedium2050Parallel Courses IIIHard2053Kth Distinct String in an ArrayEasy2054Two Best Non-Overlapping EventsMedium2055Plates Between CandlesMedium2056Number of Valid Move Combinations On ChessboardHard2057Smallest Index With Equal ValueEasy2059Minimum Operations to Convert NumberMedium2064Minimized Maximum of Products Distributed to Any StoreMedium2065Maximum Path Quality of a GraphHard2070Most Beautiful Item for Each QueryMedium2071Maximum Number of Tasks You Can AssignHard2073Time Needed to Buy TicketsEasy2078Two Furthest Houses With Different ColorsEasy2079Watering PlantsMedium2080Range Frequency QueriesMedium2085Count Common Words With One OccurrenceEasy2087Minimum Cost Homecoming of a Robot in a GridMedium2088Count Fertile Pyramids in a LandHard2089Find Target Indices After Sorting ArrayEasy2090K Radius Subarray AveragesMedium2091Removing Minimum and Maximum From ArrayMedium2094Finding 3-Digit Even NumbersEasy2099Find Subsequence of Length K With the Largest SumEasy2100Find Good Days to Rob the BankMedium2101Detonate the Maximum BombsMedium2104Sum of Subarray RangesMedium2105Watering Plants IIMedium2106Maximum Fruits Harvested After at Most K StepsHard2108Find First Palindromic String in the ArrayEasy2109Adding Spaces to a StringMedium2110Number of Smooth Descent Periods of a StockMedium2111Minimum Operations to Make the Array K-IncreasingHard2114Maximum Number of Words Found in SentencesEasy2115Find All Possible Recipes from Given SuppliesMedium2121Intervals Between Identical ElementsMedium2122Recover the Original ArrayHard2125Number of Laser Beams in a BankMedium2126Destroying AsteroidsMedium2131Longest Palindrome by Concatenating Two Letter WordsMedium2132Stamping the GridHard2133Check if Every Row and Column Contains All NumbersEasy2134Minimum Swaps to Group All 1's Together IIMedium2135Count Words Obtained After Adding a LetterMedium2136Earliest Possible Day of Full BloomHard2140Solving Questions With BrainpowerMedium2141Maximum Running Time of N ComputersHard2144Minimum Cost of Buying Candies With DiscountEasy2145Count the Hidden SequencesMedium2146K Highest Ranked Items Within a Price RangeMedium2148Count Elements With Strictly Smaller and Greater Elements Easy2149Rearrange Array Elements by SignMedium2150Find All Lonely Numbers in the ArrayMedium2151Maximum Good People Based on StatementsHard2154Keep Multiplying Found Values by TwoEasy2155All Divisions With the Highest Score of a Binary ArrayMedium2161Partition Array According to Given PivotMedium2163Minimum Difference in Sums After Removal of ElementsHard2164Sort Even and Odd Indices IndependentlyEasy2166Design BitsetMedium2170Minimum Operations to Make the Array AlternatingMedium2171Removing Minimum Number of Magic BeansMedium2172Maximum AND Sum of ArrayHard2176Count Equal and Divisible Pairs in an ArrayEasy2179Count Good Triplets in an ArrayHard2183Count Array Pairs Divisible by KHard2185Counting Words With a Given PrefixEasy2187Minimum Time to Complete TripsMedium2188Minimum Time to Finish the RaceHard2190Most Frequent Number Following Key In an ArrayEasy2191Sort the Jumbled NumbersMedium2195Append K Integers With Minimal SumMedium2196Create Binary Tree From DescriptionsMedium2197Replace Non-Coprime Numbers in ArrayHard2200Find All K-Distant Indices in an ArrayEasy2201Count Artifacts That Can Be ExtractedMedium2202Maximize the Topmost Element After K MovesMedium2206Divide Array Into Equal PairsEasy2208Minimum Operations to Halve Array SumMedium2210Count Hills and Valleys in an ArrayEasy2212Maximum Points in an Archery CompetitionMedium2213Longest Substring of One Repeating CharacterHard2215Find the Difference of Two ArraysEasy2216Minimum Deletions to Make Array BeautifulMedium2217Find Palindrome With Fixed LengthMedium2218Maximum Value of K Coins From PilesHard2221Find Triangular Sum of an ArrayMedium2225Find Players With Zero or One LossesMedium2226Maximum Candies Allocated to K ChildrenMedium2227Encrypt and Decrypt StringsHard2233Maximum Product After K IncrementsMedium2234Maximum Total Beauty of the GardensHard2239Find Closest Number to ZeroEasy2241Design an ATM MachineMedium2242Maximum Score of a Node SequenceHard2244Minimum Rounds to Complete All TasksMedium2245Maximum Trailing Zeros in a Cornered PathMedium2246Longest Path With Different Adjacent CharactersHard2248Intersection of Multiple ArraysEasy2249Count Lattice Points Inside a CircleMedium2250Count Number of Rectangles Containing Each PointMedium2251Number of Flowers in Full BloomHard2255Count Prefixes of a Given StringEasy2256Minimum Average DifferenceMedium2257Count Unguarded Cells in the GridMedium2258Escape the Spreading FireHard2260Minimum Consecutive Cards to Pick UpMedium2261K Divisible Elements SubarraysMedium2267 Check if There Is a Valid Parentheses String PathHard2270Number of Ways to Split ArrayMedium2271Maximum White Tiles Covered by a CarpetMedium2272Substring With Largest VarianceHard2273Find Resultant Array After Removing AnagramsEasy2274Maximum Consecutive Floors Without Special FloorsMedium2275Largest Combination With Bitwise AND Greater Than ZeroMedium2279Maximum Bags With Full Capacity of RocksMedium2280Minimum Lines to Represent a Line ChartMedium2281Sum of Total Strength of WizardsHard2284Sender With Largest Word CountMedium2289Steps to Make Array Non-decreasingMedium2290Minimum Obstacle Removal to Reach CornerHard2293Min Max GameEasy2294Partition Array Such That Maximum Difference Is KMedium2295Replace Elements in an ArrayMedium2300Successful Pairs of Spells and PotionsMedium2301Match Substring After ReplacementHard2302Count Subarrays With Score Less Than KHard2303Calculate Amount Paid in TaxesEasy2304Minimum Path Cost in a GridMedium2305Fair Distribution of CookiesMedium2306Naming a CompanyHard2312Selling Pieces of WoodHard2317Maximum XOR After Operations Medium2319Check if Matrix Is X-MatrixEasy2321Maximum Score Of Spliced ArrayHard2322Minimum Score After Removals on a TreeHard2326Spiral Matrix IVMedium2328Number of Increasing Paths in a GridHard2332The Latest Time to Catch a BusMedium2333Minimum Sum of Squared DifferenceMedium2334Subarray With Elements Greater Than Varying ThresholdHard2335Minimum Amount of Time to Fill CupsEasy2341Maximum Number of Pairs in ArrayEasy2342Max Sum of a Pair With Equal Sum of DigitsMedium2343Query Kth Smallest Trimmed NumberMedium2344Minimum Deletions to Make Array DivisibleHard2347Best Poker HandEasy2348Number of Zero-Filled SubarraysMedium2350Shortest Impossible Sequence of RollsHard2352Equal Row and Column PairsMedium2353Design a Food Rating SystemMedium2354Number of Excellent PairsHard2357Make Array Zero by Subtracting Equal AmountsEasy2358Maximum Number of Groups Entering a CompetitionMedium2363Merge Similar ItemsEasy2364Count Number of Bad PairsMedium2365Task Scheduler IIMedium2366Minimum Replacements to Sort the ArrayHard2367Number of Arithmetic TripletsEasy2368Reachable Nodes With RestrictionsMedium2369Check if There is a Valid Partition For The ArrayMedium2373Largest Local Values in a MatrixEasy2381Shifting Letters IIMedium2382Maximum Segment Sum After RemovalsHard2383Minimum Hours of Training to Win a CompetitionEasy2386Find the K-Sum of an ArrayHard2389Longest Subsequence With Limited SumEasy2391Minimum Amount of Time to Collect GarbageMedium2392Build a Matrix With ConditionsHard2395Find Subarrays With Equal SumEasy2397Maximum Rows Covered by ColumnsMedium2398Maximum Number of Robots Within BudgetHard2399Check Distances Between Same LettersEasy2401Longest Nice SubarrayMedium2402Meeting Rooms IIIHard2404Most Frequent Even ElementEasy2406Divide Intervals Into Minimum Number of GroupsMedium2407Longest Increasing Subsequence IIHard2410Maximum Matching of Players With TrainersMedium2411Smallest Subarrays With Maximum Bitwise ORMedium2412Minimum Money Required Before TransactionsHard2416Sum of Prefix Scores of StringsHard2418Sort the PeopleEasy2419Longest Subarray With Maximum Bitwise ANDMedium2420Find All Good IndicesMedium2421Number of Good PathsHard2425Bitwise XOR of All PairingsMedium2426Number of Pairs Satisfying InequalityHard2428Maximum Sum of an HourglassMedium2432The Employee That Worked on the Longest TaskEasy2433Find The Original Array of Prefix XorMedium2435Paths in Matrix Whose Sum Is Divisible by KHard2438Range Product Queries of PowersMedium2439Minimize Maximum of ArrayMedium2440Create Components With Same ValueHard2441Largest Positive Integer That Exists With Its NegativeEasy2442Count Number of Distinct Integers After Reverse OperationsMedium2444Count Subarrays With Fixed BoundsHard2446Determine if Two Events Have ConflictEasy2447Number of Subarrays With GCD Equal to KMedium2448Minimum Cost to Make Array EqualHard2449Minimum Number of Operations to Make Arrays SimilarHard2451Odd String DifferenceEasy2452Words Within Two Edits of DictionaryMedium2453Destroy Sequential TargetsMedium2454Next Greater Element IVHard2455Average Value of Even Numbers That Are Divisible by ThreeEasy2456Most Popular Video CreatorMedium2458Height of Binary Tree After Subtree Removal QueriesHard2460Apply Operations to an ArrayEasy2461Maximum Sum of Distinct Subarrays With Length KMedium2462Total Cost to Hire K WorkersMedium2463Minimum Total Distance TraveledHard2465Number of Distinct AveragesEasy2467Most Profitable Path in a TreeMedium2470Number of Subarrays With LCM Equal to KMedium2475Number of Unequal Triplets in ArrayEasy2476Closest Nodes Queries in a Binary Search TreeMedium2482Difference Between Ones and Zeros in Row and ColumnMedium2488Count Subarrays With Median KHard2491Divide Players Into Teams of Equal SkillMedium2496Maximum Value of a String in an ArrayEasy2497Maximum Star Sum of a GraphMedium2498Frog Jump IIMedium2499Minimum Total Cost to Make Arrays UnequalHard2500Delete Greatest Value in Each RowEasy2501Longest Square Streak in an ArrayMedium2502Design Memory AllocatorMedium2503Maximum Number of Points From Grid QueriesHard2506Count Pairs Of Similar StringsEasy2509Cycle Length Queries in a TreeHard2511Maximum Enemy Forts That Can Be CapturedEasy2512Reward Top K StudentsMedium2515Shortest Distance to Target String in a Circular ArrayEasy2517Maximum Tastiness of Candy BasketMedium2518Number of Great PartitionsHard2521Distinct Prime Factors of Product of ArrayMedium2527Find Xor-Beauty of ArrayMedium2528Maximize the Minimum Powered CityHard2529Maximum Count of Positive Integer and Negative IntegerEasy2530Maximal Score After Applying K OperationsMedium2532Time to Cross a BridgeHard2535Difference Between Element Sum and Digit Sum of an ArrayEasy2536Increment Submatrices by OneMedium2537Count the Number of Good SubarraysMedium2538Difference Between Maximum and Minimum Price SumHard2540Minimum Common ValueEasy2541Minimum Operations to Make Array Equal IIMedium2542Maximum Subsequence ScoreMedium2545Sort the Students by Their Kth ScoreMedium2547Minimum Cost to Split an ArrayHard2549Count Distinct Numbers on BoardEasy2551Put Marbles in BagsHard2552Count Increasing QuadrupletsHard2553Separate the Digits in an ArrayEasy2554Maximum Number of Integers to Choose From a Range IMedium2555Maximize Win From Two SegmentsMedium2556Disconnect Path in a Binary Matrix by at Most One FlipMedium2558Take Gifts From the Richest PileEasy2559Count Vowel Strings in RangesMedium2560House Robber IVMedium2561Rearranging FruitsHard2562Find the Array Concatenation ValueEasy2563Count the Number of Fair PairsMedium2564Substring XOR QueriesMedium2567Minimum Score by Changing Two ElementsMedium2568Minimum Impossible ORMedium2569Handling Sum Queries After UpdateHard2570Merge Two 2D Arrays by Summing ValuesEasy2572Count the Number of Square-Free SubsetsMedium2573Find the String with LCPHard2574Left and Right Sum DifferencesEasy2575Find the Divisibility Array of a StringMedium2576Find the Maximum Number of Marked IndicesMedium2577Minimum Time to Visit a Cell In a GridHard2580Count Ways to Group Overlapping RangesMedium2581Count Number of Possible Root NodesHard2584Split the Array to Make Coprime ProductsHard2585Number of Ways to Earn PointsHard2586Count the Number of Vowel Strings in RangeEasy2587Rearrange Array to Maximize Prefix ScoreMedium2588Count the Number of Beautiful SubarraysMedium2589Minimum Time to Complete All TasksHard2592Maximize Greatness of an ArrayMedium2593Find Score of an Array After Marking All ElementsMedium2594Minimum Time to Repair CarsMedium2596Check Knight Tour ConfigurationMedium2597The Number of Beautiful SubsetsMedium2598Smallest Missing Non-negative Integer After OperationsMedium2601Prime Subtraction OperationMedium2602Minimum Operations to Make All Array Elements EqualMedium2603Collect Coins in a TreeHard2605Form Smallest Number From Two Digit ArraysEasy2606Find the Substring With Maximum CostMedium2607Make K-Subarray Sums EqualMedium2610Convert an Array Into a 2D Array With ConditionsMedium2611Mice and CheeseMedium2612Minimum Reverse OperationsHard2614Prime In DiagonalEasy2615Sum of DistancesMedium2616Minimize the Maximum Difference of PairsMedium2617Minimum Number of Visited Cells in a GridHard2639Find the Width of Columns of a GridEasy2640Find the Score of All Prefixes of an ArrayMedium2643Row With Maximum OnesEasy2644Find the Maximum Divisibility ScoreEasy2646Minimize the Total Price of the TripsHard2653Sliding Subarray BeautyMedium2654Minimum Number of Operations to Make All Array Elements Equal to 1Medium2656Maximum Sum With Exactly K Elements Easy2657Find the Prefix Common Array of Two ArraysMedium2658Maximum Number of Fish in a GridMedium2659Make Array EmptyHard2660Determine the Winner of a Bowling GameEasy2661First Completely Painted Row or ColumnMedium2662Minimum Cost of a Path With Special RoadsMedium2670Find the Distinct Difference ArrayEasy2672Number of Adjacent Elements With the Same ColorMedium2673Make Costs of Paths Equal in a Binary TreeMedium2678Number of Senior CitizensEasy2679Sum in a MatrixMedium2680Maximum ORMedium2681Power of HeroesHard2682Find the Losers of the Circular GameEasy2683Neighboring Bitwise XORMedium2684Maximum Number of Moves in a GridMedium2706Buy Two ChocolatesEasy2707Extra Characters in a StringMedium2708Maximum Strength of a GroupMedium2709Greatest Common Divisor TraversalHard2711Difference of Number of Distinct Values on DiagonalsMedium2713Maximum Strictly Increasing Cells in a MatrixHard2717Semi-Ordered PermutationEasy2718Sum of Matrix After QueriesMedium2731Movement of RobotsMedium2732Find a Good Subset of the MatrixHard2733Neither Minimum nor MaximumEasy2735Collecting ChocolatesMedium2736Maximum Sum QueriesHard2740Find the Value of the PartitionMedium2741Special PermutationsMedium2742Painting the WallsHard2744Find Maximum Number of String PairsEasy2746Decremental String ConcatenationMedium2747Count Zero Request ServersMedium2748Number of Beautiful PairsEasy2750Ways to Split Array Into Good SubarraysMedium2751Robot CollisionsHard2760Longest Even Odd Subarray With ThresholdEasy2761Prime Pairs With Target SumMedium2762Continuous SubarraysMedium2763Sum of Imbalance Numbers of All SubarraysHard2765Longest Alternating SubarrayEasy2766Relocate MarblesMedium2768Number of Black BlocksMedium2770Maximum Number of Jumps to Reach the Last IndexMedium2771Longest Non-decreasing Subarray From Two ArraysMedium2772Apply Operations to Make All Array Elements Equal to ZeroMedium2778Sum of Squares of Special Elements Easy2779Maximum Beauty of an Array After Applying OperationMedium2780Minimum Index of a Valid SplitMedium2781Length of the Longest Valid SubstringHard2784Check if Array is GoodEasy2786Visit Array Positions to Maximize ScoreMedium2788Split Strings by SeparatorEasy2789Largest Element in an Array after Merge OperationsMedium2790Maximum Number of Groups With Increasing LengthHard2798Number of Employees Who Met the TargetEasy2799Count Complete Subarrays in an ArrayMedium2808Minimum Seconds to Equalize a Circular ArrayMedium2809Minimum Time to Make Array Sum At Most xHard2811Check if it is Possible to Split ArrayMedium2812Find the Safest Path in a GridMedium2813Maximum Elegance of a K-Length SubsequenceHard2815Max Pair Sum in an ArrayEasy2817Minimum Absolute Difference Between Elements With ConstraintMedium2818Apply Operations to Maximize ScoreHard2824Count Pairs Whose Sum is Less than TargetEasy2826Sorting Three GroupsMedium2828Check if a String Is an Acronym of WordsEasy2830Maximize the Profit as the SalesmanMedium2831Find the Longest Equal SubarrayMedium2835Minimum Operations to Form Subsequence With Target SumHard2836Maximize Value of Function in a Ball Passing GameHard2841Maximum Sum of Almost Unique SubarrayMedium2845Count of Interesting SubarraysMedium2846Minimum Edge Weight Equilibrium Queries in a TreeHard2848Points That Intersect With CarsEasy2850Minimum Moves to Spread Stones Over GridMedium2855Minimum Right Shifts to Sort the ArrayEasy2856Minimum Array Length After Pair RemovalsMedium2857Count Pairs of Points With Distance kMedium2859Sum of Values at Indices With K Set BitsEasy2860Happy StudentsMedium2861Maximum Number of AlloysMedium2862Maximum Element-Sum of a Complete Subset of IndicesHard2865Beautiful Towers IMedium2866Beautiful Towers IIMedium2869Minimum Operations to Collect ElementsEasy2870Minimum Number of Operations to Make Array EmptyMedium2871Split Array Into Maximum Number of SubarraysMedium2873Maximum Value of an Ordered Triplet IEasy2874Maximum Value of an Ordered Triplet IIMedium2875Minimum Size Subarray in Infinite ArrayMedium2895Minimum Processing TimeMedium2897Apply Operations on Array to Maximize Sum of SquaresHard2899Last Visited IntegersEasy2900Longest Unequal Adjacent Groups Subsequence IEasy2901Longest Unequal Adjacent Groups Subsequence IIMedium2902Count of Sub-Multisets With Bounded SumHard2903Find Indices With Index and Value Difference IEasy2905Find Indices With Index and Value Difference IIMedium2906Construct Product MatrixMedium2908Minimum Sum of Mountain Triplets IEasy2909Minimum Sum of Mountain Triplets IIMedium2910Minimum Number of Groups to Create a Valid AssignmentMedium2913Subarrays Distinct Element Sum of Squares IEasy2915Length of the Longest Subsequence That Sums to TargetMedium2916Subarrays Distinct Element Sum of Squares IIHard2917Find the K-or of an ArrayEasy2918Minimum Equal Sum of Two Arrays After Replacing ZerosMedium2919Minimum Increment Operations to Make Array BeautifulMedium2920Maximum Points After Collecting Coins From All NodesHard2923Find Champion IEasy2926Maximum Balanced Subsequence SumHard2931Maximum Spending After Buying ItemsHard2932Maximum Strong Pair XOR IEasy2933High-Access EmployeesMedium2934Minimum Operations to Maximize Last Elements in ArraysMedium2935Maximum Strong Pair XOR IIHard2940Find Building Where Alice and Bob Can MeetHard2942Find Words Containing CharacterEasy2943Maximize Area of Square Hole in GridMedium2944Minimum Number of Coins for FruitsMedium2945Find Maximum Non-decreasing Array LengthHard2946Matrix Similarity After Cyclic ShiftsEasy2948Make Lexicographically Smallest Array by Swapping ElementsMedium2951Find the PeaksEasy2952Minimum Number of Coins to be AddedMedium2954Count the Number of Infection SequencesHard2956Find Common Elements Between Two ArraysEasy2958Length of Longest Subarray With at Most K FrequencyMedium2960Count Tested Devices After Test OperationsEasy2961Double Modular ExponentiationMedium2962Count Subarrays Where Max Element Appears at Least K TimesMedium2963Count the Number of Good PartitionsHard2965Find Missing and Repeated ValuesEasy2966Divide Array Into Arrays With Max DifferenceMedium2967Minimum Cost to Make Array EqualindromicMedium2968Apply Operations to Maximize Frequency ScoreHard2970Count the Number of Incremovable Subarrays IEasy2971Find Polygon With the Largest PerimeterMedium2972Count the Number of Incremovable Subarrays IIHard2974Minimum Number GameEasy2975Maximum Square Area by Removing Fences From a FieldMedium2976Minimum Cost to Convert String IMedium2977Minimum Cost to Convert String IIHard2980Check if Bitwise OR Has Trailing ZerosEasy2996Smallest Missing Integer Greater Than Sequential Prefix SumEasy2997Minimum Number of Operations to Make Array XOR Equal to KMedium3000Maximum Area of Longest Diagonal RectangleEasy3002Maximum Size of a Set After RemovalsMedium3005Count Elements With Maximum FrequencyEasy3010Divide an Array Into Subarrays With Minimum Cost IEasy3011Find if Array Can Be SortedMedium3012Minimize Length of Array Using OperationsMedium3013Divide an Array Into Subarrays With Minimum Cost IIHard3020Find the Maximum Number of Elements in SubsetMedium3022Minimize OR of Remaining Elements Using OperationsHard3024Type of TriangleEasy3025Find the Number of Ways to Place People IMedium3026Maximum Good Subarray SumMedium3027Find the Number of Ways to Place People IIHard3028Ant on the BoundaryEasy3030Find the Grid of Region AverageMedium3033Modify the MatrixEasy3034Number of Subarrays That Match a Pattern IMedium3035Maximum Palindromes After OperationsMedium3036Number of Subarrays That Match a Pattern IIHard3038Maximum Number of Operations With the Same Score IEasy3039Apply Operations to Make String EmptyMedium3040Maximum Number of Operations With the Same Score IIMedium3041Maximize Consecutive Elements in an Array After ModificationHard3042Count Prefix and Suffix Pairs IEasy3043Find the Length of the Longest Common PrefixMedium3044Most Frequent PrimeMedium3045Count Prefix and Suffix Pairs IIHard3046Split the ArrayEasy3047Find the Largest Area of Square Inside Two RectanglesMedium3048Earliest Second to Mark Indices IMedium3049Earliest Second to Mark Indices IIHard3065Minimum Operations to Exceed Threshold Value IEasy3066Minimum Operations to Exceed Threshold Value IIMedium3067Count Pairs of Connectable Servers in a Weighted Tree NetworkMedium3068Find the Maximum Sum of Node ValuesHard3069Distribute Elements Into Two Arrays IEasy3070Count Submatrices with Top-Left Element and Sum Less Than kMedium3071Minimum Operations to Write the Letter Y on a GridMedium3072Distribute Elements Into Two Arrays IIHard3074Apple Redistribution into BoxesEasy3075Maximize Happiness of Selected ChildrenMedium3076Shortest Uncommon Substring in an ArrayMedium3077Maximum Strength of K Disjoint SubarraysHard3079Find the Sum of Encrypted IntegersEasy3080Mark Elements on Array by Performing QueriesMedium3082Find the Sum of the Power of All SubsequencesHard3086Minimum Moves to Pick K OnesHard3092Most Frequent IDsMedium3093Longest Common Suffix QueriesHard3095Shortest Subarray With OR at Least K IEasy3096Minimum Levels to Gain More PointsMedium3097Shortest Subarray With OR at Least K IIMedium3098Find the Sum of Subsequence PowersHard3101Count Alternating SubarraysMedium3102Minimize Manhattan DistancesHard3105Longest Strictly Increasing or Strictly Decreasing SubarrayEasy3107Minimum Operations to Make Median of Array Equal to KMedium3108Minimum Cost Walk in Weighted GraphHard3111Minimum Rectangles to Cover PointsMedium3112Minimum Time to Visit Disappearing NodesMedium3113Find the Number of Subarrays Where Boundary Elements Are MaximumHard3115Maximum Prime DifferenceMedium3116Kth Smallest Amount With Single Denomination CombinationHard3117Minimum Sum of Values by Dividing ArrayHard3122Minimum Number of Operations to Satisfy ConditionsMedium3127Make a Square with the Same ColorEasy3128Right TrianglesMedium3131Find the Integer Added to Array IEasy3132Find the Integer Added to Array IIMedium3134Find the Median of the Uniqueness ArrayHard3139Minimum Cost to Equalize ArrayHard3142Check if Grid Satisfies ConditionsEasy3143Maximum Points Inside the SquareMedium3145Find Products of Elements of Big ArrayHard3147Taking Maximum Energy From the Mystic DungeonMedium3148Maximum Difference Score in a GridMedium3149Find the Minimum Cost Array PermutationHard3151Special Array IEasy3152Special Array IIMedium3153Sum of Digit Differences of All PairsMedium3158Find the XOR of Numbers Which Appear TwiceEasy3159Find Occurrences of an Element in an ArrayMedium3160Find the Number of Distinct Colors Among the BallsMedium3161Block Placement QueriesHard3162Find the Number of Good Pairs IEasy3164Find the Number of Good Pairs IIMedium3165Maximum Sum of Subsequence With Non-adjacent ElementsHard3169Count Days Without MeetingsMedium3171Find Subarray With Bitwise OR Closest to KHard3175Find The First Player to win K Games in a RowMedium3176Find the Maximum Length of a Good Subsequence IMedium3177Find the Maximum Length of a Good Subsequence IIHard3179Find the N-th Value After K SecondsMedium3180Maximum Total Reward Using Operations IMedium3181Maximum Total Reward Using Operations IIHard3184Count Pairs That Form a Complete Day IEasy3185Count Pairs That Form a Complete Day IIMedium3186Maximum Total Damage With Spell CastingMedium3187Peaks in ArrayHard3190Find Minimum Operations to Make All Elements Divisible by ThreeEasy3191Minimum Operations to Make Binary Array Elements Equal to One IMedium3192Minimum Operations to Make Binary Array Elements Equal to One IIMedium3193Count the Number of InversionsHard3194Minimum Average of Smallest and Largest ElementsEasy3195Find the Minimum Area to Cover All Ones IMedium3196Maximize Total Cost of Alternating SubarraysMedium3197Find the Minimum Area to Cover All Ones IIHard3200Maximum Height of a TriangleEasy3201Find the Maximum Length of Valid Subsequence IMedium3202Find the Maximum Length of Valid Subsequence IIMedium3206Alternating Groups IEasy3207Maximum Points After Enemy BattlesMedium3208Alternating Groups IIMedium3209Number of Subarrays With AND Value of KHard3212Count Submatrices With Equal Frequency of X and YMedium3213Construct String with Minimum CostHard3217Delete Nodes From Linked List Present in ArrayMedium3218Minimum Cost for Cutting Cake IMedium3219Minimum Cost for Cutting Cake IIHard3224Minimum Array Changes to Make Differences EqualMedium3225Maximum Score From Grid OperationsHard3229Minimum Operations to Make Array Equal to TargetHard3232Find if Digit Game Can Be WonEasy3233Find the Count of Numbers Which Are Not SpecialMedium3235Check if the Rectangle Corner Is ReachableHard3238Find the Number of Winning PlayersEasy3239Minimum Number of Flips to Make Binary Grid Palindromic IMedium3240Minimum Number of Flips to Make Binary Grid Palindromic IIMedium3242Design Neighbor Sum ServiceEasy3243Shortest Distance After Road Addition Queries IMedium3244Shortest Distance After Road Addition Queries IIHard3245Alternating Groups IIIHard3248Snake in MatrixEasy3250Find the Count of Monotonic Pairs IHard3251Find the Count of Monotonic Pairs IIHard3254Find the Power of K-Size Subarrays IMedium3255Find the Power of K-Size Subarrays IIMedium3256Maximum Value Sum by Placing Three Rooks IHard3257Maximum Value Sum by Placing Three Rooks IIHard3259Maximum Energy Boost From Two DrinksMedium3261Count Substrings That Satisfy K-Constraint IIHard3264Final Array State After K Multiplication Operations IEasy3265Count Almost Equal Pairs IMedium3266Final Array State After K Multiplication Operations IIHard3267Count Almost Equal Pairs IIHard3273Minimum Amount of Damage Dealt to BobHard3275K-th Nearest Obstacle QueriesMedium3276Select Cells in Grid With Maximum ScoreHard3277Maximum XOR Score Subarray QueriesHard3281Maximize Score of Numbers in RangesMedium3282Reach End of Array With Max ScoreMedium3283Maximum Number of Moves to Kill All PawnsHard3285Find Indices of Stable MountainsEasy3286Find a Safe Walk Through a GridMedium3287Find the Maximum Sequence Value of ArrayHard3288Length of the Longest Increasing PathHard3289The Two Sneaky Numbers of DigitvilleEasy3290Maximum Multiplication ScoreMedium3291Minimum Number of Valid Strings to Form Target IMedium3292Minimum Number of Valid Strings to Form Target IIHard3295Report Spam MessageMedium3296Minimum Number of Seconds to Make Mountain Height ZeroMedium3300Minimum Element After Replacement With Digit SumEasy3301Maximize the Total Height of Unique TowersMedium3309Maximum Possible Number by Binary ConcatenationMedium3311Construct 2D Grid Matching Graph LayoutHard3312Sorted GCD Pair QueriesHard3314Construct the Minimum Bitwise Array IEasy3315Construct the Minimum Bitwise Array IIMedium3316Find Maximum Removals From Source StringMedium3318Find X-Sum of All K-Long Subarrays IEasy3321Find X-Sum of All K-Long Subarrays IIHard3326Minimum Division Operations to Make Array Non DecreasingMedium3327Check if DFS Strings Are PalindromesHard3331Find Subtree Sizes After ChangesMedium3332Maximum Points Tourist Can EarnMedium3334Find the Maximum Factor Score of ArrayMedium3336Find the Number of Subsequences With Equal GCDHard3341Find Minimum Time to Reach Last Room IMedium3342Find Minimum Time to Reach Last Room IIMedium3346Maximum Frequency of an Element After Performing Operations IMedium3347Maximum Frequency of an Element After Performing Operations IIHard3349Adjacent Increasing Subarrays Detection IEasy3350Adjacent Increasing Subarrays Detection IIMedium3351Sum of Good SubsequencesHard3354Make Array Elements Equal to ZeroEasy3355Zero Array Transformation IMedium3356Zero Array Transformation IIMedium3357Minimize the Maximum Adjacent Element DifferenceHard3361Shift Distance Between Two StringsMedium3362Zero Array Transformation IIIMedium3363Find the Maximum Number of Fruits CollectedHard3364Minimum Positive Sum Subarray Easy3366Minimum Array SumMedium3371Identify the Largest Outlier in an ArrayMedium3375Minimum Operations to Make Array Values Equal to KEasy3376Minimum Time to Break Locks IMedium3378Count Connected Components in LCM GraphHard3379Transformed ArrayEasy3380Maximum Area Rectangle With Point Constraints IMedium3381Maximum Subarray Sum With Length Divisible by KMedium3382Maximum Area Rectangle With Point Constraints IIHard3386Button with Longest Push TimeEasy3387Maximize Amount After Two Days of ConversionsMedium3388Count Beautiful Splits in an ArrayMedium3392Count Subarrays of Length Three With a ConditionEasy3393Count Paths With the Given XOR ValueMedium3394Check if Grid can be Cut into SectionsMedium3395Subsequences with a Unique Middle Mode IHard3396Minimum Number of Operations to Make Elements in Array DistinctEasy3397Maximum Number of Distinct Elements After OperationsMedium3398Smallest Substring With Identical Characters IHard3402Minimum Operations to Make Columns Strictly IncreasingEasy3404Count Special SubsequencesMedium3409Longest Subsequence With Decreasing Adjacent DifferenceMedium3410Maximize Subarray Sum After Removing All Occurrences of One ElementHard3411Maximum Subarray With Equal ProductsEasy3413Maximum Coins From K Consecutive BagsMedium3414Maximum Score of Non-overlapping IntervalsHard3417Zigzag Grid Traversal With SkipEasy3418Maximum Amount of Money Robot Can EarnMedium3420Count Non-Decreasing Subarrays After K OperationsHard3423Maximum Difference Between Adjacent Elements in a Circular ArrayEasy3424Minimum Cost to Make Arrays IdenticalMedium3425Longest Special PathHard3427Sum of Variable Length SubarraysEasy3428Maximum and Minimum Sums of at Most Size K SubsequencesMedium3429Paint House IVMedium3430Maximum and Minimum Sums of at Most Size K SubarraysHard3432Count Partitions with Even Sum DifferenceEasy3433Count Mentions Per UserMedium3434Maximum Frequency After Subarray OperationMedium3435Frequencies of Shortest SupersequencesHard3439Reschedule Meetings for Maximum Free Time IMedium3440Reschedule Meetings for Maximum Free Time IIMedium3444Minimum Increments for Target Multiples in an ArrayHard3446Sort Matrix by DiagonalsMedium3447Assign Elements to Groups with ConstraintsMedium3449Maximize the Minimum Game ScoreHard3452Sum of Good NumbersEasy3453Separate Squares IMedium3454Separate Squares IIHard3457Eat Pizzas!Medium3459Length of Longest V-Shaped Diagonal SegmentHard3462Maximum Sum With at Most K ElementsMedium3464Maximize the Distance Between Points on a SquareHard3467Transform Array by ParityEasy3468Find the Number of Copy ArraysMedium3469Find Minimum Cost to Remove Array ElementsMedium3470Permutations IVHard3471Find the Largest Almost Missing IntegerEasy3473Sum of K Subarrays With Length at Least MMedium3477Fruits Into Baskets IIEasy3478Choose K Elements With Maximum SumMedium3479Fruits Into Baskets IIIMedium3480Maximize Subarrays After Removing One Conflicting PairHard3483Unique 3-Digit Even NumbersEasy3484Design SpreadsheetMedium3485Longest Common Prefix of K Strings After RemovalHard3486Longest Special Path IIHard3487Maximum Unique Subarray Sum After DeletionEasy3488Closest Equal Element QueriesMedium3489Zero Array Transformation IVMedium3493Properties GraphMedium3494Find the Minimum Amount of Time to Brew PotionsMedium3495Minimum Operations to Make Array Elements ZeroHard3500Minimum Cost to Divide Array Into SubarraysHard3501Maximize Active Section with Trade IIHard3502Minimum Cost to Reach Every PositionEasy3505Minimum Operations to Make Elements Within K Subarrays EqualHard3507Minimum Pair Removal to Sort Array IEasy3508Implement RouterMedium3509Maximum Product of Subsequences With an Alternating Sum Equal to KHard3510Minimum Pair Removal to Sort Array IIHard3512Minimum Operations to Make Array Sum Divisible by KEasy3513Number of Unique XOR Triplets IMedium3514Number of Unique XOR Triplets IIMedium3515Shortest Path in a Weighted TreeHard3522Calculate Score After Performing InstructionsMedium3523Make Array Non-decreasingMedium3524Find X Value of Array IMedium3525Find X Value of Array IIHard3527Find the Most Common ResponseMedium3529Count Cells in Overlapping Horizontal and Vertical SubstringsMedium3530Maximum Profit from Valid Topological Order in DAGHard3531Count Covered BuildingsMedium3532Path Existence Queries in a Graph IMedium3533Concatenated DivisibilityHard3534Path Existence Queries in a Graph IIHard3537Fill a Special GridMedium3538Merge Operations for Minimum Travel TimeHard3539Find Sum of Array Product of Magical SequencesHard3542Minimum Operations to Convert All Elements to ZeroMedium3544Subtree Inversion SumHard3546Equal Sum Grid Partition IMedium3548Equal Sum Grid Partition IIHard3550Smallest Index With Digit Sum Equal to IndexEasy3551Minimum Swaps to Sort by Digit SumMedium3552Grid Teleportation TraversalMedium3553Minimum Weighted Subgraph With the Required Paths IIHard3559Number of Ways to Assign Edge Weights IIHard3562Maximum Profit from Trading Stocks with DiscountsHard3566Partition Array into Two Equal Product SubsetsMedium3567Minimum Absolute Difference in Sliding SubmatrixMedium3568Minimum Moves to Clean the ClassroomMedium3569Maximize Count of Distinct Primes After SplitHard3572Maximize Y‑Sum by Picking a Triplet of Distinct X‑ValuesMedium3573Best Time to Buy and Sell Stock VMedium3574Maximize Subarray GCD ScoreHard3575Maximum Good Subtree ScoreHard3576Transform Array to All Equal ElementsMedium3577Count the Number of Computer Unlocking PermutationsMedium3578Count Partitions With Max-Min Difference at Most KMedium3583Count Special TripletsMedium3584Maximum Product of First and Last Elements of a SubsequenceMedium3585Find Weighted Median Node in TreeHard3587Minimum Adjacent Swaps to Alternate ParityMedium3588Find Maximum Area of a TriangleMedium3589Count Prime-Gap Balanced SubarraysMedium3590Kth Smallest Path XOR SumHard3591Check if Any Element Has Prime FrequencyEasy3592Inverse Coin ChangeMedium3593Minimum Increments to Equalize Leaf PathsMedium3594Minimum Time to Transport All IndividualsHard3598Longest Common Prefix Between Adjacent Strings After RemovalsMedium3599Partition Array to Minimize XORMedium3603Minimum Cost Path with Alternating Directions IIMedium3605Minimum Stability Factor of ArrayHard3606Coupon Code ValidatorEasy3607Power Grid MaintenanceMedium3618Split Array by Prime IndicesMedium3619Count Islands With Total Value Divisible by KMedium3620Network Recovery PathwaysHard3623Count Number of Trapezoids IMedium3624Number of Integers With Popcount-Depth Equal to K IIHard3625Count Number of Trapezoids IIHard3630Partition Array for Maximum XOR and ANDHard
← Browse all LeetCode problems
PhantomCodeAIPhantomCodeAI
PhantomCodeAI is an undetectable desktop application to help you pass your Leetcode interviews.
All systems online
Download

Legal

Refund PolicyTerms of ServiceCancellation PolicyPrivacy Policy

Pages

Contact SupportHelp CenterInstant SupportFAQBlogFeaturesInterview CopilotCoding CopilotInterview QuestionsPricingMock Interview PricingEarn with UsBest AI Interview Assistants 2026FeedbackLeetcode ProblemsLoginCreate Account

Compare

All 29 comparisons →Why switch (29 alternatives) →Interview Coder AlternativeFinal Round AI AlternativeUltraCode AI AlternativeParakeet AI AlternativeAI Apply AlternativeCoderRank AlternativeInterviewing.io AlternativeShadeCoder Alternative

Resources

Salary GuideResume TemplatesWhat Is PhantomCodeAIIs PhantomCodeAI Detectable?Use PhantomCodeAI in HackerRankvs LeetCode PremiumFor European EngineersFor FAANG Interview PrepPost-Layoff ComebackIndia Pricing (INR)

Interview Types

Coding InterviewSystem Design InterviewDSA InterviewLeetCode InterviewAlgorithms InterviewData Structure InterviewSQL InterviewOnline Assessment

Interview Questions

See all →
GoogleAmazonMetaMicrosoftAppleNetflixStripeUberAirbnbBloombergSoftware EngineerFrontend EngineerBackend EngineerData EngineerML EngineerDevOps EngineerData ScientistEngineering ManagerBehavioralSystem Design

Mock Interview by Round Type

All formats →
Mock Interview HubMock Coding InterviewMock Behavioral InterviewMock System Design

AI for Industry Interviews

All industries →
Sales InterviewsPM InterviewsFinance InterviewsConsulting InterviewsDesign Interviews

Coding Interview Patterns

See all patterns →
Coding Interviews HubDynamic ProgrammingTwo Pointers + Sliding WindowGraph AlgorithmsTree AlgorithmsBinary Search

Interview Guides

See all guides →
How to Ace an InterviewHow to Crack InterviewsBest Interview AnswersScreening Interview QuestionsTelephone Interview TipsWorking Interview ExplainedCracking the PM InterviewFAANG 30-Day RoadmapTop 10 LeetCode PatternsSystem Design Prep GuideSTAR Behavioral MethodBehavioral Interview Qs

Alternatives — why engineers switch

See all 29 →
Interview CoderFinal Round AIParakeet AILockedIn AIUltraCode AIShadeCoderSensei AIVerve AICluelyChatGPTBeyz AIInterview SidekickYoodliAlgoMonsterCoderRankExponentFormationInterviewing.ioInterview CakeBig InterviewInterview KickstartPrampScalerAI ApplyCareerflowJobscanKickresumeTeal HQHireVue

AI Interview Tools

AI Interview AssistantAI Interview CoachAI for Job InterviewsAI Interview Preparation ToolReal-Time AI Interview AnswersInterview AI HelperReal-Time AI Interview AssistantAI Interview BotBest AI Interview Tools 2026AI Interview QuestionsPractice Interview QuestionsAI to Answer Interview QuestionsAI Phone Interview HelpAI Interviewing SoftwareAI Interview HubInterview CopilotAI Coding Interview AssistantMock Interview

© 2026 PhantomCodeAI. All rights reserved.