Google Array Questions

1299 array problems asked at Google interviews

Easy (277)Medium (714)Hard (308)

Questions

TitleDifficulty
Two SumEasy
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
Longest Common PrefixEasy
Merge Sorted ArrayEasy
Best Time to Buy and Sell StockEasy
3SumMedium
Longest Consecutive SequenceMedium
Container With Most WaterMedium
Majority ElementEasy
Merge IntervalsMedium
Number of IslandsMedium
Maximum SubarrayMedium
Remove Duplicates from Sorted ArrayEasy
Subarray Sum Equals KMedium
Next PermutationMedium
Spiral MatrixMedium
Meeting Rooms IIMedium
Koko Eating BananasMedium
Remove ElementEasy
Search in Rotated Sorted ArrayMedium
Move ZeroesEasy
Pascal's TriangleEasy
Minimum Number of Increments on Subarrays to Form a Target ArrayHard
4SumMedium
N-QueensHard
Largest Rectangle in HistogramHard
Single NumberEasy
Jump GameMedium
Concatenation of ArrayEasy
Split Array Largest SumHard
Top K Frequent ElementsMedium
Find Peak ElementMedium
Rotate ArrayMedium
House RobberMedium
Kth Largest Element in an ArrayMedium
Group AnagramsMedium
Rotate ImageMedium
Search Insert PositionEasy
Plus OneEasy
Max Consecutive OnesEasy
Sort ColorsMedium
Sliding Window MaximumHard
Product of Array Except SelfMedium
Single Element in a Sorted ArrayMedium
Russian Doll EnvelopesHard
Longest Increasing SubsequenceMedium
Number of Visible People in a QueueHard
Set Matrix ZeroesMedium
Find First and Last Position of Element in Sorted ArrayMedium
Maximal SquareMedium
SubsetsMedium
Binary SearchEasy
Contains DuplicateEasy
Rotting OrangesMedium
Maximal RectangleHard
Intersection of Two ArraysEasy
PermutationsMedium
Maximum Product SubarrayMedium
Coin ChangeMedium
Count Number of Trapezoids IIHard
3Sum ClosestMedium
First Missing PositiveHard
Max Consecutive Ones IIIMedium
Two Sum II - Input Array Is SortedMedium
Fruit Into BasketsMedium
Insert Delete GetRandom O(1)Medium
Sudoku SolverHard
Best Time to Buy and Sell Stock IIMedium
Find All Numbers Disappeared in an ArrayEasy
Jump Game IIMedium
The Earliest Moment When Everyone Become FriendsMedium
Valid SudokuMedium
CandyHard
Contains Duplicate IIEasy
Zero Array Transformation IMedium
Partition Equal Subset SumMedium
Daily TemperaturesMedium
Running Sum of 1d ArrayEasy
Combination SumMedium
Guess the WordHard
Count PrimesMedium
Separate Squares IMedium
Peak Index in a Mountain ArrayMedium
Insert IntervalMedium
Text JustificationHard
Sum of Subarray MinimumsMedium
Sort an ArrayMedium
Word BreakMedium
Missing NumberEasy
Minimum Area RectangleMedium
Count Number of Trapezoids IMedium
Next Greater Element IIMedium
Find the Duplicate NumberMedium
Subsets IIMedium
Reverse PairsHard
Capacity To Ship Packages Within D DaysMedium
Random Pick with WeightMedium
Unique Number of OccurrencesEasy
Maximum Average Subarray IEasy
Check if Array Is Sorted and RotatedEasy
Surrounded RegionsMedium
Largest NumberMedium
Target SumMedium
Word SearchMedium
Search a 2D Matrix IIMedium
Pacific Atlantic Water FlowMedium
Squares of a Sorted ArrayEasy
Apply SubstitutionsMedium
Search a 2D MatrixMedium
Meeting Rooms IIIHard
Frequency of the Most Frequent ElementMedium
Majority Element IIMedium
Burst BalloonsHard
Next Greater Element IEasy
Delete Nodes And Return ForestMedium
Minimum Size Subarray SumMedium
Maximum Width RampMedium
Swim in Rising WaterHard
Largest Divisible SubsetMedium
Minimum Number of Days to Make m BouquetsMedium
Remove Duplicates from Sorted Array IIMedium
Task SchedulerMedium
24 GameHard
Gas StationMedium
Find K Closest ElementsMedium
Summary RangesEasy
Trapping Rain Water IIHard
Zero Array Transformation IIMedium
Single Number IIMedium
Find Minimum in Rotated Sorted ArrayMedium
Longest Increasing Path in a MatrixHard
Asteroid CollisionMedium
01 MatrixMedium
Search in Rotated Sorted Array IIMedium
Can Place FlowersEasy
Coin Change IIMedium
Group Shifted StringsMedium
Shortest Path in a Grid with Obstacles EliminationHard
Count Square Submatrices with All OnesMedium
Evaluate DivisionMedium
Minimum Area Rectangle IIMedium
Find Missing and Repeated ValuesEasy
Evaluate Reverse Polish NotationMedium
Can Make Arithmetic Progression From SequenceEasy
House Robber IIMedium
Find All Duplicates in an ArrayMedium
Find All Possible Recipes from Given SuppliesMedium
Number of Islands IIHard
Path With Minimum EffortMedium
Odd Even JumpHard
Binary Subarrays With SumMedium
Contiguous ArrayMedium
Alien DictionaryHard
Moving Average from Data StreamEasy
Number of Matching SubsequencesMedium
Word Search IIHard
Assign CookiesEasy
Minimum Path SumMedium
Find And Replace in StringMedium
Construct Binary Tree from Preorder and Inorder TraversalMedium
H-IndexMedium
Accounts MergeMedium
Find K Pairs with Smallest SumsMedium
Minimum Time to Finish the RaceHard
Design Hit CounterMedium
Diagonal TraverseMedium
Minimum Number of Operations to Move All Balls to Each BoxMedium
Min Cost Climbing StairsEasy
Kth Missing Positive NumberEasy
TriangleMedium
Snapshot ArrayMedium
Shuffle the ArrayEasy
Set MismatchEasy
Rearrange Array Elements by SignMedium
Best Time to Buy and Sell Stock with CooldownMedium
Combination Sum IVMedium
Single-Threaded CPUMedium
Detect SquaresMedium
Richest Customer WealthEasy
Bus RoutesHard
Car FleetMedium
Subarrays with K Different IntegersHard
Combination Sum IIMedium
Exclusive Time of FunctionsMedium
Count of Smaller Numbers After SelfHard
Shortest Path in Binary MatrixMedium
Transpose MatrixEasy
Number of Closed IslandsMedium
Find the Safest Path in a GridMedium
Rank Transform of an ArrayEasy
The Skyline ProblemHard
The Latest Time to Catch a BusMedium
Count Days Without MeetingsMedium
Sequence ReconstructionMedium
Maximum Points You Can Obtain from CardsMedium
Maximum XOR of Two Numbers in an ArrayMedium
Max Area of IslandMedium
Shortest Unsorted Continuous SubarrayMedium
Find Pivot IndexEasy
Height of Binary Tree After Subtree Removal QueriesHard
Continuous SubarraysMedium
Find X-Sum of All K-Long Subarrays IEasy
Convert Sorted Array to Binary Search TreeEasy
Design a Stack With Increment OperationMedium
Type of TriangleEasy
Reconstruct ItineraryHard
Minimum Cost to Make at Least One Valid Path in a GridHard
Detonate the Maximum BombsMedium
Encode and Decode StringsMedium
Partition Array Into Two Arrays to Minimize Sum DifferenceHard
Range Sum Query - ImmutableEasy
Top K Frequent WordsMedium
Time Taken to Cross the DoorHard
Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMedium
Maximum Candies Allocated to K ChildrenMedium
Flood FillEasy
Queue Reconstruction by HeightMedium
Making A Large IslandHard
Unique Paths IIMedium
Remove Sub-Folders from the FilesystemMedium
Word Break IIHard
Minimum Difference Between Largest and Smallest Value in Three MovesMedium
Delete Nodes From Linked List Present in ArrayMedium
Predict the WinnerMedium
Largest Triangle AreaEasy
Divide Array in Sets of K Consecutive NumbersMedium
Minimum Falling Path SumMedium
Maximum Good Subarray SumMedium
Find in Mountain ArrayHard
Inverse Coin ChangeMedium
Increasing Triplet SubsequenceMedium
Regions Cut By SlashesMedium
Maximum Number of Events That Can Be AttendedMedium
Kids With the Greatest Number of CandiesEasy
Flipping an ImageEasy
Longest Arithmetic Subsequence of Given DifferenceMedium
Minimum Interval to Include Each QueryHard
Maximum Sum of 3 Non-Overlapping SubarraysHard
Tuple with Same ProductMedium
Sliding Window MedianHard
Sender With Largest Word CountMedium
Range Sum Query 2D - ImmutableMedium
Third Maximum NumberEasy
Subarray Sums Divisible by KMedium
Non-overlapping IntervalsMedium
Snakes and LaddersMedium
Minimum Time DifferenceMedium
Best Time to Buy and Sell Stock IIIHard
K Closest Points to OriginMedium
Number of Subsequences That Satisfy the Given Sum ConditionMedium
My Calendar IMedium
Minimum Domino Rotations For Equal RowMedium
Product of the Last K NumbersMedium
Duplicate ZerosEasy
Maximum Beauty of an Array After Applying OperationMedium
Check If N and Its Double ExistEasy
Find Original Array From Doubled ArrayMedium
Find the Difference of Two ArraysEasy
How Many Numbers Are Smaller Than the Current NumberEasy
Max Chunks To Make SortedMedium
Number of Good PairsEasy
Intersection of Two Arrays IIEasy
Minimum Operations to Reduce X to ZeroMedium
Build Array from PermutationEasy
Maximum Frequency of an Element After Performing Operations IMedium
Check if Word Can Be Placed In CrosswordMedium
Maximum Number of Ways to Partition an ArrayHard
Number of EnclavesMedium
Create Maximum NumberHard
Divide Array Into Arrays With Max DifferenceMedium
Missing RangesEasy
Find the Highest AltitudeEasy
Permutations IIMedium
Max Points on a LineHard
Longest Arithmetic SubsequenceMedium
Island PerimeterEasy
Palindrome PairsHard
Path with Maximum ProbabilityMedium
Count Special SubsequencesMedium
Zero Array Transformation IIIMedium
Count Number of Bad PairsMedium
Sum of Good SubsequencesHard
Path Existence Queries in a Graph IMedium
Maximum Number of Points with CostMedium
HeatersMedium
Word SubsetsMedium
Maximum Score of a Node SequenceHard
Count Submatrices With All OnesMedium
Walls and GatesMedium
Wiggle Sort IIMedium
Optimal Account BalancingHard
Bag of TokensMedium
My Calendar IIMedium
Expressive WordsMedium
Rank Teams by VotesMedium
Find Target Indices After Sorting ArrayEasy
Build an Array With Stack OperationsMedium
Longest Non-Decreasing Subarray After Replacing at Most One ElementMedium
Find the Smallest Divisor Given a ThresholdMedium
Pascal's Triangle IIEasy
Magic Squares In GridMedium
Interval List IntersectionsMedium
Sort Transformed ArrayMedium
X of a Kind in a Deck of CardsEasy
Relative RanksEasy
RLE IteratorMedium
Minimum Cost to Cut a StickHard
Convert 1D Array Into 2D ArrayEasy
Longest Subarray of 1's After Deleting One ElementMedium
Check if Grid can be Cut into SectionsMedium
Reschedule Meetings for Maximum Free Time IMedium
Spiral Matrix IIMedium
Shortest Distance from All BuildingsHard
Filling Bookcase ShelvesMedium
Number of Ways to Build Sturdy Brick WallMedium
Counting Words With a Given PrefixEasy
Find All K-Distant Indices in an ArrayEasy
Maximum Product of Word LengthsMedium
Ones and ZeroesMedium
Count Servers that CommunicateMedium
Find the Most Competitive SubsequenceMedium
Game of LifeMedium
Longest Mountain in ArrayMedium
Stone Game IIIHard
Find the Length of the Longest Common PrefixMedium
Subarray Product Less Than KMedium
Maximum Sum Circular SubarrayMedium
Find the Prefix Common Array of Two ArraysMedium
Car PoolingMedium
Minimize Hamming Distance After Swap OperationsMedium
Words Within Two Edits of DictionaryMedium
Largest Submatrix With RearrangementsMedium
Design Circular QueueMedium
Maximum Side Length of a Square with Sum Less than or Equal to ThresholdMedium
Valid Mountain ArrayEasy
Shortest Subarray with Sum at Least KHard
Matrix Block SumMedium
Toeplitz MatrixEasy
Adjacent Increasing Subarrays Detection IEasy
Best Time to Buy and Sell Stock IVHard
Maximum Number of Distinct Elements After OperationsMedium
Kth Smallest Element in a Sorted MatrixMedium
Unique Email AddressesEasy
Find the Maximum Length of Valid Subsequence IMedium
Describe the PaintingMedium
Merge Two 2D Arrays by Summing ValuesEasy
Construct Binary Tree from Preorder and Postorder TraversalMedium
Minimum Cost to Merge StonesHard
Longest Increasing Subsequence IIHard
Furthest Building You Can ReachMedium
Largest Number At Least Twice of OthersEasy
Evaluate the Bracket Pairs of a StringMedium
Shortest BridgeMedium
Boats to Save PeopleMedium
Count of Range SumHard
Sort Array By ParityEasy
Special Positions in a Binary MatrixEasy
Longest Harmonious SubsequenceEasy
Special Array IEasy
Path With Maximum Minimum ValueMedium
Maximize Distance to Closest PersonMedium
Delete Columns to Make Sorted IIMedium
Find the Number of Ways to Place People IMedium
Arithmetic SubarraysMedium
Number of Flowers in Full BloomHard
Minimum Obstacle Removal to Reach CornerHard
Delete Columns to Make SortedEasy
Find Numbers with Even Number of DigitsEasy
Jump Game IVHard
Employee Free TimeHard
Longest String ChainMedium
Minimum Pair Removal to Sort Array IEasy
Escape The GhostsMedium
Max Sum of Rectangle No Larger Than KHard
132 PatternMedium
Find the Maximum Sequence Value of ArrayHard
Maximum Frequency of an Element After Performing Operations IIHard
Find N Unique Integers Sum up to ZeroEasy
Count Non-Decreasing Subarrays After K OperationsHard
Fill a Special GridMedium
Dungeon GameHard
Continuous Subarray SumMedium
Count Number of Nice SubarraysMedium
UTF-8 ValidationMedium
Maximum XOR With an Element From ArrayHard
Special Array With X Elements Greater Than or Equal XEasy
Largest Local Values in a MatrixEasy
Beautiful ArrayMedium
Largest Component Size by Common FactorHard
Find the Maximum Length of Valid Subsequence IIMedium
Build a Matrix With ConditionsHard
Wiggle SortMedium
Number of Zero-Filled SubarraysMedium
Longest Word in Dictionary through DeletingMedium
Rank Transform of a MatrixHard
Watering PlantsMedium
The MazeMedium
Similar String GroupsHard
Stream of CharactersHard
Number of Good PathsHard
Path with Maximum GoldMedium
Cherry Pickup IIHard
Range Sum Query 2D - MutableMedium
Range Sum of Sorted Subarray SumsMedium
Random Point in Non-overlapping RectanglesMedium
Online ElectionMedium
Remove IntervalMedium
Number of Ways of Cutting a PizzaHard
Minimum Cost For TicketsMedium
Destroying AsteroidsMedium
Frog JumpHard
Maximum Sum of Distinct Subarrays With Length KMedium
Construct Binary Search Tree from Preorder TraversalMedium
Find the Largest Area of Square Inside Two RectanglesMedium
Cat and Mouse IIHard
Search Suggestions SystemMedium
Number of Same-End SubstringsMedium
House Robber IVMedium
Smallest Range Covering Elements from K ListsHard
Count the Number of Fair PairsMedium
Two Best Non-Overlapping EventsMedium
Adjacent Increasing Subarrays Detection IIMedium
Reschedule Meetings for Maximum Free Time IIMedium
Find K-th Smallest Pair DistanceHard
Decompress Run-Length Encoded ListEasy
Maximum Score of a Good SubarrayHard
Parallel Courses IIIHard
Paths in Matrix Whose Sum Is Divisible by KHard
Patching ArrayHard
Avoid Flood in The CityMedium
Non-decreasing ArrayMedium
Maximum Number of Words Found in SentencesEasy
Sentence Similarity IIIMedium
Car Fleet IIHard
Checking Existence of Edge Length Limited PathsHard
Count Subarrays With Score Less Than KHard
Perfect RectangleHard
Count Number of Distinct Integers After Reverse OperationsMedium
Closest Nodes Queries in a Binary Search TreeMedium
Disconnect Path in a Binary Matrix by at Most One FlipMedium
Check if There is a Path With Equal Number of 0's And 1'sMedium
Prime Subtraction OperationMedium
Sentence Similarity IIMedium
Campus BikesMedium
Map of Highest PeakMedium
Check if DFS Strings Are PalindromesHard
Video StitchingMedium
Eliminate Maximum Number of MonstersMedium
The Number of Weak Characters in the GameMedium
Sentence Screen FittingMedium
DI String MatchEasy
3Sum SmallerMedium
Image OverlapMedium
Smallest Rectangle Enclosing Black PixelsHard
Frog Jump IIMedium
Max Chunks To Make Sorted IIHard
Minimize Max Distance to Gas StationHard
Create Binary Tree From DescriptionsMedium
Solving Questions With BrainpowerMedium
Longest Balanced Subarray IIHard
Maximum Matrix SumMedium
Divide an Array Into Subarrays With Minimum Cost IEasy
Find the Number of Ways to Place People IIHard
Find Minimum in Rotated Sorted Array IIHard
Maximum Erasure ValueMedium
Construct Binary Tree from Inorder and Postorder TraversalMedium
Best Sightseeing PairMedium
Longest Nice SubarrayMedium
Spiral Matrix IIIMedium
Partition Array According to Given PivotMedium
Stone GameMedium
Maximum Employees to Be Invited to a MeetingHard
Read N Characters Given read4 II - Call Multiple TimesHard
Design Snake GameMedium
Design Compressed String IteratorEasy
Minimum Cost to Hire K WorkersHard
Minimum Consecutive Cards to Pick UpMedium
Shortest Path to Get All KeysHard
Longest Uncommon Subsequence IIMedium
Determine if Two Events Have ConflictEasy
Most Frequent Number Following Key In an ArrayEasy
Line ReflectionMedium
Sum of Prefix Scores of StringsHard
Number of BoomerangsMedium
Max Consecutive Ones IIMedium
Sentence SimilarityEasy
Search in a Sorted Array of Unknown SizeMedium
Linked List ComponentsMedium
Delete Columns to Make Sorted IIIHard
Valid BoomerangEasy
Minimum Falling Path Sum IIHard
Sum of Mutated Array Closest to TargetMedium
Pizza With 3n SlicesHard
Max Value of EquationHard
Minimum Adjacent Swaps for K Consecutive OnesHard
Queries on Number of Points Inside a CircleMedium
Cutting RibbonsMedium
Count Fertile Pyramids in a LandHard
Beautiful ArrangementMedium
Range AdditionMedium
Split Array into Consecutive SubsequencesMedium
Largest Sum of AveragesMedium
Longest Common Suffix QueriesHard
Last Moment Before All Ants Fall Out of a PlankMedium
Maximum Non Negative Product in a MatrixMedium
Merge Triplets to Form Target TripletMedium
Left and Right Sum DifferencesEasy
Final Value of Variable After Performing OperationsEasy
Number of Students Unable to Eat LunchEasy
Last Day Where You Can Still CrossHard
Separate Squares IIHard
Finding 3-Digit Even NumbersEasy
Sum of Subarray RangesMedium
Meeting RoomsEasy
Max Number of K-Sum PairsMedium
Find the Maximum Number of Elements in SubsetMedium
Maximize Subarray GCD ScoreHard
Fruits Into Baskets IIEasy
Hand of StraightsMedium
Last Stone WeightEasy
Alternating Groups IIMedium
Number of Equivalent Domino PairsEasy
Strobogrammatic Number IIMedium
Element Appearing More Than 25% In Sorted ArrayEasy
Number of Ways to Reorder Array to Get Same BSTHard
Maximum AND Sum of ArrayHard
Maximum Length of Semi-Decreasing SubarraysMedium
Erect the FenceHard
Design Most Recently Used QueueMedium
Maximum Value of K Coins From PilesHard
Find Valid Matrix Given Row and Column SumsMedium
Design Phone DirectoryMedium
Zigzag IteratorMedium
Kth Smallest Subarray SumMedium
Operations on TreeMedium
Binary Searchable Numbers in an Unsorted ArrayMedium
Minimum Operations to Convert NumberMedium
Find All Lonely Numbers in the ArrayMedium
Flatten 2D VectorMedium
Peeking IteratorMedium
Count Prefixes of a Given StringEasy
Design Tic-Tac-ToeMedium
Merge Similar ItemsEasy
Finding the Number of Visible MountainsMedium
The Maze IIMedium
Word AbbreviationHard
Longest Line of Consecutive One in MatrixMedium
Increment Submatrices by OneMedium
Add Bold Tag in StringMedium
K Empty SlotsHard
Shortest Completing WordEasy
Sum of Imbalance Numbers of All SubarraysHard
Bricks Falling When HitHard
Minimum Cost to Connect SticksMedium
Divide ChocolateHard
Mean of Array After Removing Some ElementsEasy
Decrease Elements To Make Array ZigzagMedium
Where Will the Ball FallMedium
Sum of Digit Differences of All PairsMedium
Find Two Non-overlapping Sub-arrays Each With Target SumMedium
Minimum Cost to Connect Two Groups of PointsHard
Distribute Repeating IntegersHard
Minimum Operations to Make a SubsequenceHard
Find Kth Largest XOR Coordinate ValueMedium
Maximum Score from Performing Multiplication OperationsHard
Maximum Number of Groups Getting Fresh DonutsHard
Minimum Path Cost in a Hidden GridMedium
Beautiful Arrangement IIMedium
Profitable SchemesHard
Super Ugly NumberMedium
Number of Pairs Satisfying InequalityHard
Shopping OffersMedium
Find Anagram MappingsEasy
Minimum Absolute Difference Between Elements With ConstraintMedium
Strange Printer IIHard
Last Stone Weight IIMedium
Partition Array for Maximum SumMedium
Corporate Flight BookingsMedium
K-diff Pairs in an ArrayMedium
Number of Longest Increasing SubsequenceMedium
Count Negative Numbers in a Sorted MatrixEasy
Minimum Absolute DifferenceEasy
Maximum Profit in Job SchedulingHard
Shuffle StringEasy
Final Prices With a Special Discount in a ShopEasy
Lemonade ChangeEasy
Find the Town JudgeEasy
Number of Ways to Form a Target String Given a DictionaryHard
Find a Peak Element IIMedium
Rabbits in ForestMedium
Baseball GameEasy
Reveal Cards In Increasing OrderMedium
Number of Ways to Split ArrayMedium
Shifting Letters IIMedium
Ant on the BoundaryEasy
Count Good TripletsEasy
Find the Minimum Amount of Time to Brew PotionsMedium
Kth Smallest Product of Two Sorted ArraysHard
Find the Count of Monotonic Pairs IHard
Count Cells in Overlapping Horizontal and Vertical SubstringsMedium
Minimize the Maximum Difference of PairsMedium
Find Smallest Letter Greater Than TargetEasy
Fair Candy SwapEasy
Defuse the BombEasy
Time Needed to Buy TicketsEasy
Maximum Area Rectangle With Point Constraints IMedium
Minimum Time to Repair CarsMedium
Diagonal Traverse IIMedium
Maximum White Tiles Covered by a CarpetMedium
Amount of New Area Painted Each DayHard
Bomb EnemyMedium
Most Frequent PrimeMedium
Count the Number of Good PartitionsHard
Maximize Total Cost of Alternating SubarraysMedium
Count Subarrays With Median KHard
Minimum Cost to Make Array EqualindromicMedium
Smallest Index With Equal ValueEasy
Closest Dessert CostMedium
Maximize Consecutive Elements in an Array After ModificationHard
Longest Common Subsequence Between Sorted ArraysMedium
Erect the Fence IIHard
Watering Plants IIMedium
Recover the Original ArrayHard
Count Words Obtained After Adding a LetterMedium
All Divisions With the Highest Score of a Binary ArrayMedium
Remove All Ones With Row and Column FlipsMedium
Remove All Ones With Row and Column Flips IIMedium
Unique Word AbbreviationMedium
Check if There Is a Valid Parentheses String PathHard
Design an ATM MachineMedium
Minimum Lines to Represent a Line ChartMedium
Count Positions on Street With Required BrightnessMedium
Subarray With Elements Greater Than Varying ThresholdHard
Shortest Impossible Sequence of RollsHard
Minimum Unique Word AbbreviationHard
Valid Word SquareEasy
Word SquaresHard
Sort Array by Moving Items to Empty SpaceHard
Minimize Maximum Value in a GridHard
Convex PolygonMedium
Find PermutationMedium
Count Subarrays With More Ones Than ZerosMedium
Lonely Pixel IMedium
Lonely Pixel IIMedium
Maximum Vacation DaysHard
Maximum Average Subarray IIHard
Coin PathHard
Bold Words in StringMedium
Transform to ChessboardHard
Count Houses in a Circular StreetEasy
Random Pick with BlacklistHard
Count Pairs of Points With Distance kMedium
Array of Doubled PairsMedium
Campus Bikes IIMedium
Camelcase MatchingMedium
Divide Array Into Increasing SequencesHard
Minimum Increment Operations to Make Array BeautifulMedium
Shortest Distance to Target ColorMedium
Find Champion IEasy
Minimum Time to Build BlocksHard
Largest Values From LabelsMedium
Number of Equal Numbers BlocksMedium
Compare Strings by Frequency of the Smallest CharacterMedium
Distance Between Bus StopsEasy
Minimum Sum of Values by Dividing ArrayHard
Maximum Font to Fit a Sentence in a ScreenMedium
Minimum Path Cost in a GridMedium
Form Largest Integer With Digits That Add up to TargetHard
People Whose List of Favorite Companies Is Not a Subset of Another ListMedium
The k Strongest Values in an ArrayMedium
Maximum Number of Non-Overlapping Subarrays With Sum Equals TargetMedium
Guess the Majority in a Hidden ArrayMedium
Find Latest Group of Size MMedium
The Most Similar Path in a GraphHard
Put Boxes Into the Warehouse IMedium
Put Boxes Into the Warehouse IIMedium
Largest Subarray Length KEasy
Tree of CoprimesHard
Minimum Number of Operations to Reinitialize a PermutationMedium
Minimum Speed to Arrive on TimeMedium
Longest Word With All PrefixesMedium
Minimum Skips to Arrive at Meeting On TimeHard
Minimize Product Sum of Two ArraysMedium
Minimum Absolute Difference QueriesMedium
Number of Stable SubsequencesHard
Count Caesar Cipher PairsMedium
Minimum Number of Arrows to Burst BalloonsMedium
Trionic Array IEasy
Min Cost to Connect All PointsMedium
Array PartitionEasy
Subdomain Visit CountMedium
N-Repeated Element in Size 2N ArrayEasy
Partition to K Equal Sum SubsetsMedium
Unique Paths IIIHard
Combination Sum IIIMedium
Meeting SchedulerMedium
Single Number IIIMedium
Find Common CharactersEasy
Construct Quad TreeMedium
Maximum Number of Events That Can Be Attended IIHard
Check If Array Pairs Are Divisible by kMedium
Maximum Value of an Ordered Triplet IIMedium
Count Hills and Valleys in an ArrayEasy
Range Product Queries of PowersMedium
Minimum Number of Flips to Make Binary Grid Palindromic IIMedium
Delete and EarnMedium
Minimum Number of Refueling StopsHard
Monotonic ArrayEasy
Find Unique Binary StringMedium
Maximum Subsequence ScoreMedium
Keyboard RowEasy
Valid Triangle NumberMedium
Employee ImportanceMedium
Design HashMapEasy
Sort Array by Increasing FrequencyEasy
Bitwise ORs of SubarraysMedium
Find the Shortest SuperstringHard
Maximum Absolute Sum of Any SubarrayMedium
Minimum Operations to Make Binary Array Elements Equal to One IMedium
Longest Continuous Increasing SubsequenceEasy
Maximize Alternating Sum Using SwapsHard
Split Array With Minimum DifferenceMedium
Minimum Bitwise OR From GridMedium
Earliest Finish Time for Land and Water Rides IIMedium
Remove BoxesHard
Rotating the BoxMedium
Maximum GapMedium
Cherry PickupHard
Best Time to Buy and Sell Stock with Transaction FeeMedium
Make Sum Divisible by PMedium
Design HashSetEasy
Design Circular DequeMedium
Matrix Diagonal SumEasy
Maximum Running Time of N ComputersHard
XOR Queries of a SubarrayMedium
Find Minimum Time to Reach Last Room IMedium
Replace Elements with Greatest Element on Right SideEasy
Minimum Moves to Equal Array ElementsMedium
String Matching in an ArrayEasy
Minimum Cost Walk in Weighted GraphHard
Maximize Subarrays After Removing One Conflicting PairHard
Minimum Increments to Equalize Leaf PathsMedium
Rearranging FruitsHard
Shuffle an ArrayMedium
Minimum Number of K Consecutive Bit FlipsHard
Number of Submatrices That Sum to TargetHard
Minimum Number of Taps to Open to Water a GardenHard
Relative Sort ArrayEasy
Minimum Time to Visit a Cell In a GridHard
Maximum Product of Three NumbersEasy
Count the Number of Good SubarraysMedium
Shortest Subarray to be Removed to Make Array SortedMedium
Smallest Subarrays With Maximum Bitwise ORMedium
Insert Delete GetRandom O(1) - Duplicates allowedHard
Best Time to Buy and Sell Stock VMedium
Minimum Number of Operations to Make All Array Elements Equal to 1Medium
Threshold Majority QueriesHard
Twisted Mirror Path CountMedium
Largest Prime from Consecutive Prime SumMedium
Power Update After K-th Largest Insertion IMedium
Maximum Path Score in a GridMedium
Detect Cycles in 2D GridMedium
Minimize Maximum Pair Sum in ArrayMedium
Arithmetic SlicesMedium
Minimum Operations to Make Array Sum Divisible by KEasy
Minimum Time Visiting All PointsEasy
Minimum Value to Get Positive Step by Step SumEasy
Extra Characters in a StringMedium
Find Words Containing CharacterEasy
Battleships in a BoardMedium
Magnetic Force Between Two BallsMedium
The Number of the Smallest Unoccupied ChairMedium
Minimum Limit of Balls in a BagMedium
Take Gifts From the Richest PileEasy
Maximum Ascending Subarray SumEasy
Maximum Average Pass RatioMedium
Count Number of Maximum Bitwise-OR SubsetsMedium
Apply Operations to an ArrayEasy
First Completely Painted Row or ColumnMedium
Smallest String With SwapsMedium
Construct the Lexicographically Largest Valid SequenceMedium
Count the Number of Square-Free SubsetsMedium
Paint House IIIHard
Find the Minimum Area to Cover All Ones IMedium
IPOHard
Maximum Length of Repeated SubarrayMedium
Maximum Population YearEasy
Maximum Difference Between Increasing ElementsEasy
Shortest Distance to a CharacterEasy
Largest Perimeter TriangleEasy
Find the Minimum Cost Array PermutationHard
Minimum Equal Sum of Two Arrays After Replacing ZerosMedium
Count Equal and Divisible Pairs in an ArrayEasy
Maximum Subarray Sum With Length Divisible by KMedium
Block Placement QueriesHard
Maximum Score From Grid OperationsHard
Minimum Initial Energy to Finish TasksHard
Two Furthest Houses With Different ColorsEasy
Rotate FunctionMedium
Jump Game VHard
Minimum Common ValueEasy
Reshape the MatrixEasy
Max Dot Product of Two SubsequencesHard
Minimum Cost to Convert String IMedium
Trionic Array IIHard
Sort Integers by The Number of 1 BitsEasy
Four DivisorsMedium
Determine Whether Matrix Can Be Obtained By RotationEasy
Nearest Exit from Entrance in MazeMedium
Find Greatest Common Divisor of ArrayEasy
Longest Palindrome by Concatenating Two Letter WordsMedium
Find Closest Number to ZeroEasy
Count Subarrays With Fixed BoundsHard
Painting the WallsHard
Open the LockMedium
Design Browser HistoryMedium
Count Number of TeamsMedium
Sum of All Subset XOR TotalsEasy
Sort Array By Parity IIEasy
Bitwise XOR of All PairingsMedium
Equal Row and Column PairsMedium
Grid GameMedium
Maximum Distance in ArraysMedium
Number of Sub-arrays With Odd SumMedium
Adding Spaces to a StringMedium
Max Sum of a Pair With Equal Sum of DigitsMedium
Identify the Largest Outlier in an ArrayMedium
Find the Number of Distinct Colors Among the BallsMedium
Design Excel Sum FormulaHard
Simple Bank SystemMedium
The Two Sneaky Numbers of DigitvilleEasy
Set Intersection Size At Least TwoHard
Count Covered BuildingsMedium
Maximum Students Taking ExamHard
Find Subsequence of Length K With the Largest SumEasy
Find Lucky Integer in an ArrayEasy
4Sum IIMedium
Find the Winner of the Circular GameMedium
Contains Duplicate IIIHard
Next Greater Node In Linked ListMedium
Minimum Moves to Equal Array Elements IIMedium
Maximum Fruits Harvested After at Most K StepsHard
Maximum Units on a TruckEasy
Count Complete Subarrays in an ArrayMedium
Get the Maximum ScoreHard
Degree of an ArrayEasy
Minimum Operations to Make Array Elements ZeroHard
Find Resultant Array After Removing AnagramsEasy
Keep Multiplying Found Values by TwoEasy
Check If All 1's Are at Least Length K Places AwayEasy
Earliest Finish Time for Land and Water Rides IEasy
Number of Ways to Assign Edge Weights IIHard
Jump Game IXMedium
Minimum Jumps to Reach End via Prime TeleportationMedium
Check if Array is GoodEasy
Minimum Moves to Make Array ComplementaryMedium
Sum of DistancesMedium
Tallest BillboardHard
Maximum Square Area by Removing Fences From a FieldMedium
Minimum Removals to Balance ArrayMedium
Find Missing ElementsEasy
Invalid TransactionsMedium
Count Special TripletsMedium
Minimum Difference Between Highest and Lowest of K ScoresEasy
Brick WallMedium
Teemo AttackingEasy
Most Common WordEasy
Validate Stack SequencesMedium
Minimized Maximum of Products Distributed to Any StoreMedium
Escape the Spreading FireHard
Minimum Replacements to Sort the ArrayHard
Number of Senior CitizensEasy
Three Consecutive OddsEasy
Count the Number of Consistent StringsEasy
Jump Game VIMedium
Stone Game IIMedium
Minimum Number of Removals to Make Mountain ArrayHard
Count of Interesting SubarraysMedium
Longest Strictly Increasing or Strictly Decreasing SubarrayEasy
Longest Subarray With Maximum Bitwise ANDMedium
Maximum Height by Stacking CuboidsHard
Reach End of Array With Max ScoreMedium
Find the Student that Will Replace the ChalkMedium
Sort the PeopleEasy
Taking Maximum Energy From the Mystic DungeonMedium
Flip Columns For Maximum Number of Equal RowsMedium
Count Unguarded Cells in the GridMedium
Length of Longest Fibonacci SubsequenceMedium
Maximize Subarray Sum After Removing All Occurrences of One ElementHard
Finding Pairs With a Certain SumMedium
Maximum Unique Subarray Sum After DeletionEasy
Maximum Frequency After Subarray OperationMedium
Apply Operations to Maximize ScoreHard
Minimum Cost Tree From Leaf ValuesMedium
Count Good Triplets in an ArrayHard
Put Marbles in BagsHard
Minimum Operations to Make Array Values Equal to KEasy
Maximize the Minimum Powered CityHard
Count Partitions With Max-Min Difference at Most KMedium
Fruits Into Baskets IIIMedium
Power Grid MaintenanceMedium
Minimum Operations to Convert All Elements to ZeroMedium
Greatest Sum Divisible by ThreeMedium
Minimum Number of Operations to Make Array ContinuousHard
Count Pairs Whose Sum is Less than TargetEasy
Minimum Total Distance TraveledHard
Count Elements With Maximum FrequencyEasy
Number of Distinct IslandsMedium
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Minimum Score Triangulation of PolygonMedium
Process Tasks Using ServersMedium
Maximum Number of Visible PointsHard
Replace Non-Coprime Numbers in ArrayHard
Count Subarrays Where Max Element Appears at Least K TimesMedium
Available Captures for RookEasy
1-bit and 2-bit CharactersEasy
Add to Array-Form of IntegerEasy
Sort Matrix by DiagonalsMedium
Minimum Number of People to TeachMedium
Maximum Total Damage With Spell CastingMedium
Number of Smooth Descent Periods of a StockMedium
Find Words That Can Be Formed by CharactersEasy
Maximize the Distance Between Points on a SquareHard
Maximize Cyclic Partition ScoreHard
Find Indices of Stable MountainsEasy
Separate the Digits in an ArrayEasy
Count Partitions with Even Sum DifferenceEasy
Minimum Cost Path with TeleportationsHard
Get Biggest Three Rhombus Sums in a GridMedium
Minimum Absolute Difference in Sliding SubmatrixMedium
Equal Sum Grid Partition IMedium
Equal Sum Grid Partition IIHard
Minimum Deletions to Make Array DivisibleHard
Coloring A BorderMedium
Largest Magic SquareMedium
Widest Vertical Area Between Two Points Containing No PointsEasy
Count Submatrices with Top-Left Element and Sum Less Than kMedium
Verifying an Alien DictionaryEasy
Max Pair Sum in an ArrayEasy
Find Common Elements Between Two ArraysEasy
Number of Lines To Write StringEasy
Find and Replace PatternMedium
Find Players With Zero or One LossesMedium
Arithmetic Slices II - SubsequenceHard
MinesweeperMedium
Constrained Subsequence SumHard
Most Profit Assigning WorkMedium
Satisfiability of Equality EquationsMedium
Count Number of Pairs With Absolute Difference KEasy
Design a Food Rating SystemMedium
Find Minimum Operations to Make All Elements Divisible by ThreeEasy
Count Sub IslandsMedium
Shortest Distance After Road Addition Queries IMedium
Find Winner on a Tic Tac Toe GameEasy
Find a Safe Walk Through a GridMedium
Divide Intervals Into Minimum Number of GroupsMedium
Largest Combination With Bitwise AND Greater Than ZeroMedium
Shortest Subarray With OR at Least K IIMedium
Delete Duplicate Folders in SystemHard
Best Meeting PointHard
Most Beautiful Item for Each QueryMedium
Find the Power of K-Size Subarrays IMedium
Maximum Coins From K Consecutive BagsMedium
Minimum Time to Complete TripsMedium
Find Score of an Array After Marking All ElementsMedium
Maximum Product of Two Elements in an ArrayEasy
Analyze User Website Visit PatternMedium
Minimum Operations to Make the Array IncreasingEasy
Maximum Number of Points From Grid QueriesHard
Minimum Index of a Valid SplitMedium
Maximum Value of an Ordered Triplet IEasy
Successful Pairs of Spells and PotionsMedium
Count the Hidden SequencesMedium
Find Weighted Median Node in TreeHard
Maximum Difference Between Adjacent Elements in a Circular ArrayEasy
Minimum Swaps to Sort by Digit SumMedium
Count the Number of Computer Unlocking PermutationsMedium
Number of Squareful ArraysHard
Matchsticks to SquareMedium
Maximum Subarray With Equal ProductsEasy
Vowel SpellcheckerMedium
Find X-Sum of All K-Long Subarrays IIHard
Make Array Elements Equal to ZeroEasy
Apple Redistribution into BoxesEasy
Most Frequent Even ElementEasy
Rectangle Area IIHard
Check if the Rectangle Corner Is ReachableHard
Find Good Days to Rob the BankMedium
Find Right IntervalMedium
Pairs of Songs With Total Durations Divisible by 60Medium
Two City SchedulingMedium
Row With Maximum OnesEasy
Minimum Difference in Sums After Removal of ElementsHard
Divide Array Into Equal PairsEasy
Sum of Unique ElementsEasy
Minimum Operations to Make a Uni-Value GridMedium
Find the String with LCPHard
Check if Matrix Is X-MatrixEasy
Make Array Non-decreasingMedium
Check If It Is a Good ArrayHard
Minimum Cost to Reach Destination in TimeHard
Subsequence Sum After Capping ElementsMedium
Design SpreadsheetMedium
Minimum Moves to Move a Box to Their Target LocationHard
Minimum Number GameEasy
Minimum Element After Replacement With Digit SumEasy
Maximum Total Subarray Value IMedium
Minimum Operations to Transform Array into Alternating PrimeMedium
Closest Equal Element QueriesMedium
Cyclically Rotating a GridMedium
Minimum Absolute Distance Between Mirror PairsMedium
Construct Uniform Parity Array IEasy
Maximize Area of Square Hole in GridMedium
Construct the Minimum Bitwise Array IEasy
Max Increase to Keep City SkylineMedium
Longest Turbulent SubarrayMedium
Flip Square Submatrix VerticallyEasy
Robot CollisionsHard
Walking Robot SimulationMedium
Maximum Distance Between a Pair of ValuesMedium
Minimum Processing TimeMedium
Read N Characters Given Read4Easy
Score After Flipping MatrixMedium
Minimum Increment to Make Array UniqueMedium
The K Weakest Rows in a MatrixEasy
Check If Two String Arrays are EquivalentEasy
Maximum Performance of a TeamHard
Find the Maximum Sum of Node ValuesHard
Height CheckerEasy
Subrectangle QueriesMedium
Maximum Score Words Formed by LettersHard
Dot Product of Two Sparse VectorsMedium
Maximum Number of Fish in a GridMedium
Spiral Matrix IVMedium
Restore the Array From Adjacent PairsMedium
Remove CommentsMedium
Maximum Subarray Sum with One DeletionMedium
Chalkboard XOR GameHard
Make Array Non-decreasing or Non-increasingHard
Find the Distance Value Between Two ArraysEasy
Sliding PuzzleHard
Create Target Array in the Given OrderEasy
Maximum Number of Moves in a GridMedium
Maximum Subarray Min-ProductMedium
Find Building Where Alice and Bob Can MeetHard
Maximum Possible Number by Binary ConcatenationMedium
Find Triangular Sum of an ArrayMedium
Ways to Split Array Into Three SubarraysMedium
Minimum Operations to Exceed Threshold Value IIMedium
Uncrossed LinesMedium
Count Items Matching a RuleEasy
Number of Distinct Islands IIHard
Find the Maximum Number of Fruits CollectedHard
Length of Longest V-Shaped Diagonal SegmentHard
Sum of All Odd Length SubarraysEasy
Longest Non-decreasing Subarray From Two ArraysMedium
Partition Array Such That Maximum Difference Is KMedium
Find the Divisibility Array of a StringMedium
Shifting LettersMedium
Minimum Number of Operations to Make Elements in Array DistinctEasy
Maximum Number of Tasks You Can AssignHard
Longest Special Path IIHard
Buildings With an Ocean ViewMedium
Stone Game VIIMedium
Maximum Area of Longest Diagonal RectangleEasy
Maximum Candies You Can Get from BoxesHard
Count Special QuadrupletsEasy
Unique 3-Digit Even NumbersEasy
Find Nearest Point That Has the Same X or Y CoordinateEasy
Shortest Word Distance IIMedium
Longest Subsequence With Limited SumEasy
Sum of Absolute Differences in a Sorted ArrayMedium
Reducing DishesHard
Allocate MailboxesHard
Coupon Code ValidatorEasy
Task Scheduler IIMedium
Find the Minimum Area to Cover All Ones IIHard
Partition Array for Maximum XOR and ANDHard
Divide an Array Into Subarrays With Minimum Cost IIHard
Maximum Profit from Trading Stocks with DiscountsHard
Maximum Length of Pair ChainMedium
Verbal Arithmetic PuzzleHard
Maximum Number of Accepted InvitationsMedium
Minimum Swaps to Group All 1's Together IIMedium
Find the Middle Index in ArrayEasy
Super Washing MachinesHard
Number of Subarrays with Bounded MaximumMedium
Closest Subsequence SumHard
Find Minimum Time to Finish All JobsHard
Missing Element in Sorted ArrayMedium
Zigzag Grid Traversal With SkipEasy
Delete Greatest Value in Each RowEasy
3Sum With MultiplicityMedium
Card Flipping GameMedium
Make the XOR of All Segments Equal to ZeroHard
Maximum Matching of Players With TrainersMedium
Split the ArrayEasy
Minimum Cost to Make Array EqualHard
Collect Coins in a TreeHard
Range Sum Query - MutableMedium
Minimum Difficulty of a Job ScheduleHard
Count Bowl SubarraysMedium
Find the Number of Winning PlayersEasy
Apply Operations to Maximize Frequency ScoreHard
Implement RouterMedium
Path Existence Queries in a Graph IIHard
Maximum Amount of Money Robot Can EarnMedium
Smallest Missing Integer Greater Than Sequential Prefix SumEasy
Maximum Count of Positive Integer and Negative IntegerEasy
Candy CrushMedium
Smallest Range IEasy
Best Team With No ConflictsMedium
Sum of Variable Length SubarraysEasy
Apply Operations to Make All Array Elements Equal to ZeroMedium
Two-Letter Card GameMedium
Difference Between Element Sum and Digit Sum of an ArrayEasy
Maximum Total Subarray Value IIHard
Subarrays Distinct Element Sum of Squares IEasy
Maximum Sum Obtained of Any PermutationMedium
Matrix Similarity After Cyclic ShiftsEasy
Minimum Distance Between Three Equal Elements IIMedium
Check if There is a Valid Path in a GridMedium
Count Subarrays With Majority Element IMedium
Transformed ArrayEasy
Longest Balanced Subarray IMedium
Count Sequences to KHard
Count Unhappy FriendsMedium
Minimum Number of Seconds to Make Mountain Height ZeroMedium
Maximum Partition FactorHard
Weighted Word MappingEasy
Number of Pairs of Interchangeable RectanglesMedium
Maximum Ice Cream BarsMedium
Stickers to Spell WordHard
Minimum Sideway JumpsMedium
Check if There is a Valid Partition For The ArrayMedium
Most Profitable Path in a TreeMedium
Count Triplets That Can Form Two Arrays of Equal XORMedium
Least Number of Unique Integers after K RemovalsMedium
Prefix and Suffix SearchHard
Replace WordsMedium
Paint HouseMedium
Find Maximum Non-decreasing Array LengthHard
Largest Positive Integer That Exists With Its NegativeEasy
Average Waiting TimeMedium
Minimum Array Changes to Make Differences EqualMedium
Alternating Groups IEasy
Kth Distinct String in an ArrayEasy
Find if Array Can Be SortedMedium
Minimum Operations to Make Array Equal to TargetHard
K-th Nearest Obstacle QueriesMedium
Check Knight Tour ConfigurationMedium
Maximum XOR Score Subarray QueriesHard
Find Missing ObservationsMedium
Projection Area of 3D ShapesEasy
Maximal Score After Applying K OperationsMedium
Sorted GCD Pair QueriesHard
Snake in MatrixEasy
Maximum Number of Moves to Kill All PawnsHard
Minimum Division Operations to Make Array Non DecreasingMedium
Longest Square Streak in an ArrayMedium
Neighboring Bitwise XORMedium
Maximum Size Subarray Sum Equals kMedium
Maximum Star Sum of a GraphMedium
Stone Game VHard
Sum of Good NumbersEasy
Final Array State After K Multiplication Operations IEasy
Count Prefix and Suffix Pairs IEasy
Sparse Matrix MultiplicationMedium
Find Maximum Removals From Source StringMedium
Maximize Amount After Two Days of ConversionsMedium
Cells with Odd Values in a MatrixEasy
Find the Kth Largest Integer in the ArrayMedium
Make Lexicographically Smallest Array by Swapping ElementsMedium
Longest Subsequence With Decreasing Adjacent DifferenceMedium
Find the Number of Copy ArraysMedium
Maximum Path Quality of a GraphHard
Smallest Substring With Identical Characters IHard
Minimum Index Sum of Two ListsEasy
Find the XOR of Numbers Which Appear TwiceEasy
Minimum Amount of Time to Fill CupsEasy
Encrypt and Decrypt StringsHard
Count Vowel Strings in RangesMedium
Count Pairs That Form a Complete Day IIMedium
Movement of RobotsMedium
Contain VirusHard
Count Subarrays of Length Three With a ConditionEasy
Maximum Product After K IncrementsMedium
Zero Array Transformation IVMedium
Merge Operations for Minimum Travel TimeHard
Group the People Given the Group Size They Belong ToMedium
Minimum Moves to Spread Stones Over GridMedium
Closest Node to Path in TreeHard
Minimize Malware SpreadHard
Minimum Cost to Make Arrays IdenticalMedium
Length of the Longest Valid SubstringHard
Find Minimum Time to Reach Last Room IIMedium
Find All Groups of FarmlandMedium
Earliest Second to Mark Indices IIHard
Reorder Data in Log FilesMedium
Longest Word in DictionaryMedium
Shortest Path in a Hidden GridMedium
Shift Distance Between Two StringsMedium
Maximum Length of a Concatenated String with Unique CharactersMedium
The Maze IIIHard
Create Sorted Array through InstructionsHard
Find Maximum Area of a TriangleMedium
Maximum Value of a String in an ArrayEasy
Non-decreasing SubsequencesMedium
Count Elements With Strictly Smaller and Greater ElementsEasy
Sum of Squares of Special ElementsEasy
Distribute CandiesEasy
Find the K-Sum of an ArrayHard
Count Islands With Total Value Divisible by KMedium
Partition Array Into Three Parts With Equal SumEasy
Minimum Score After Removals on a TreeHard
Largest Element in an Array after Merge OperationsMedium
Count Prime-Gap Balanced SubarraysMedium
Convert an Array Into a 2D Array With ConditionsMedium
Minimum Cost to Convert String IIHard
Sum of Beautiful SubsequencesHard
Maximum Total from Optimal Activation OrderMedium
Minimum Array SumMedium
Maximum Alternating Subsequence SumMedium
Maximize Sum Of Array After K NegationsEasy
Partition Array Into K-Distinct GroupsMedium
Minimum Average of Smallest and Largest ElementsEasy
Find The Original Array of Prefix XorMedium
Maximum Area Rectangle With Point Constraints IIHard
Distinct Prime Factors of Product of ArrayMedium
Number of Arithmetic TripletsEasy
Split Array With Same AverageHard
Escape a Large MazeHard
Find the Largest Almost Missing IntegerEasy
Sum of Perfect Square AncestorsHard
Number of Valid Move Combinations On ChessboardHard
Find the Longest Valid Obstacle Course at Each PositionHard
Find Minimum Cost to Remove Array ElementsMedium
Find Servers That Handled Most Number of RequestsHard
Maximum Product of Three Elements After One ReplacementMedium
Partition Array into Disjoint IntervalsMedium
Make Array EmptyHard
Maximum Area of a Piece of Cake After Horizontal and Vertical CutsMedium
Smallest Index With Digit Sum Equal to IndexEasy
Sort Even and Odd Indices IndependentlyEasy
Binary Prefix Divisible By 5Easy
Binary Trees With FactorsMedium
Count the Number of InversionsHard
Length of Longest Subarray With at Most K FrequencyMedium
K Radius Subarray AveragesMedium
Append K Integers With Minimal SumMedium
Number of Sub-arrays of Size K and Average Greater than or Equal to ThresholdMedium
Maximize Happiness of Selected ChildrenMedium
Buy Two ChocolatesEasy
Find Duplicate File in SystemMedium
Count Nice Pairs in an ArrayMedium
Minimum Time to Complete All TasksHard
The Number of Beautiful SubsetsMedium
Right TrianglesMedium
Minimum Number of Days to Disconnect IslandHard
Prime In DiagonalEasy
Sort the Matrix DiagonallyMedium
Merge BSTs to Create Single BSTHard
As Far from Land as PossibleMedium
K-Concatenation Maximum SumMedium
Number of Orders in the BacklogMedium
Minimum Pair Removal to Sort Array IIHard
Partition Array to Minimize XORMedium
Minimum K to Reduce Array Within LimitMedium
Minimum Amount of Time to Collect GarbageMedium
Number of Subarrays With LCM Equal to KMedium
Number of Black BlocksMedium
Find the Number of Subsequences With Equal GCDHard
Maximum Number of Groups Entering a CompetitionMedium
Construct Product MatrixMedium
Reachable Nodes With RestrictionsMedium
Numbers At Most N Given Digit SetHard
Valid Arrangement of PairsHard
Minimum Distance Between Three Equal Elements IEasy
Minimum XOR Path in a GridMedium
Final Array State After K Multiplication Operations IIHard
Minimum Distance to the Target ElementEasy
Find the Smallest Balanced IndexMedium
Find the Sum of the Power of All SubsequencesHard
First Unique NumberMedium
Maximize Count of Distinct Primes After SplitHard
Maximum Binary TreeMedium
Circular Array LoopMedium
Minimum Swaps To Make Sequences IncreasingHard
Maximum of Absolute Value ExpressionMedium
Find Subarrays With Equal SumEasy
Count Good MealsMedium
Find the PeaksEasy
Get Maximum in Generated ArrayEasy
Plates Between CandlesMedium
Minimize the Difference Between Target and Chosen ElementsMedium
Queens That Can Attack the KingMedium
Maximum Building HeightHard
Dice Roll SimulationHard

Showing 1299 questions