Arrays

Move ZeroesTrapping Rain WaterLongest Consecutive SequenceK-Concatenation Maximum SumFind Pivot IndexFind a pair with the given differenceChocolate Distribution ProblemRotate a matrix by 90 degree without using any extra spaceSpiral Order Matrix IMin Steps in Infinite GridAdd One To NumberMax Sum Contiguous SubarrayMaximum Absolute DifferenceRepeat and Missing Number ArrayMAXSPPRODMinimum Number of Increments on Subarrays to Form a Target ArrayRange AdditionMax Range QueriesNext Greater Element IIIMurderInteresting SequencesWinning strategyPalindromic SubstringsArray 3 PointersFlipMax Non Negative SubArraySpiral Order Matrix IIPascal TriangleKth Row of Pascal's TriangleAnti DiagonalsTriplets with Sum between given rangeNoble IntegerWave ArrayLargest NumberMaximum Unsorted SubarrayHotel Bookings PossibleMax DistanceFind Duplicate in ArrayMaximum Consecutive GapNext PermutationFind PermutationMerge IntervalsMerge Overlapping IntervalsSet Matrix ZerosFirst Missing IntegerN/3 Repeat NumberQueue Reconstruction by HeightProduct of Array Except SelfBuild an Array With Stack OperationsSearch a 2D Matrix IIWiggle Sort IIShuffle an ArrayInsert Delete GetRandom O(1)Max Chunks To Make SortedMax Chunks To Make Sorted IIGlobal and Local InversionsNumber of Subarrays with Bounded MaximumArithmetic SlicesMaximum Sum of Two Non - Overlapping SubarraysCar PoolingMaximum Side Length of a Square with Sum Less than or Equal to ThresholdRemove Covered IntervalsDistant BarcodesSummary RangesQueens That Can Attack the KingRank Teams by VotesMaximum Area of a Piece of Cake After Horizontal and Vertical CutsMaximum Product of Two Elements in an ArrayMaximum Sum Circular SubarrayRange AdditionMax Range QueriesShuffle the ArrayThe k Strongest Values in an ArrayMost Profit Assigning WorkFriends Of Appropriate AgesMissing RangesMax Consecutive Ones IIMax Consecutive Ones IIIMinimum Domino Rotations For Equal RowPartition Array into Disjoint IntervalsMaximize Distance to Closest PersonCar FleetEmployee Free TimeExam RoomCount Inversions in an arrayMaximum sum of smallest and second smallest in an arrayNumber of Subsequences That Satisfy the Given Sum ConditionLongest Subarray of 1's After Deleting One ElementCount of Range SumCount of Smaller Numbers After SelfRange Sum Query - MutableReverse PairsLast Moment Before All Ants Fall Out of a PlankMinimum Difference Between Largest and Smallest Value in Three MovesFind the Winner of an Array Game

Last updated