Google

2217 LeetCode interview questions

Difficulty Distribution

Easy
588
27%
Medium
1153
52%
Hard
476
21%

Top Topics

All Questions

TitleDifficulty
Two SumEasy
Add Two NumbersMedium
Longest Substring Without Repeating CharactersMedium
Median of Two Sorted ArraysHard
Longest Common PrefixEasy
Trapping Rain WaterHard
Longest Consecutive SequenceMedium
Merge Strings AlternatelyEasy
Recyclable and Low Fat ProductsEasy
Create Hello World FunctionEasy
Longest Palindromic SubstringMedium
Palindrome NumberEasy
3SumMedium
Merge Sorted ArrayEasy
Best Time to Buy and Sell StockEasy
Valid ParenthesesEasy
Search in Rotated Sorted ArrayMedium
Maximum SubarrayMedium
Jump GameMedium
Pascal's TriangleEasy
Single NumberEasy
Reverse Linked ListEasy
Logger Rate LimiterEasy
Minimum Number of Increments on Subarrays to Form a Target ArrayHard
Reverse IntegerMedium
Container With Most WaterMedium
Roman to IntegerEasy
Merge Two Sorted ListsEasy
Generate ParenthesesMedium
Remove Duplicates from Sorted ArrayEasy
Remove ElementEasy
Next PermutationMedium
N-QueensHard
Spiral MatrixMedium
Merge IntervalsMedium
Climbing StairsEasy
Largest Rectangle in HistogramHard
LRU CacheMedium
Find Peak ElementMedium
Majority ElementEasy
Number of IslandsMedium
Meeting Rooms IIMedium
Move ZeroesEasy
Add Two IntegersEasy
Decode StringMedium
Subarray Sum Equals KMedium
Koko Eating BananasMedium
3Sum ClosestMedium
4SumMedium
Find the Index of the First Occurrence in a StringEasy
First Missing PositiveHard
Jump Game IIMedium
Rotate ImageMedium
Group AnagramsMedium
Insert IntervalMedium
Add BinaryEasy
Text JustificationHard
Maximal RectangleHard
Same TreeEasy
Maximum Product SubarrayMedium
Isomorphic StringsEasy
Contains Duplicate IIEasy
Valid AnagramEasy
Missing NumberEasy
Find the Duplicate NumberMedium
Find Median from Data StreamHard
Remove K DigitsMedium
Partition Equal Subset SumMedium
Find All Numbers Disappeared in an ArrayEasy
Binary SearchEasy
Fruit Into BasketsMedium
Rotting OrangesMedium
The Earliest Moment When Everyone Become FriendsMedium
Concatenation of ArrayEasy
Zigzag ConversionMedium
Regular Expression MatchingHard
Letter Combinations of a Phone NumberMedium
Remove Nth Node From End of ListMedium
Merge k Sorted ListsHard
Reverse Nodes in k-GroupHard
Find First and Last Position of Element in Sorted ArrayMedium
Search Insert PositionEasy
Valid SudokuMedium
Sudoku SolverHard
Combination SumMedium
PermutationsMedium
Pow(x, n)Medium
Length of Last WordEasy
Rotate ListMedium
Unique PathsMedium
Plus OneEasy
Sqrt(x)Easy
Edit DistanceMedium
Set Matrix ZeroesMedium
Sort ColorsMedium
SubsetsMedium
Best Time to Buy and Sell Stock IIMedium
Binary Tree Maximum Path SumHard
Valid PalindromeEasy
Palindrome PartitioningMedium
CandyHard
Word BreakMedium
Linked List CycleEasy
Reverse Words in a StringMedium
Min StackMedium
Two Sum II - Input Array Is SortedMedium
Combine Two TablesEasy
Rotate ArrayMedium
House RobberMedium
Happy NumberEasy
Course ScheduleMedium
Kth Largest Element in an ArrayMedium
Contains DuplicateEasy
Maximal SquareMedium
Basic CalculatorHard
Invert Binary TreeEasy
Power of TwoEasy
Palindrome Linked ListEasy
Product of Array Except SelfMedium
Sliding Window MaximumHard
Longest Increasing SubsequenceMedium
Coin ChangeMedium
Reverse Vowels of a StringEasy
Top K Frequent ElementsMedium
Intersection of Two ArraysEasy
Russian Doll EnvelopesHard
Insert Delete GetRandom O(1)Medium
Split Array Largest SumHard
Pacific Atlantic Water FlowMedium
Longest Repeating Character ReplacementMedium
Meeting Rooms IIIHard
Max Consecutive OnesEasy
Reverse PairsHard
Single Element in a Sorted ArrayMedium
Diameter of Binary TreeEasy
Find Customer RefereeEasy
Range ModuleHard
Daily TemperaturesMedium
Guess the WordHard
Peak Index in a Mountain ArrayMedium
Middle of the Linked ListEasy
Random Pick with WeightMedium
Minimum Area RectangleMedium
Fibonacci NumberEasy
Create a DataFrame from ListEasy
Max Consecutive Ones IIIMedium
Capacity To Ship Packages Within D DaysMedium
Greatest Common Divisor of StringsEasy
Delete Nodes And Return ForestMedium
Number of Visible People in a QueueHard
Unique Number of OccurrencesEasy
Running Sum of 1d ArrayEasy
Finding MK AverageHard
Viewers Turned StreamersHard
Zero Array Transformation IMedium
Separate Squares IMedium
Count Number of Trapezoids IIHard
Count Number of Trapezoids IMedium
String to Integer (atoi)Medium
Integer to RomanMedium
Wildcard MatchingHard
Minimum Path SumMedium
Search a 2D MatrixMedium
Subsets IIMedium
Symmetric TreeEasy
Flatten Binary Tree to Linked ListMedium
Clone GraphMedium
Copy List with Random PointerMedium
Missing RangesEasy
Fraction to Recurring DecimalMedium
Second Highest SalaryMedium
Binary Tree Right Side ViewMedium
Word Search IIHard
Shortest PalindromeHard
The Skyline ProblemHard
Implement Stack using QueuesEasy
Kth Smallest Element in a BSTMedium
Group Shifted StringsMedium
Binary Tree PathsEasy
Graph Valid TreeMedium
Number of Islands IIHard
Best Time to Buy and Sell Stock with CooldownMedium
Binary Tree Vertical Order TraversalMedium
Count of Smaller Numbers After SelfHard
Power of ThreeEasy
Reconstruct ItineraryHard
Reverse StringEasy
Moving Average from Data StreamEasy
Android Unlock PatternsMedium
Count Numbers with Unique DigitsMedium
Largest Divisible SubsetMedium
Combination Sum IVMedium
Linked List Random NodeMedium
First Unique Character in a StringEasy
Find the DifferenceEasy
Evaluate DivisionMedium
Trapping Rain Water IIHard
Add StringsEasy
Sequence ReconstructionMedium
Sliding Window MedianHard
Target SumMedium
Next Greater Element IEasy
Detect CapitalEasy
Reverse String IIEasy
Student Attendance Record IIHard
Shortest Unsorted Continuous SubarrayMedium
Exclusive Time of FunctionsMedium
Maximum SwapMedium
24 GameHard
Valid Palindrome IIEasy
Repeated String MatchMedium
Maximum Sum of 3 Non-Overlapping SubarraysHard
Top K Frequent WordsMedium
Network Delay TimeMedium
Min Cost Climbing StairsEasy
Cheapest Flights Within K StopsMedium
Rotate StringEasy
Champagne TowerMedium
Largest Triangle AreaEasy
Bus RoutesHard
Sum of Distances in TreeHard
Robot Room CleanerHard
Keys and RoomsMedium
Shortest Path Visiting All NodesHard
Binary Subarrays With SumMedium
Minimum Falling Path SumMedium
Bag of TokensMedium
Odd Even JumpHard
Minimum Domino Rotations For Equal RowMedium
Longest Common SubsequenceMedium
Rank Transform of an ArrayEasy
Maximum Candies Allocated to K ChildrenMedium
Remove Sub-Folders from the FilesystemMedium
Tuple with Same ProductMedium
Number of Closed IslandsMedium
Find the Difference of Two ArraysEasy
Check If N and Its Double ExistEasy
Product of the Last K NumbersMedium
Minimum Cost to Make at Least One Valid Path in a GridHard
Maximum Score After Splitting a StringEasy
Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMedium
Make The String GreatEasy
Richest Customer WealthEasy
Minimum Number of Operations to Move All Balls to Each BoxMedium
Unique Length-3 Palindromic SubsequencesMedium
Detect SquaresMedium
Check if Word Can Be Placed In CrosswordMedium
Partition Array Into Two Arrays to Minimize Sum DifferenceHard
Detonate the Maximum BombsMedium
Find All Possible Recipes from Given SuppliesMedium
Minimum Time to Finish the RaceHard
Minimum Weighted Subgraph With the Required PathsHard
Move Pieces to Obtain a StringMedium
The Latest Time to Catch a BusMedium
Design a Number Container SystemMedium
Height of Binary Tree After Subtree Removal QueriesHard
Time Taken to Cross the DoorHard
Lexicographically Smallest Beautiful StringHard
CounterEasy
Maximum Beauty of an Array After Applying OperationMedium
Find the Safest Path in a GridMedium
Find Longest Special Substring That Occurs Thrice IMedium
Count Days Without MeetingsMedium
Delete Nodes From Linked List Present in ArrayMedium
Count Good NumbersMedium
Swap Nodes in PairsMedium
Divide Two IntegersMedium
Substring with Concatenation of All WordsHard
Longest Valid ParenthesesHard
Count and SayMedium
Combination Sum IIMedium
Multiply StringsMedium
Permutation SequenceHard
Simplify PathMedium
Minimum Window SubstringHard
Word SearchMedium
Remove Duplicates from Sorted Array IIMedium
Search in Rotated Sorted Array IIMedium
Remove Duplicates from Sorted ListEasy
Partition ListMedium
Reverse Linked List IIMedium
Binary Tree Inorder TraversalEasy
Validate Binary Search TreeMedium
Binary Tree Level Order TraversalMedium
Binary Tree Zigzag Level Order TraversalMedium
Maximum Depth of Binary TreeEasy
Construct Binary Tree from Preorder and Inorder TraversalMedium
Convert Sorted Array to Binary Search TreeEasy
Balanced Binary TreeEasy
TriangleMedium
Word LadderHard
Surrounded RegionsMedium
Gas StationMedium
Single Number IIMedium
Word Break IIHard
Linked List Cycle IIMedium
Reorder ListMedium
Sort ListMedium
Evaluate Reverse Polish NotationMedium
Find Minimum in Rotated Sorted ArrayMedium
Intersection of Two Linked ListsEasy
Largest NumberMedium
Consecutive NumbersMedium
Employees Earning More Than Their ManagersEasy
Rising TemperatureEasy
Remove Linked List ElementsEasy
Count PrimesMedium
Implement Trie (Prefix Tree)Medium
Minimum Size Subarray SumMedium
Course Schedule IIMedium
House Robber IIMedium
Rearrange Array Elements by SignMedium
Summary RangesEasy
Majority Element IIMedium
Implement Queue using StacksEasy
Lowest Common Ancestor of a Binary TreeMedium
Delete Node in a Linked ListMedium
Search a 2D Matrix IIMedium
Add DigitsEasy
Alien DictionaryHard
Encode and Decode StringsMedium
Integer to English WordsHard
H-IndexMedium
Number of Ways to Build Sturdy Brick WallMedium
First Bad VersionEasy
Perfect SquaresMedium
Expression Add OperatorsHard
Serialize and Deserialize Binary TreeHard
Range Sum Query - ImmutableEasy
Burst BalloonsHard
Remove Duplicate LettersMedium
Odd Even Linked ListMedium
Longest Increasing Path in a MatrixHard
Increasing Triplet SubsequenceMedium
Flatten Nested List IteratorMedium
Intersection of Two Arrays IIEasy
Design Hit CounterMedium
Sum of Two IntegersMedium
Find K Pairs with Smallest SumsMedium
Ransom NoteEasy
Longest Absolute File PathMedium
Is SubsequenceEasy
Nth DigitMedium
Queue Reconstruction by HeightMedium
Longest PalindromeEasy
Fizz BuzzEasy
Maximum XOR of Two Numbers in an ArrayMedium
Non-overlapping IntervalsMedium
Find All Anagrams in a StringMedium
Find All Duplicates in an ArrayMedium
String CompressionMedium
Sort Characters By FrequencyMedium
Assign CookiesEasy
Repeated Substring PatternEasy
LFU CacheHard
Predict the WinnerMedium
Diagonal TraverseMedium
Next Greater Element IIMedium
Relative RanksEasy
Coin Change IIMedium
Contiguous ArrayMedium
Minimum Time DifferenceMedium
01 MatrixMedium
Number of ProvincesMedium
Permutation in StringMedium
Managers with at Least 5 Direct ReportsMedium
Employee BonusEasy
Big CountriesEasy
Can Place FlowersEasy
Task SchedulerMedium
Maximum Average Subarray IEasy
Palindromic SubstringsMedium
Find Duplicate SubtreesMedium
Find K Closest ElementsMedium
Redundant ConnectionMedium
Max Area of IslandMedium
Accounts MergeMedium
My Calendar IMedium
Asteroid CollisionMedium
Reorganize StringMedium
Kth Largest Element in a StreamEasy
Swap Adjacent in LR StringMedium
Swim in Rising WaterHard
Domino and Tromino TilingMedium
Number of Matching SubsequencesMedium
Find Eventual Safe StatesMedium
Continuous SubarraysMedium
Soup ServingsMedium
Race CarHard
Making A Large IslandHard
Flipping an ImageEasy
Find And Replace in StringMedium
New 21 GameMedium
Backspace String CompareEasy
Car FleetMedium
Transpose MatrixEasy
Online Stock SpanMedium
Sum of Subarray MinimumsMedium
Snakes and LaddersMedium
Sort an ArrayMedium
Regions Cut By SlashesMedium
Maximum Width RampMedium
Minimum Area Rectangle IIMedium
K Closest Points to OriginMedium
Squares of a Sorted ArrayEasy
Vertical Order Traversal of a Binary TreeHard
Subarrays with K Different IntegersHard
Remove Outermost ParenthesesEasy
Shortest Path in Binary MatrixMedium
Snapshot ArrayMedium
Article Views IEasy
Monthly Transactions IMedium
Longest Arithmetic Subsequence of Given DifferenceMedium
Score of a StringEasy
Average Selling PriceEasy
Count Square Submatrices with All OnesMedium
Shortest Path in a Grid with Obstacles EliminationHard
Students and ExaminationsEasy
Design a Stack With Increment OperationMedium
Replace Employee ID With The Unique IdentifierEasy
Kids With the Greatest Number of CandiesEasy
Maximum Points You Can Obtain from CardsMedium
Minimum Number of Days to Make m BouquetsMedium
Minimum Difference Between Largest and Smallest Value in Three MovesMedium
Number of Good PairsEasy
Kth Missing Positive NumberEasy
Path With Minimum EffortMedium
Average Time of Process per MachineEasy
Check if Array Is Sorted and RotatedEasy
Single-Threaded CPUMedium
Frequency of the Most Frequent ElementMedium
Minimum Interval to Include Each QueryHard
Ugly NumberEasy
Find X-Sum of All K-Long Subarrays IEasy
Type of TriangleEasy
Find Missing and Repeated ValuesEasy
Zero Array Transformation IIMedium
Apply SubstitutionsMedium
Next Special Palindrome NumberHard
N-Queens IIHard
Spiral Matrix IIMedium
CombinationsMedium
Remove Duplicates from Sorted List IIMedium
Minimum Depth of Binary TreeEasy
Populating Next Right Pointers in Each NodeMedium
Binary Tree Postorder TraversalEasy
Find Minimum in Rotated Sorted Array IIHard
Read N Characters Given read4 II - Call Multiple TimesHard
Longest Substring with At Most Two Distinct CharactersMedium
Factorial Trailing ZeroesMedium
Rank ScoresMedium
Best Time to Buy and Sell Stock IVHard
Bitwise AND of Numbers RangeMedium
Basic Calculator IIMedium
Number of Digit OneHard
Lowest Common Ancestor of a Binary Search TreeMedium
Strobogrammatic NumberEasy
Flatten 2D VectorMedium
3Sum SmallerMedium
Palindrome PermutationEasy
Closest Binary Search Tree Value IIHard
Paint FenceMedium
Wiggle SortMedium
Zigzag IteratorMedium
Peeking IteratorMedium
Walls and GatesMedium
Unique Word AbbreviationMedium
Game of LifeMedium
Word PatternEasy
Flip GameEasy
Flip Game IIMedium
Super Ugly NumberMedium
Shortest Distance from All BuildingsHard
Bulb SwitcherMedium
Generalized AbbreviationMedium
Create Maximum NumberHard
Number of Connected Components in an Undirected GraphMedium
Wiggle Sort IIMedium
Count of Range SumHard
Verify Preorder Serialization of a Binary TreeMedium
House Robber IIIMedium
Longest Substring with At Most K Distinct CharactersMedium
Power of FourEasy
Design Tic-Tac-ToeMedium
Design Snake GameMedium
Line ReflectionMedium
Rearrange String k Distance ApartHard
Sort Transformed ArrayMedium
Bomb EnemyMedium
Max Sum of Rectangle No Larger Than KHard
Find Leaves of Binary TreeMedium
Plus One Linked ListMedium
Range AdditionMedium
Guess Number Higher or LowerEasy
Kth Smallest Element in a Sorted MatrixMedium
Perfect RectangleHard
UTF-8 ValidationMedium
Integer ReplacementMedium
Binary WatchEasy
Frog JumpHard
Valid Word AbbreviationEasy
Minimum Unique Word AbbreviationHard
Sentence Screen FittingMedium
Valid Word SquareEasy
Word SquaresHard
Path Sum IIIMedium
Optimal Account BalancingHard
Convex PolygonMedium
Encode String with Shortest LengthHard
Ones and ZeroesMedium
Magical StringMedium
Smallest Good BaseHard
Find PermutationMedium
Max Consecutive Ones IIMedium
The MazeMedium
Find Mode in Binary Search TreeEasy
The Maze IIMedium
Count Subarrays With More Ones Than ZerosMedium
All Paths from Source Lead to DestinationMedium
Freedom TrailHard
Longest Uncommon Subsequence IEasy
Longest Word in Dictionary through DeletingMedium
Word AbbreviationHard
Minimum Absolute Difference in BSTEasy
Lonely Pixel IMedium
Lonely Pixel IIMedium
Encode and Decode TinyURLMedium
Output Contest MatchesMedium
Boundary of Binary TreeMedium
Binary Tree Longest Consecutive Sequence IIMedium
Student Attendance Record IEasy
Longest Line of Consecutive One in MatrixMedium
Maximum Vacation DaysHard
Median Employee SalaryHard
Subtree of Another TreeEasy
Delete Operation for Two StringsMedium
Design Compressed String IteratorEasy
Sum of Square NumbersMedium
Shopping OffersMedium
Maximum Average Subarray IIHard
Set MismatchEasy
4 Keys KeyboardMedium
Coin PathHard
Robot Return to OriginEasy
Non-decreasing ArrayMedium
Beautiful Arrangement IIMedium
Kth Smallest Number in Multiplication TableHard
Implement Magic DictionaryMedium
Valid Parenthesis StringMedium
Baseball GameEasy
K Empty SlotsHard
Longest Univalue PathMedium
Employee ImportanceMedium
Partition to K Equal Sum SubsetsMedium
Subarray Product Less Than KMedium
Find K-th Smallest Pair DistanceHard
Minimum Window SubsequenceHard
My Calendar IIMedium
My Calendar IIIHard
Sentence SimilarityEasy
Sentence Similarity IIMedium
Largest Number At Least Twice of OthersEasy
Shortest Completing WordEasy
Cracking the SafeHard
Pyramid Transition MatrixMedium
Bold Words in StringMedium
Find Anagram MappingsEasy
Max Chunks To Make Sorted IIHard
Max Chunks To Make SortedMedium
Insert into a Binary Search TreeMedium
Basic Calculator IIIHard
Search in a Sorted Array of Unknown SizeMedium
Minimize Max Distance to Gas StationHard
K-th Symbol in GrammarMedium
Transform to ChessboardHard
Minimum Distance Between BST NodesEasy
Rotated DigitsMedium
Escape The GhostsMedium
Similar RGB ColorEasy
Bricks Falling When HitHard
Expressive WordsMedium
Largest Sum of AveragesMedium
Ambiguous CoordinatesMedium
Linked List ComponentsMedium
Insert into a Sorted Circular Linked ListMedium
Positions of Large GroupsEasy
Image OverlapMedium
Push DominoesMedium
Similar String GroupsHard
Magic Squares In GridMedium
Longest Mountain in ArrayMedium
Maximize Distance to Closest PersonMedium
K-Similar StringsHard
Exam RoomMedium
Minimum Cost to Hire K WorkersHard
All Nodes Distance K in Binary TreeMedium
Random Pick with BlacklistHard
Random Flip MatrixMedium
Boats to Save PeopleMedium
Construct Binary Tree from Preorder and Postorder TraversalMedium
All Possible Full Binary TreesMedium
Super PalindromesHard
Online ElectionMedium
Cat and MouseHard
X of a Kind in a Deck of CardsEasy
Word SubsetsMedium
Complete Binary Tree InserterMedium
Minimum Add to Make Parentheses ValidMedium
Flip String to Monotone IncreasingMedium
Unique Email AddressesEasy
Beautiful ArrayMedium
Knight DialerMedium
DI String MatchEasy
Delete Columns to Make SortedEasy
Most Stones Removed with Same Row or ColumnMedium
Flip Equivalent Binary TreesMedium
Largest Component Size by Common FactorHard
Array of Doubled PairsMedium
Delete Columns to Make Sorted IIMedium
Delete Columns to Make Sorted IIIHard
Minimum Cost For TicketsMedium
Find the Town JudgeEasy
Shortest Way to Form StringMedium
Campus BikesMedium
Numbers With Repeated DigitsHard
Best Sightseeing PairMedium
Smallest Integer Divisible by KMedium
Binary String With Substrings Representing 1 To NMedium
Campus Bikes IIMedium
Confusing NumberEasy
Brace ExpansionMedium
Confusing Number IIHard
Camelcase MatchingMedium
Video StitchingMedium
Divisor GameEasy
Longest Arithmetic SubsequenceMedium
Stream of CharactersHard
Valid BoomerangEasy
Maximum Level Sum of a Binary TreeMedium
Divide Array Into Increasing SequencesHard
Longest Duplicate SubstringHard
Single-Row KeyboardEasy
String Transforms Into Another StringHard
Minimum Cost to Connect SticksMedium
Longest String ChainMedium
Shortest Distance to Target ColorMedium
Minimum Knight MovesMedium
Optimize Water Distribution in a VillageHard
Product Sales Analysis IEasy
Occurrences After BigramEasy
Smallest Subsequence of Distinct CharactersMedium
Letter Tile PossibilitiesMedium
Minimum Time to Build BlocksHard
Largest Values From LabelsMedium
Tree DiameterMedium
Find in Mountain ArrayHard
Brace Expansion IIHard
Divide ChocolateHard
Filling Bookcase ShelvesMedium
Remove IntervalMedium
Print in OrderEasy
Mean of Array After Removing Some ElementsEasy
Iterator for CombinationMedium
Element Appearing More Than 25% In Sorted ArrayEasy
Minimum Falling Path Sum IIHard
Sum of Mutated Array Closest to TargetMedium
Alphabet Board PathMedium
Decompress Run-Length Encoded ListEasy
Matrix Block SumMedium
Distinct Echo SubstringsHard
Decrease Elements To Make Array ZigzagMedium
Binary Tree Coloring GameMedium
Longest Chunked Palindrome DecompositionHard
Deepest Leaves SumMedium
Rank Transform of a MatrixHard
Compare Strings by Frequency of the Smallest CharacterMedium
Distance Between Bus StopsEasy
Kth Ancestor of a Tree NodeHard
Watering PlantsMedium
Where Will the Ball FallMedium
Design SkiplistHard
Tiling a Rectangle with the Fewest SquaresHard
Minimum Remove to Make Valid ParenthesesMedium
Maximum Font to Fit a Sentence in a ScreenMedium
Find Elements in a Contaminated Binary TreeMedium
Maximum Value of K Coins From PilesHard
Minimum Path Cost in a GridMedium
Count Servers that CommunicateMedium
Number of Ways to Stay in the Same Place After Some StepsHard
All People Report to the Given ManagerMedium
Find the Smallest Divisor Given a ThresholdMedium
Maximum Side Length of a Square with Sum Less than or Equal to ThresholdMedium
Minimum Distance to Type a Word Using Two FingersHard
Jump Game IVHard
Number of Substrings Containing All Three CharactersMedium
Rank Teams by VotesMedium
Sort Integers by The Power ValueMedium
Pizza With 3n SlicesHard
Circle and Rectangle OverlappingMedium
Longest Happy PrefixHard
Find the Minimum Number of Fibonacci Numbers Whose Sum Is KMedium
Stone Game IIIHard
Diagonal Traverse IIMedium
Simplified FractionsMedium
Form Largest Integer With Digits That Add up to TargetHard
Build an Array With Stack OperationsMedium
Number of Ways of Cutting a PizzaHard
Check If a String Contains All Binary Codes of Size KMedium
People Whose List of Favorite Companies Is Not a Subset of Another ListMedium
Find Two Non-overlapping Sub-arrays Each With Target SumMedium
The k Strongest Values in an ArrayMedium
Longest Subarray of 1's After Deleting One ElementMedium
Parallel Courses IIHard
Range Sum of Sorted Subarray SumsMedium
Number of Subsequences That Satisfy the Given Sum ConditionMedium
Max Value of EquationHard
Last Moment Before All Ants Fall Out of a PlankMedium
Count Submatrices With All OnesMedium
Number of Good Ways to Split a StringMedium
Number of Substrings With Only 1sMedium
Maximum Number of Non-Overlapping Subarrays With Sum Equals TargetMedium
Find Root of N-Ary TreeMedium
Number of Good Leaf Nodes PairsMedium
Move Sub-Tree of N-Ary TreeHard
Minimum Number of Vertices to Reach All NodesMedium
Magnetic Force Between Two BallsMedium
Minimum Number of Days to Eat N OrangesHard
Guess the Majority in a Hidden ArrayMedium
Find Latest Group of Size MMedium
The Most Similar Path in a GraphHard
Number of Ways to Reorder Array to Get Same BSTHard
Strange Printer IIHard
Put Boxes Into the Warehouse IMedium
Check If String Is Transformable With Substring Sort OperationsHard
Rearrange Spaces Between WordsEasy
Split a String Into the Max Number of Unique SubstringsMedium
Maximum Non Negative Product in a MatrixMedium
Minimum Cost to Connect Two Groups of PointsHard
Put Boxes Into the Warehouse IIMedium
Throne InheritanceMedium
Cat and Mouse IIHard
Fancy SequenceHard
Special Array With X Elements Greater Than or Equal XEasy
Find Nearest Right Node in Binary TreeMedium
Check If Two Expression Trees are EquivalentMedium
Arithmetic SubarraysMedium
Distribute Repeating IntegersHard
Minimum Operations to Reduce X to ZeroMedium
Find the Most Competitive SubsequenceMedium
Correct a Binary TreeMedium
Max Number of K-Sum PairsMedium
Minimum Adjacent Swaps for K Consecutive OnesHard
Change the Root of a Binary TreeMedium
Checking Existence of Edge Length Limited PathsHard
Maximum XOR With an Element From ArrayHard
Count Ways to Distribute CandiesHard
Minimum Operations to Make a SubsequenceHard
Find the Highest AltitudeEasy
Minimize Hamming Distance After Swap OperationsMedium
Largest Submatrix With RearrangementsMedium
Largest Subarray Length KEasy
Latest Time by Replacing Hidden DigitsEasy
Change Minimum Characters to Satisfy One of Three ConditionsMedium
Find Kth Largest XOR Coordinate ValueMedium
Checking Existence of Edge Length Limited Paths IIHard
Tree of CoprimesHard
Map of Highest PeakMedium
Maximum Score From Removing StonesMedium
Maximum Score from Performing Multiplication OperationsHard
Closest Dessert CostMedium
Design Most Recently Used QueueMedium
Number of Restricted Paths From First to Last NodeMedium
Find the Subtasks That Did Not ExecuteHard
Maximum Score of a Good SubarrayHard
Sentence Similarity IIIMedium
Maximum Number of Groups Getting Fresh DonutsHard
Evaluate the Bracket Pairs of a StringMedium
Minimum Number of Operations to Reinitialize a PermutationMedium
Queries on Number of Points Inside a CircleMedium
Count Pairs of Equal Substrings With Minimum DifferenceMedium
Minimum Path Cost in a Hidden GridMedium
Find Customers With Positive Revenue this YearEasy
Minimum Adjacent Swaps to Reach the Kth Smallest NumberMedium
Largest Color Value in a Directed GraphHard
Number of Ways to Rearrange Sticks With K Sticks VisibleHard
Minimum Speed to Arrive on TimeMedium
Jump Game VIIMedium
Minimum Cost to Change the Final Value of ExpressionHard
Longest Word With All PrefixesMedium
Minimum Skips to Arrive at Meeting On TimeHard
Minimum Number of Flips to Make the Binary String AlternatingMedium
Merge Triplets to Form Target TripletMedium
The Earliest and Latest Rounds Where Players CompeteHard
Minimize Product Sum of Two ArraysMedium
Minimum Absolute Difference QueriesMedium
Number of Wonderful SubstringsMedium
Cutting RibbonsMedium
Find a Peak Element IIMedium
Build Array from PermutationEasy
Eliminate Maximum Number of MonstersMedium
Describe the PaintingMedium
Painting a Grid With Three Different ColorsHard
Kth Smallest Subarray SumMedium
Longest Common Subsequence Between Sorted ArraysMedium
Erect the Fence IIHard
Last Day Where You Can Still CrossHard
Operations on TreeMedium
Binary Searchable Numbers in an Unsorted ArrayMedium
Number of Unique Good SubsequencesHard
Find Original Array From Doubled ArrayMedium
The Number of Weak Characters in the GameMedium
Convert 1D Array Into 2D ArrayEasy
Stock Price FluctuationMedium
Parallel Courses IIIHard
Minimum Operations to Convert NumberMedium
Count Fertile Pyramids in a LandHard
Process Restricted Friend RequestsHard
Find Target Indices After Sorting ArrayEasy
Find All People With SecretHard
Paths in Maze That Lead to Same RoomMedium
Maximum Number of Words Found in SentencesEasy
Watering Plants IIMedium
Recover the Original ArrayHard
Destroying AsteroidsMedium
Count Words Obtained After Adding a LetterMedium
All Divisions With the Highest Score of a Binary ArrayMedium
Minimum Cost to Set Cooking TimeMedium
Remove All Ones With Row and Column FlipsMedium
Find All Lonely Numbers in the ArrayMedium
Maximum Split of Positive Even IntegersMedium
Minimum Time to Remove All Cars Containing Illegal GoodsHard
Maximum AND Sum of ArrayHard
Counting Words With a Given PrefixEasy
Create Binary Tree From DescriptionsMedium
Minimum White Tiles After Covering With CarpetsHard
Most Frequent Number Following Key In an ArrayEasy
Remove All Ones With Row and Column Flips IIMedium
Find All K-Distant Indices in an ArrayEasy
Count Prefixes of a Given StringEasy
Minimum Number of Operations to Convert TimeEasy
Check if There Is a Valid Parentheses String PathHard
Design an ATM MachineMedium
Maximum Score of a Node SequenceHard
Maximum White Tiles Covered by a CarpetMedium
Minimum Lines to Represent a Line ChartMedium
Check if Number Has Equal Digit Count and Digit ValueEasy
Sender With Largest Word CountMedium
Booking Concert Tickets in GroupsHard
Count Positions on Street With Required BrightnessMedium
Design a Text EditorHard
Longest Binary Subsequence Less Than or Equal to KMedium
Design Video Sharing PlatformHard
Minimum Flips in Binary Tree to Get ResultHard
Count AsterisksEasy
Count Unreachable Pairs of Nodes in an Undirected GraphMedium
Subarray With Elements Greater Than Varying ThresholdHard
First Letter to Appear TwiceEasy
Number of Zero-Filled SubarraysMedium
Shortest Impossible Sequence of RollsHard
Merge Similar ItemsEasy
Build a Matrix With ConditionsHard
Finding the Number of Visible MountainsMedium
Sort Array by Moving Items to Empty SpaceHard
Sum of Prefix Scores of StringsHard
Number of Good PathsHard
Minimize Maximum Value in a GridHard
Longest Uploaded PrefixMedium
Number of Pairs Satisfying InequalityHard
Paths in Matrix Whose Sum Is Divisible by KHard
Count Number of Distinct Integers After Reverse OperationsMedium
Determine if Two Events Have ConflictEasy
Words Within Two Edits of DictionaryMedium
Closest Nodes Queries in a Binary Search TreeMedium
Number of Beautiful PartitionsHard
Count Subarrays With Median KHard
Frog Jump IIMedium
Make Number of Distinct Characters EqualMedium
Increment Submatrices by OneMedium
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
Count the Number of Fair PairsMedium
Merge Two 2D Arrays by Summing ValuesEasy
Prime Subtraction OperationMedium
SleepEasy
Array Prototype LastEasy
Find the Punishment Number of an IntegerMedium
To Be Or Not To BeEasy
Extract Kth Character From The Rope TreeEasy
Sum of Imbalance Numbers of All SubarraysHard
Count Houses in a Circular StreetEasy
Count Pairs of Points With Distance kMedium
Minimum Absolute Difference Between Elements With ConstraintMedium
String TransformationHard
Determine if a Cell Is Reachable at a Given TimeMedium
Count K-Subsequences of a String With Maximum BeautyHard
Maximum Number of K-Divisible ComponentsHard
Get the Size of a DataFrameEasy
Minimum Increment Operations to Make Array BeautifulMedium
Find Champion IEasy
Find Champion IIMedium
Maximum Score After Applying Operations on a TreeMedium
Count the Number of Good PartitionsHard
Number of Equal Numbers BlocksMedium
Minimum Cost to Make Array EqualindromicMedium
Maximum Number That Sum of the Prices Is Less Than or Equal to KMedium
Divide Array Into Arrays With Max DifferenceMedium
Find Longest Special Substring That Occurs Thrice IIMedium
Find the Number of Ways to Place People IIHard
Find the Number of Ways to Place People IMedium
Maximize Consecutive Elements in an Array After ModificationHard
Most Frequent PrimeMedium
Find the Largest Area of Square Inside Two RectanglesMedium
Latest Time You Can Obtain After Replacing CharactersEasy
Minimum Sum of Values by Dividing ArrayHard
Longest Common Suffix QueriesHard
Minimum Number of Operations to Make Word K-PeriodicMedium
Sum of Digit Differences of All PairsMedium
Find the Maximum Length of Valid Subsequence IIMedium
Maximum Number of Points with CostMedium
Confirmation RateMedium
Permutations IIMedium
Unique Paths IIMedium
Find if Path Exists in GraphEasy
Employees Whose Manager Left the CompanyEasy
Maximum Number of Ways to Partition an ArrayHard
Decode WaysMedium
Restore IP AddressesMedium
Unique Binary Search Trees IIMedium
Unique Binary Search TreesMedium
Interleaving StringMedium
Recover Binary Search TreeMedium
Construct Binary Tree from Inorder and Postorder TraversalMedium
Path SumEasy
Path Sum IIMedium
Distinct SubsequencesHard
Pascal's Triangle IIEasy
Best Time to Buy and Sell Stock IIIHard
Word Ladder IIHard
Sum Root to Leaf NumbersMedium
Smallest Index With Equal ValueEasy
Binary Tree Preorder TraversalEasy
Max Points on a LineHard
Excel Sheet Column TitleEasy
Delete the Middle Node of a Linked ListMedium
Step-By-Step Directions From a Binary Tree Node to AnotherMedium
Binary Search Tree IteratorMedium
Dungeon GameHard
Rings and RodsEasy
Duplicate EmailsEasy
Repeated DNA SequencesMedium
Reverse BitsEasy
Number of 1 BitsEasy
Valid Phone NumbersEasy
Delete Duplicate EmailsEasy
Design Add and Search Words Data StructureMedium
Count Complete Tree NodesEasy
Different Ways to Add ParenthesesMedium
Strobogrammatic Number IIMedium
Amount of New Area Painted Each DayHard
Meeting RoomsEasy
Single Number IIIMedium
Closest Binary Search Tree ValueEasy
Number of Flowers in Full BloomHard
Minimum Consecutive Cards to Pick UpMedium
Binary Tree Longest Consecutive SequenceMedium
Bulls and CowsMedium
Smallest Rectangle Enclosing Black PixelsHard
Range Sum Query 2D - MutableMedium
Minimum Height TreesMedium
Maximum Product of Word LengthsMedium
Minimum Obstacle Removal to Reach CornerHard
Patching ArrayHard
Palindrome PairsHard
Root Equals Sum of ChildrenEasy
Counting BitsEasy
Count Subarrays With Score Less Than KHard
Water and Jug ProblemMedium
Valid Perfect SquareEasy
Evaluate Boolean Binary TreeEasy
Guess Number Higher or Lower IIMedium
Design Phone DirectoryMedium
Longest Substring with At Least K Repeating CharactersMedium
Largest Local Values in a MatrixEasy
Third Maximum NumberEasy
Longest Nice SubarrayMedium
Arranging CoinsEasy
Number of BoomerangsMedium
Delete Node in a BSTMedium
132 PatternMedium
Island PerimeterEasy
HeatersMedium
Longest Increasing Subsequence IIHard
Number of Valid Clock TimesEasy
License Key FormattingEasy
Maximum Sum of Distinct Subarrays With Length KMedium
Longest Palindromic SubsequenceMedium
Longest Uncommon Subsequence IIMedium
Continuous Subarray SumMedium
Beautiful ArrangementMedium
Erect the FenceHard
Triangle JudgementEasy
Add Bold Tag in StringMedium
Not Boring MoviesEasy
Design Search Autocomplete SystemHard
Two Sum IV - Input is a BSTEasy
Print Binary TreeMedium
Split Array into Consecutive SubsequencesMedium
Maximum Width of Binary TreeMedium
Next Closest TimeMedium
Redundant Connection IIHard
Apply Transform Over Each Element in ArrayEasy
Number of AtomsHard
Flood FillEasy
Employee Free TimeHard
Find the Maximum Achievable NumberEasy
Couples Holding HandsHard
Toeplitz MatrixEasy
Jewels and StonesEasy
Reaching PointsHard
Rabbits in ForestMedium
Is Graph Bipartite?Medium
Design Linked ListMedium
Design Circular QueueMedium
Hand of StraightsMedium
Buddy StringsEasy
Shortest Subarray with Sum at Least KHard
Shortest Path to Get All KeysHard
Profitable SchemesHard
Random Point in Non-overlapping RectanglesMedium
Super Egg DropHard
Fair Candy SwapEasy
RLE IteratorMedium
Sort Array By ParityEasy
Reverse Only LettersEasy
Maximum Sum Circular SubarrayMedium
Number of Recent CallsEasy
Shortest BridgeMedium
Valid Mountain ArrayEasy
Reveal Cards In Increasing OrderMedium
Subarray Sums Divisible by KMedium
Distribute Coins in Binary TreeMedium
Time Based Key-Value StoreMedium
Interval List IntersectionsMedium
Smallest String Starting From LeafMedium
Minimum Cost to Merge StonesHard
Find Common CharactersEasy
Construct Binary Search Tree from Preorder TraversalMedium
Number of EnclavesMedium
Parallel CoursesMedium
Maximum Length of Semi-Decreasing SubarraysMedium
Last Stone WeightEasy
Remove All Adjacent Duplicates In StringEasy
Duplicate ZerosEasy
Shortest Common SupersequenceHard
Game Play Analysis IVMedium
Car PoolingMedium
Parsing A Boolean ExpressionHard
Defanging an IP AddressEasy
Relative Sort ArrayEasy
N-th Tribonacci NumberEasy
User Activity for the Past 30 Days IEasy
Product Price at a Given DateMedium
Immediate Food Delivery IIMedium
Critical Connections in a NetworkHard
Path with Maximum ProbabilityMedium
Path with Maximum GoldMedium
Queries Quality and PercentageEasy
Find Positive Integer Solution for a Given EquationMedium
Count Number of Nice SubarraysMedium
Search Suggestions SystemMedium
Clear DigitsEasy
Convert Binary Number in a Linked List to IntegerEasy
Maximize Total Cost of Alternating SubarraysMedium
Divide Array in Sets of K Consecutive NumbersMedium
All Ancestors of a Node in a Directed Acyclic GraphMedium
Find the Maximum Length of Valid Subsequence IMedium
How Many Numbers Are Smaller Than the Current NumberEasy
Time Needed to Inform All EmployeesMedium
Frog Position After T SecondsHard
Cherry Pickup IIHard
Shuffle the ArrayEasy
The kth Factor of nMedium
Avoid Flood in The CityMedium
Shuffle StringEasy
Minimum Cost to Cut a StickHard
Special Positions in a Binary MatrixEasy
Find Valid Matrix Given Row and Column SumsMedium
Customer Who Visited but Did Not Make Any TransactionsEasy
Split Two Strings to Make PalindromeMedium
Furthest Building You Can ReachMedium
Number of Students Unable to Eat LunchEasy
Fix Names in a TableEasy
Calculate Money in Leetcode BankEasy
Maximum Score From Removing SubstringsMedium
Sum of Beauty of All SubstringsMedium
Car Fleet IIHard
Replace All Digits with CharactersEasy
Remove All Occurrences of a SubstringMedium
Convert Object to JSON StringMedium
Find the City With the Smallest Number of Neighbors at a Threshold DistanceMedium
Check if the Rectangle Corner Is ReachableHard
Count the Number of Substrings With Dominant OnesMedium
The Number of Employees Which Report to Each EmployeeEasy
Minimum Deletions to Make String BalancedMedium
Final Prices With a Special Discount in a ShopEasy
Nim GameEasy
Spiral Matrix IIIMedium
Return Length of Arguments PassedEasy
Number of Same-End SubstringsMedium
Exchange SeatsMedium
Binary Tree NodesMedium
Stone GameMedium
Maximum Good Subarray SumMedium
Swapping Nodes in a Linked ListMedium
Calculate Compressed MeanEasy
XOR Queries of a SubarrayMedium
Range Sum Query 2D - ImmutableMedium
Find the Maximum Sequence Value of ArrayHard
Water BottlesEasy
Largest Odd Number in StringEasy
Top Three WineriesHard
Find Expensive CitiesEasy
Class PerformanceMedium
Loan TypesEasy
Find Pivot IndexEasy
Lexicographical NumbersMedium
K-th Smallest in Lexicographical OrderHard
Nth Highest SalaryMedium
All O`one Data StructureHard
Find the Maximum Number of Elements in SubsetMedium
Find Beautiful Indices in the Given Array IIHard
Ant on the BoundaryEasy
Minimum Number of Swaps to Make the String BalancedMedium
Smallest Range Covering Elements from K ListsHard
Number of Ways to Arrive at DestinationMedium
Check if DFS Strings Are PalindromesHard
Project Employees IEasy
Maximum Employees to Be Invited to a MeetingHard
Find Minimum Time to Reach Last Room IMedium
Count Hills and Valleys in an ArrayEasy
Adjacent Increasing Subarrays Detection IIMedium
Maximum Frequency of an Element After Performing Operations IMedium
Maximum Frequency of an Element After Performing Operations IIHard
Adjacent Increasing Subarrays Detection IEasy
Sum of Good SubsequencesHard
Alternating Groups IIMedium
Percentage of Users Attended a ContestEasy
Find Numbers with Even Number of DigitsEasy
Maximum Matrix SumMedium
Zero Array Transformation IIIMedium
Invalid TweetsEasy
Two Best Non-Overlapping EventsMedium
Maximum Area Rectangle With Point Constraints IMedium
Minimum Absolute DifferenceEasy
Finding 3-Digit Even NumbersEasy
Find N Unique Integers Sum up to ZeroEasy
Count Special SubsequencesMedium
House Robber IVMedium
Number of Ways to Split ArrayMedium
Shifting Letters IIMedium
Design Task ManagerMedium
Check if Grid can be Cut into SectionsMedium
Maximum Number of Distinct Elements After OperationsMedium
Self Dividing NumbersEasy
Count Non-Decreasing Subarrays After K OperationsHard
Maximum Number of Events That Can Be AttendedMedium
Special Array IEasy
Reschedule Meetings for Maximum Free Time IMedium
Reschedule Meetings for Maximum Free Time IIMedium
Count Number of Bad PairsMedium
Longest Harmonious SubsequenceEasy
Check if Number is a Sum of Powers of ThreeMedium
Longest Palindromic Subsequence After at Most K OperationsMedium
Minimum Time to Repair CarsMedium
Find the Minimum Amount of Time to Brew PotionsMedium
Find the K-th Character in String Game IEasy
Solving Questions With BrainpowerMedium
Count Good TripletsEasy
Minimum Pair Removal to Sort Array IEasy
Find the Count of Monotonic Pairs IHard
Kth Smallest Product of Two Sorted ArraysHard
Path Existence Queries in a Graph IMedium
Count Cells in Overlapping Horizontal and Vertical SubstringsMedium
Number of Equivalent Domino PairsEasy
Fill a Special GridMedium
Path With Maximum Minimum ValueMedium
Customers Who Never OrderEasy
Maximize Subarray GCD ScoreHard
Inverse Coin ChangeMedium
Partition StringMedium
Maximum Erasure ValueMedium
Fruits Into Baskets IIEasy
Reordered Power of 2Medium
Number of Stable SubsequencesHard
Minimum Cost Path with Edge ReversalsMedium
Longest Non-Decreasing Subarray After Replacing at Most One ElementMedium
Can Make Arithmetic Progression From SequenceEasy
Count Caesar Cipher PairsMedium
Divide an Array Into Subarrays With Minimum Cost IEasy
Longest Balanced Subarray IIHard
Valid NumberHard
Scramble StringHard
Gray CodeMedium
Binary Tree Level Order Traversal IIMedium
Insertion Sort ListMedium
Read N Characters Given Read4Easy
Department Top Three SalariesHard
Paint HouseMedium
Find the CelebrityMedium
Remove Invalid ParenthesesHard
Range Sum Query - MutableMedium
Data Stream as Disjoint IntervalsHard
Shuffle an ArrayMedium
Sum of Left LeavesEasy
Battleships in a BoardMedium
Find Right IntervalMedium
Minimum Number of Arrows to Burst BalloonsMedium
4Sum IIMedium
Teemo AttackingEasy
IPOHard
Find Largest Value in Each Tree RowMedium
MinesweeperMedium
Brick WallMedium
Next Greater Element IIIMedium
Reverse Words in a String IIIEasy
Find the Closest PalindromeHard
Valid SquareMedium
Tree NodeMedium
Find Duplicate File in SystemMedium
K Inverse Pairs ArrayHard
2 Keys KeyboardMedium
Number of Longest Increasing SubsequenceMedium
Knight Probability in ChessboardMedium
Stickers to Spell WordHard
Max StackHard
Remove CommentsMedium
Flatten a Multilevel Doubly Linked ListMedium
Construct Quad TreeMedium
Most Common WordEasy
Binary Trees With FactorsMedium
Consecutive Numbers SumHard
Minimum Number of Refueling StopsHard
Leaf-Similar TreesEasy
Increasing Order Search TreeEasy
Distinct Subsequences IIHard
Validate Stack SequencesMedium
Check Completeness of a Binary TreeMedium
Maximize Sum Of Array After K NegationsEasy
Complement of Base 10 IntegerEasy
Longest Repeating SubstringMedium
Recover a Tree From Preorder TraversalHard
Minimum Score Triangulation of PolygonMedium
Partition Array for Maximum SumMedium
Number of Submatrices That Sum to TargetHard
Building H2OMedium
Sequential DigitsMedium
Smallest Sufficient TeamHard
Minimum Cost Tree From Leaf ValuesMedium
Number of Days Between Two DatesEasy
Constrained Subsequence SumHard
Three Consecutive OddsEasy
Minimum Time Visiting All PointsEasy
Number of Steps to Reduce a Number to ZeroEasy
Minimum Number of Taps to Open to Water a GardenHard
Count All Valid Pickup and Delivery OptionsHard
The K Weakest Rows in a MatrixEasy
Minimum Number of Steps to Make Two Strings AnagramMedium
Count Negative Numbers in a Sorted MatrixEasy
Linked List in Binary TreeMedium
Find All Good StringsHard
HTML Entity ParserMedium
Maximum Number of Vowels in a Substring of Given LengthMedium
Design Browser HistoryMedium
Find Critical and Pseudo-Critical Edges in Minimum Spanning TreeHard
Path CrossingEasy
Find Users With Valid E-MailsEasy
Min Cost to Connect All PointsMedium
Maximum Number of Visible PointsHard
Number of Ways to Form a Target String Given a DictionaryHard
Minimum Deletions to Make Character Frequencies UniqueMedium
Design an Ordered StreamEasy
Check If Two String Arrays are EquivalentEasy
Maximum Number of Events That Can Be Attended IIHard
Count Number of Homogenous SubstringsMedium
Count Nice Pairs in an ArrayMedium
Maximum Value at a Given Index in a Bounded ArrayMedium
Minimum Sideway JumpsMedium
Maximum Number of Accepted InvitationsMedium
Delete Duplicate Folders in SystemHard
Find Greatest Common Divisor of ArrayEasy
Find Unique Binary StringMedium
Minimum Difference Between Highest and Lowest of K ScoresEasy
Count Number of Pairs With Absolute Difference KEasy
Minimum Number of Operations to Make Array ContinuousHard
Maximize the Confusion of an ExamMedium
Final Value of Variable After Performing OperationsEasy
Maximum Difference Between Increasing ElementsEasy
Minimum Number of Moves to Seat EveryoneEasy
Minimized Maximum of Products Distributed to Any StoreMedium
Check if a Parentheses String Can Be ValidMedium
Longest Palindrome by Concatenating Two Letter WordsMedium
Escape the Spreading FireHard
Count Nodes Equal to Average of SubtreeMedium
Find Closest Number to ZeroEasy
Check if There is a Valid Partition For The ArrayMedium
Minimum Replacements to Sort the ArrayHard
Removing Stars From a StringMedium
Most Frequent Even ElementEasy
Partition String Into Substrings With Values at Most KMedium
Count Subarrays With Fixed BoundsHard
Minimum Cost to Make Array EqualHard
Most Profitable Path in a TreeMedium
Minimum Penalty for a ShopMedium
Count Palindromic SubsequencesHard
Minimum Common ValueEasy
Pass the PillowEasy
Minimum Time to Complete All TasksHard
The Number of Beautiful SubsetsMedium
Convert an Array Into a 2D Array With ConditionsMedium
Minimum Additions to Make Valid StringMedium
Extra Characters in a StringMedium
Array Reduce TransformationEasy
Find the Longest Equal SubarrayMedium
Add Two PromisesEasy
Count Symmetric IntegersEasy
Apply Operations to Make Two Strings EqualMedium
Length of Longest Subarray With at Most K FrequencyMedium
Right TrianglesMedium
Convert Sorted List to Binary Search TreeMedium
Stone Game IXMedium
Find the Minimum and Maximum Number of Nodes Between Critical PointsMedium
Time Needed to Buy TicketsEasy
Compare Version NumbersMedium
Sum of Subarray RangesMedium
Find First Palindromic String in the ArrayEasy
Maximum Twin Sum of a Linked ListMedium
Maximum Running Time of N ComputersHard
Contains Duplicate IIIHard
Rectangle AreaMedium
Ugly Number IIMedium
Remove Digit From Number to Maximize ResultEasy
Largest 3-Same-Digit Number in StringEasy
Count Integers in IntervalsHard
Integer BreakMedium
Equal Row and Column PairsMedium
Design a Food Rating SystemMedium
Elimination GameMedium
Longest Cycle in a GraphHard
Number of Arithmetic TripletsEasy
Longest Ideal SubsequenceMedium
Convert a Number to HexadecimalEasy
Arithmetic SlicesMedium
Amount of Time for Binary Tree to Be InfectedMedium
Strong Password CheckerHard
Strictly Palindromic NumberMedium
Optimal Partition of StringMedium
Arithmetic Slices II - SubsequenceHard
Number of Unique Subjects Taught by Each TeacherEasy
Poor PigsHard
Number of Common FactorsEasy
Largest Positive Integer That Exists With Its NegativeEasy
Remove Letter To Equalize FrequencyEasy
Keyboard RowEasy
Base 7Easy
Find Bottom Left Tree ValueMedium
Append Characters to String to Make SubsequenceMedium
K-diff Pairs in an ArrayMedium
Array PartitionEasy
Count the Digits That Divide a NumberEasy
Design In-Memory File SystemHard
Maximum Subsequence ScoreMedium
Valid Triangle NumberMedium
Merge Two Binary TreesEasy
Add One Row to TreeMedium
Maximum Length of Pair ChainMedium
Replace WordsMedium
Strange PrinterHard
Minimize the Maximum Difference of PairsMedium
Function CompositionEasy
Buy Two ChocolatesEasy
Check if Object Instance of ClassMedium
Maximum Length of Repeated SubarrayMedium
Differences Between Two ObjectsMedium
Delete and EarnMedium
Cherry PickupHard
Counter IIEasy
Allow One Function CallEasy
Open the LockMedium
Painting the WallsHard
N-ary Tree Level Order TraversalMedium
Serialize and Deserialize N-ary TreeHard
Search in a Binary Search TreeEasy
Robot CollisionsHard
Design HashSetEasy
Design HashMapEasy
Double a Number Represented as a Linked ListMedium
Number of Lines To Write StringEasy
Max Increase to Keep City SkylineMedium
Sort Vowels in a StringMedium
Most Profit Assigning WorkMedium
Count Pairs Whose Sum is Less than TargetEasy
Rectangle Area IIHard
Score After Flipping MatrixMedium
Implement Rand10() Using Rand7()Medium
Nth Magical NumberHard
Possible BipartitionMedium
Monotonic ArrayEasy
Sort Array By Parity IIEasy
Long Pressed NameEasy
Range Sum of BSTEasy
Find the Shortest SuperstringHard
Minimum Increment to Make Array UniqueMedium
Verifying an Alien DictionaryEasy
Binary Tree CamerasHard
Unique Paths IIIHard
Satisfiability of Equality EquationsMedium
Minimum Number of K Consecutive Bit FlipsHard
Design File SystemMedium
Height CheckerEasy
Grumpy Bookstore OwnerMedium
Product Sales Analysis IIIMedium
Find Maximum Non-decreasing Array LengthHard
Find Number of Coins to Place in Tree NodesHard
Find the Maximum Sum of Node ValuesHard
Number of Dice Rolls With Target SumMedium
Remove Zero Sum Consecutive Nodes from Linked ListMedium
Validate Binary Tree NodesMedium
Balance a Binary Search TreeMedium
Find the Sum of the Power of All SubsequencesHard
Reverse Substrings Between Each Pair of ParenthesesMedium
Last Person to Fit in the BusMedium
Maximum Profit in Job SchedulingHard
Count the Number of Special Characters IIMedium
Check If It Is a Good ArrayHard
Special Array IIMedium
Maximum Score Words Formed by LettersHard
Generate Binary Strings Without Adjacent ZerosMedium
Subtract the Product and Sum of Digits of an IntegerEasy
Count the Number of InversionsHard
Verbal Arithmetic PuzzleHard
Number of Operations to Make Network ConnectedMedium
Delete Leaves With a Given ValueMedium
Maximum Sum BST in Binary TreeHard
Maximum Performance of a TeamHard
Number of Steps to Reduce a Number in Binary Representation to OneMedium
Count Good Nodes in Binary TreeMedium
Count Triplets That Can Form Two Arrays of Equal XORMedium
Subrectangle QueriesMedium
Least Number of Unique Integers after K RemovalsMedium
Check If Array Pairs Are Divisible by kMedium
Matrix Diagonal SumEasy
Remove Max Number of Edges to Keep Graph Fully TraversableHard
Bank Account Summary IIEasy
Maximum Nesting Depth of the ParenthesesEasy
Sort Array by Increasing FrequencyEasy
Widest Vertical Area Between Two Points Containing No PointsEasy
Determine if Two Strings Are CloseMedium
Average Waiting TimeMedium
Jump Game VIMedium
Primary Department for Each EmployeeEasy
Find the Winner of the Circular GameMedium
Seat Reservation ManagerMedium
Check if the Sentence Is PangramEasy
Sorting the SentenceEasy
Maximum Population YearEasy
Sum of All Subset XOR TotalsEasy
Egg Drop With 2 Eggs and N FloorsMedium
Nearest Exit from Entrance in MazeMedium
Maximum Product Difference Between Two PairsEasy
Cousins in Binary TreeEasy
Sort the Jumbled NumbersMedium
To Lower CaseEasy
Longest Nice SubstringEasy
Minimum Cost to Convert String IMedium
Find Smallest Letter Greater Than TargetEasy
Count Number of TeamsMedium
Second Minimum Time to Reach DestinationHard
Design Circular DequeMedium
Find Total Time Spent by Each EmployeeEasy
Build Array Where You Can Find The Maximum Exactly K ComparisonsHard
Number of Senior CitizensEasy
Minimum Swaps to Group All 1's Together IIMedium
Alternating Groups IEasy
Maximum Odd Binary NumberEasy
Kth Distinct String in an ArrayEasy
Prefix and Suffix SearchHard
Excel Sheet Column NumberEasy
Maximum Number of Operations to Move Ones to the EndMedium
Drop Duplicate RowsEasy
Minimum Bit Flips to Convert NumberEasy
Minimum Number of Days to Disconnect IslandHard
Find Followers CountEasy
Replace Elements with Greatest Element on Right SideEasy
Minimum Moves to Equal Array ElementsMedium
Remove All Adjacent Duplicates in String IIMedium
Maximum Distance in ArraysMedium
Minimum Operations to Make Array Equal to TargetHard
Minimum Moves to Equal Array Elements IIMedium
Additive NumberMedium
Find the Largest Palindrome Divisible by KHard
Rectangle OverlapEasy
Customers Who Bought All ProductsMedium
Stone Game IIMedium
Minimum Swaps to Make Strings EqualMedium
Reach a NumberMedium
Basic Calculator IVHard
Fraction Addition and SubtractionMedium
Number ComplementEasy
Count Elements With Maximum FrequencyEasy
Customer Placing the Largest Number of OrdersEasy
Plates Between CandlesMedium
Dota2 SenateMedium
N-ary Tree Postorder TraversalEasy
N-ary Tree Preorder TraversalEasy
Find the Number of Good Pairs IEasy
Count Sub IslandsMedium
Modify Graph Edge WeightsHard
Split Linked List in PartsMedium
Maximum XOR Score Subarray QueriesHard
Find the Student that Will Replace the ChalkMedium
Minimum Moves to Convert StringEasy
Sum of Digits of String After ConvertEasy
Find Minimum Operations to Make All Elements Divisible by ThreeEasy
Find Missing ObservationsMedium
Sort the PeopleEasy
Populating Next Right Pointers in Each Node IIMedium
Corporate Flight BookingsMedium
Spiral Matrix IVMedium
Reach End of Array With Max ScoreMedium
Insert Greatest Common Divisors in Linked ListMedium
Count the Number of Consistent StringsEasy
Number of Distinct IslandsMedium
Count the Number of Special Characters IEasy
Longest Subarray With Maximum Bitwise ANDMedium
Find the Longest Substring Containing Vowels in Even CountsMedium
Uncommon Words from Two SentencesEasy
Restore the Array From Adjacent PairsMedium
Lexicographically Smallest PalindromeEasy
Remove Nodes From Linked ListMedium
Reverse Prefix of WordEasy
K-th Nearest Obstacle QueriesMedium
Divide Nodes Into the Maximum Number of GroupsHard
Find the Length of the Longest Common PrefixMedium
Partition LabelsMedium
Super Washing MachinesHard
Find Winner on a Tic Tac Toe GameEasy
Minimum Genetic MutationMedium
Group Sold Products By The DateEasy
Taking Maximum Energy From the Mystic DungeonMedium
Pairs of Songs With Total Durations Divisible by 60Medium
Find a Safe Walk Through a GridMedium
Distinct Prime Factors of Product of ArrayMedium
Maximum Height by Stacking CuboidsHard
Shortest String That Contains Three StringsMedium
Investments in 2016Medium
Maximum Subarray Sum with One DeletionMedium
Array NestingMedium
Make Sum Divisible by PMedium
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Smallest Number in Infinite SetMedium
Chalkboard XOR GameHard
Sorted GCD Pair QueriesHard
Minimum Time to Visit a Cell In a GridHard
Minimum String Length After Removing SubstringsEasy
Snake in MatrixEasy
Score of ParenthesesMedium
Projection Area of 3D ShapesEasy
Maximum Number of Operations With the Same Score IEasy
The Number of the Smallest Unoccupied ChairMedium
Divide Intervals Into Minimum Number of GroupsMedium
Tweet Counts Per FrequencyMedium
Remove BoxesHard
Maximal Score After Applying K OperationsMedium
Make Array Non-decreasing or Non-increasingHard
Meeting SchedulerMedium
Separate Black and White BallsMedium
Sort Items by Groups Respecting DependenciesHard
Longest Happy StringMedium
Maximum Number of Moves to Kill All PawnsHard
Final Array State After K Multiplication Operations IIHard
K-th Largest Perfect Subtree Size in Binary TreeMedium
Find Kth Bit in Nth Binary StringMedium
Count Number of Maximum Bitwise-OR SubsetsMedium
Count Salary CategoriesMedium
Sort Integers by The Number of 1 BitsEasy
Two City SchedulingMedium
Cousins in Binary Tree IIMedium
Add Two Numbers IIMedium
String Compression IIHard
Minimum Division Operations to Make Array Non DecreasingMedium
Longest Square Streak in an ArrayMedium
Create Target Array in the Given OrderEasy
Minimum Number of Removals to Make Mountain ArrayHard
Best Meeting PointHard
Maximum Number of Moves in a GridMedium
Total Characters in String After Transformations IIHard
Lemonade ChangeEasy
Minimum Total Distance TraveledHard
String Compression IIIMedium
Count Substrings With K-Frequency Characters IMedium
Maximum GapMedium
Minimum Number of Changes to Make Binary String BeautifulMedium
Determine Whether Matrix Can Be Obtained By RotationEasy
Find if Array Can Be SortedMedium
Delete Characters to Make Fancy StringEasy
Largest Combination With Bitwise AND Greater Than ZeroMedium
Minimum Array Changes to Make Differences EqualMedium
Smallest Even MultipleEasy
Dot Product of Two Sparse VectorsMedium
Minimum Array EndMedium
Find Longest Awesome SubstringHard
Maximum Size Subarray Sum Equals kMedium
Minimum Operations to Reduce an Integer to 0Medium
Shortest Subarray With OR at Least K IIMedium
Kth Largest Sum in a Binary TreeMedium
Last Stone Weight IIMedium
Most Beautiful Item for Each QueryMedium
Lowest Common Ancestor of a Binary Tree IIIMedium
Day of the WeekEasy
Find the Power of K-Size Subarrays IMedium
Nested List Weight Sum IIMedium
Defuse the BombEasy
Take K of Each Character From Left and RightMedium
Flip Columns For Maximum Number of Equal RowsMedium
Count Unguarded Cells in the GridMedium
Next Greater Node In Linked ListMedium
Prime PalindromeMedium
Rotating the BoxMedium
Maximum Product of Three NumbersEasy
Sliding PuzzleHard
Shortest Distance After Road Addition Queries IMedium
Find the Middle Index in ArrayEasy
Reconstruct Original Digits from EnglishMedium
Calculator with Method ChainingEasy
Shortest Distance to a CharacterEasy
Identify the Largest Outlier in an ArrayMedium
Adding Spaces to a StringMedium
Check If a Word Occurs As a Prefix of Any Word in a SentenceEasy
Minimum Value to Get Positive Step by Step SumEasy
Combination Sum IIIMedium
Binary Search Tree to Greater Sum TreeMedium
Bitwise ORs of SubarraysMedium
Minimum Limit of Balls in a BagMedium
Smallest String With SwapsMedium
Count Pairs That Form a Complete Day IEasy
Design Log Storage SystemMedium
Design TwitterMedium
Sparse Matrix MultiplicationMedium
Take Gifts From the Richest PileEasy
Method ChainingEasy
Change Data TypeEasy
Sort ByEasy
Find Score of an Array After Marking All ElementsMedium
Maximum Average Pass RatioMedium
Maximum Star Sum of a GraphMedium
Determine if String Halves Are AlikeEasy
Find Maximum Removals From Source StringMedium
Construct String With Repeat LimitMedium
Classes With at Least 5 StudentsEasy
Reverse Odd Levels of Binary TreeMedium
Maximum Possible Number by Binary ConcatenationMedium
Find Building Where Alice and Bob Can MeetHard
Find Triangular Sum of an ArrayMedium
Minimum Number of Operations to Sort a Binary Tree by LevelMedium
Minimum Cost to Equalize ArrayHard
Find Minimum Diameter After Merging Two TreesHard
Word FrequencyMedium
Minimum Insertion Steps to Make a String PalindromeHard
Find the Key of the NumbersEasy
Number of Segments in a StringEasy
Convert the TemperatureEasy
Count Ways To Build Good StringsMedium
Detect Cycles in 2D GridMedium
Ways to Split Array Into Three SubarraysMedium
Find Center of Star GraphEasy
Maximize Amount After Two Days of ConversionsMedium
Maximum Coins From K Consecutive BagsMedium
Maximize Subarray Sum After Removing All Occurrences of One ElementHard
Coloring A BorderMedium
Cells with Odd Values in a MatrixEasy
Perfect NumberEasy
Day of the YearEasy
String Matching in an ArrayEasy
Count Prefix and Suffix Pairs IEasy
Count the Number of Good SubarraysMedium
Row With Maximum OnesEasy
Construct K Palindrome StringsMedium
Time Needed to Rearrange a Binary StringMedium
Partition Array According to Given PivotMedium
Minimize the Maximum Edge Weight of GraphMedium
Find the Prefix Common Array of Two ArraysMedium
Convert BST to Greater TreeMedium
Minimize XORMedium
Bitwise XOR of All PairingsMedium
Neighboring Bitwise XORMedium
Analyze User Website Visit PatternMedium
Super PowMedium
Manhattan Distances of All Arrangements of PiecesHard
First Completely Painted Row or ColumnMedium
Max Pair Sum in an ArrayEasy
Grid GameMedium
Count Items Matching a RuleEasy
Merge Nodes in Between ZerosMedium
Count Univalue SubtreesMedium
Make Lexicographically Smallest Array by Swapping ElementsMedium
Swap For Longest Repeated Character SubstringMedium
Average of Levels in Binary TreeEasy
Find the Distance Value Between Two ArraysEasy
Course Schedule IVMedium
Uncrossed LinesMedium
Count of Interesting SubarraysMedium
Maximum Number of Fish in a GridMedium
Find Good Days to Rob the BankMedium
Maximum Frequency After Subarray OperationMedium
Longest Subsequence With Decreasing Adjacent DifferenceMedium
Longest Strictly Increasing or Strictly Decreasing SubarrayEasy
Maximum Product of Two Elements in an ArrayEasy
Maximum Ascending Subarray SumEasy
Check if One String Swap Can Make Strings EqualEasy
Find the Number of Distinct Colors Among the BallsMedium
Minimum Operations to Make Character Frequencies EqualHard
Count Substrings That Satisfy K-Constraint IEasy
Minimum Operations to Make the Array IncreasingEasy
Degree of an ArrayEasy
Max Sum of a Pair With Equal Sum of DigitsMedium
Minimum Time to Complete TripsMedium
Convert Date to BinaryEasy
Maximum Distance Between a Pair of ValuesMedium
Jump Game VHard
Minimum Operations to Exceed Threshold Value IIMedium
Biggest Single NumberEasy
Split Array into Fibonacci SequenceMedium
Construct the Lexicographically Largest Valid SequenceMedium
Goal Parser InterpretationEasy
The k-th Lexicographical String of All Happy Strings of Length nMedium
Maximum Total Damage With Spell CastingMedium
Univalued Binary TreeEasy
Construct Smallest Number From DI StringMedium
Select DataEasy
Split a String in Balanced StringsEasy
Naming a CompanyHard
Sum of Unique ElementsEasy
Minimum Number GameEasy
Length of Longest V-Shaped Diagonal SegmentHard
Separate Squares IIHard
Shortest Subarray to be Removed to Make Array SortedMedium
Check Knight Tour ConfigurationMedium
Display the First Three RowsEasy
Number of Sub-arrays With Odd SumMedium
Count Binary SubstringsEasy
Hamming DistanceEasy
Two Furthest Houses With Different ColorsEasy
Movie RatingMedium
Maximum Absolute Sum of Any SubarrayMedium
Sum of DistancesMedium
Maximum Subarray Min-ProductMedium
Length of Longest Fibonacci SubsequenceMedium
Nested List Weight SumMedium
Design Excel Sum FormulaHard
Minimum Score of a Path Between Two CitiesMedium
Divisible and Non-divisible Sums DifferenceEasy
Apply Operations to an ArrayEasy
Check if All Characters Have Equal Number of OccurrencesEasy
Find the XOR of Numbers Which Appear TwiceEasy
Number of Distinct Islands IIHard
Count Total Number of Colored CellsMedium
Find Indices of Stable MountainsEasy
Reshape Data: ConcatenateEasy
Closest Prime Numbers in RangeMedium
Minimum Amount of Time to Fill CupsEasy
Minimum Recolors to Get K Consecutive Black BlocksEasy
Find the Number of Copy ArraysMedium
Maximum Alternating Subsequence SumMedium
Parse Lisp ExpressionHard
Total Appeal of A StringHard
Insert Delete GetRandom O(1) - Duplicates allowedHard
Longest Non-decreasing Subarray From Two ArraysMedium
Minimum Insertions to Balance a Parentheses StringMedium
Count Vowel Strings in RangesMedium
Simple Bank SystemMedium
Minimum Fuel Cost to Report to the CapitalMedium
Hash Divided StringMedium
Divide Array Into Equal PairsEasy
Minimum Operations to Make Binary Array Elements Equal to One IMedium
Generate Fibonacci SequenceEasy
Smallest Substring With Identical Characters IHard
Minimum Cost Walk in Weighted GraphHard
Count the Number of Complete ComponentsMedium
Merge In Between Linked ListsMedium
A Number After a Double ReversalEasy
Maximum Repeating SubstringEasy
Split With Minimum SumEasy
Special Binary StringHard
Minimum Operations to Make a Uni-Value GridMedium
Airplane Seat Assignment ProbabilityMedium
Count Pairs That Form a Complete Day IIMedium
Movement of RobotsMedium
Top TravellersEasy
Calculate Special BonusEasy
Minimum Index of a Valid SplitMedium
Contain VirusHard
Find the Occurrence of First Almost Equal SubstringHard
Maximum Number of Points From Grid QueriesHard
Maximum Units on a TruckEasy
Find the Minimum Cost Array PermutationHard
Numbers With Same Consecutive DifferencesMedium
Apply Operations to Maximize ScoreHard
Find the Divisibility Array of a StringMedium
Minimum Number of Flips to Make Binary Grid Palindromic IIMedium
Count the Number of Square-Free SubsetsMedium
Minimum Cuts to Divide a CircleEasy
Walking Robot Simulation IIMedium
Three DivisorsEasy
Put Marbles in BagsHard
Maximum Value of an Ordered Triplet IEasy
Tenth LineEasy
Find the String with LCPHard
Zero Array Transformation IVMedium
Is Object EmptyEasy
Filter Elements from ArrayEasy
Maximum Value of an Ordered Triplet IIMedium
Palindrome Partitioning IIHard
Lowest Common Ancestor of Deepest LeavesMedium
Mirror ReflectionMedium
Serialize and Deserialize BSTMedium
Shifting LettersMedium
Minimum Number of Operations to Make Elements in Array DistinctEasy
Make Array Zero by Subtracting Equal AmountsEasy
Encrypt and Decrypt StringsHard
Minimum Operations to Make Array Values Equal to KEasy
Count the Number of Powerful IntegersHard
Final Array State After K Multiplication Operations IEasy
Find the Count of Good IntegersHard
Inorder Successor in BSTMedium
Check if Matrix Is X-MatrixEasy
Count Good Triplets in an ArrayHard
Closest Node to Path in TreeHard
Divide a String Into Groups of Size kEasy
Reformat Department TableEasy
Count Equal and Divisible Pairs in an ArrayEasy
Ways to Express an Integer as Sum of PowersMedium
Process Tasks Using ServersMedium
Patients With a ConditionEasy
Longest Special Path IIHard
Minimum Edge Reversals So Every Node Is ReachableHard
Longest Continuous Increasing SubsequenceEasy
Make Array Non-decreasingMedium
Count Vowel Substrings of a StringEasy
Count the Hidden SequencesMedium
Minimize Malware SpreadHard
Count the Number of Ideal ArraysHard
Custom Sort StringMedium
Count Complete Subarrays in an ArrayMedium
Count Largest GroupEasy
Buildings With an Ocean ViewMedium
Minimum Cost to Make Arrays IdenticalMedium
Smallest Number With All Set BitsEasy
Count Subarrays of Length Three With a ConditionEasy
Prime In DiagonalEasy
Available Captures for RookEasy
Missing Element in Sorted ArrayMedium
Length of the Longest Valid SubstringHard
Count Subarrays Where Max Element Appears at Least K TimesMedium
Maximum Number of Tasks You Can AssignHard
Get the Maximum ScoreHard
Construct the RectangleEasy
Merge Operations for Minimum Travel TimeHard
Find Minimum Time to Reach Last Room IIMedium
Stone Game VIIMedium
Count Number of Balanced PermutationsHard
Minimum Equal Sum of Two Arrays After Replacing ZerosMedium
Minimum Moves to Spread Stones Over GridMedium
Maximum Subarray Sum With Length Divisible by KMedium
Find Most Frequent Vowel and ConsonantEasy
Total Characters in String After Transformations IMedium
All Paths From Source to TargetMedium
Web Crawler MultithreadedMedium
Number of Subarrays with Bounded MaximumMedium
Inorder Successor in BST IIMedium
Number of Subarrays That Match a Pattern IMedium
Minimum Swaps to Sort by Digit SumMedium
Find All Groups of FarmlandMedium
Robot Bounded In CircleMedium
Generate a String With Characters That Have Odd CountsEasy
Can I WinMedium
Largest Perimeter TriangleEasy
Find Words Containing CharacterEasy
Maximum Product of Two DigitsEasy
Delete Greatest Value in Each RowEasy
Design Underground SystemMedium
The Latest Login in 2020Easy
Maximize the Number of Target Nodes After Connecting Trees IMedium
String Without AAA or BBBMedium
Walking Robot SimulationMedium
Equal Rational NumbersHard
Maximize the Number of Target Nodes After Connecting Trees IIHard
Stone Game VHard
Find Closest Node to Given Two NodesMedium
Distribute Candies Among Children IIMedium
Count Odd Numbers in an Interval RangeEasy
Maximum Candies You Can Get from BoxesHard
Shift Distance Between Two StringsMedium
Lexicographically Smallest Equivalent StringMedium
Find the Lexicographically Largest String From the Box IMedium
Maximum Length of a Concatenated String with Unique CharactersMedium
3Sum With MultiplicityMedium
Sum of Good NumbersEasy
Lexicographically Minimum String After Removing StarsMedium
Longest Word in DictionaryMedium
Count Operations to Obtain ZeroEasy
Rotate FunctionMedium
Maximum Difference Between Even and Odd Frequency IIHard
Maximum Difference Between Even and Odd Frequency IEasy
Best Time to Buy and Sell Stock VMedium
Make the XOR of All Segments Equal to ZeroHard
The Maze IIIHard
Maximum Difference Between Adjacent Elements in a Circular ArrayEasy
Create Sorted Array through InstructionsHard
Maximum Difference by Remapping a DigitEasy
Max Difference You Can Get From Changing an IntegerMedium
Count Special QuadrupletsEasy
Sum of k-Mirror NumbersHard
Unique 3-Digit Even NumbersEasy
Maximum Students Taking ExamHard
Card Flipping GameMedium
Find the Pivot IntegerEasy
Count the Number of Arrays with K Matching Adjacent ElementsHard
Find Nearest Point That Has the Same X or Y CoordinateEasy
Find Weighted Median Node in TreeHard
Shortest Word Distance IIMedium
Number of Squareful ArraysHard
Partition Array Such That Maximum Difference Is KMedium
Minimum Deletions to Make String K-SpecialMedium
Minimum Increments to Equalize Leaf PathsMedium
Find Maximum Area of a TriangleMedium
Longest Subsequence With Limited SumEasy
Earliest Second to Mark Indices IIHard
Closest Subsequence SumHard
Sum of Absolute Differences in a Sorted ArrayMedium
Sum of All Odd Length SubarraysEasy
Reducing DishesHard
Longest Subsequence Repeated k TimesHard
Maximum Product After K IncrementsMedium
Find Subsequence of Length K With the Largest SumEasy
Trips and UsersHard
Non-decreasing SubsequencesMedium
Unique Substrings in Wraparound StringMedium
Validate IP AddressMedium
Distribute CandiesEasy
Find the Original Typed String IEasy
Find the Original Typed String IIHard
Find the K-th Character in String Game IIHard
Longest Palindrome After Substring Concatenation IMedium
Subdomain Visit CountMedium
Find Lucky Integer in an ArrayEasy
Count The RepetitionsHard
Finding Pairs With a Certain SumMedium
N-Repeated Element in Size 2N ArrayEasy
Split the ArrayEasy
Find the Kth Largest Integer in the ArrayMedium
Matchsticks to SquareMedium
Maximum Matching of Players With TrainersMedium
Find the K-Sum of an ArrayHard
Minimize Maximum Component CostMedium
Minimum Time to Collect All Apples in a TreeMedium
Valid WordEasy
Maximum Nesting Depth of Two Valid Parentheses StringsMedium
Add to Array-Form of IntegerEasy
Minimum Difference in Sums After Removal of ElementsHard
Department Highest SalaryMedium
Restore The ArrayHard
Chunk ArrayEasy
Count Different Palindromic SubsequencesHard
Left and Right Sum DifferencesEasy
Task Scheduler IIMedium
Zigzag Grid Traversal With SkipEasy
Minimum Score After Removals on a TreeHard
Vowels Game in a StringMedium
Partition Array Into Three Parts With Equal SumEasy
Count Islands With Total Value Divisible by KMedium
Count Partitions With Max-Min Difference at Most KMedium
Maximum Unique Subarray Sum After DeletionEasy
Game Play Analysis IEasy
Maximize Subarrays After Removing One Conflicting PairHard
Best Time to Buy and Sell Stock with Transaction FeeMedium
Smallest Subarrays With Maximum Bitwise ORMedium
Count Prime-Gap Balanced SubarraysMedium
Letter Case PermutationMedium
Transpose FileMedium
Partition Array for Maximum XOR and ANDHard
Rearranging FruitsHard
Maximum Fruits Harvested After at Most K StepsHard
Largest Number After Digit Swaps by ParityEasy
Reorder Routes to Make All Paths Lead to the City ZeroMedium
Fruits Into Baskets IIIMedium
Find the Maximum Number of Fruits CollectedHard
Collect Coins in a TreeHard
Decode the MessageEasy
Increasing Decreasing StringEasy
Allocate MailboxesHard
Maximum Frequency StackHard
Maximum Total from Optimal Activation OrderMedium
Paint House IIIHard
Range Product Queries of PowersMedium
Minimum Array SumMedium
Check If Digits Are Equal in String After Operations IIHard
Solve the EquationMedium
Invalid TransactionsMedium
Threshold Majority QueriesHard
Maximum Path Quality of a GraphHard
Maximum 69 NumberEasy
Map Sum PairsMedium
Minimum Index Sum of Two ListsEasy
Sum of Digits in Base KEasy
Find the Minimum Area to Cover All Ones IMedium
Find the Minimum Area to Cover All Ones IIHard
Find Substring With Given Hash ValueHard
Maximum Sum of Two Non-Overlapping SubarraysMedium
Partition Array Into K-Distinct GroupsMedium
Maximum Area of Longest Diagonal RectangleEasy
Find Mirror Score of a StringMedium
Reorder Data in Log FilesMedium
Sort Matrix by DiagonalsMedium
Minimum Average of Smallest and Largest ElementsEasy
Smallest Missing Integer Greater Than Sequential Prefix SumEasy
Count The Number of Winning SequencesHard
Alice and Bob Playing Flower GameMedium
Shortest Path in a Hidden GridMedium
Binary GapEasy
Binary Number with Alternating BitsEasy
Find Closest PersonEasy
Find Common Elements Between Two ArraysEasy
Minimum Operations to Make Array Elements ZeroHard
Minimum Operations to Make the Integer ZeroMedium
Sum of Beautiful SubsequencesHard
Promise Time LimitMedium
Convert Integer to the Sum of Two No-Zero IntegersEasy
Number of People Aware of a SecretMedium
Maximum Subarray With Equal ProductsEasy
Minimum Number of People to TeachMedium
Print Zero Even OddMedium
Count Bowl SubarraysMedium
Fill Missing DataEasy
Vowel SpellcheckerMedium
Replace Non-Coprime Numbers in ArrayHard
Maximum Number of Words You Can TypeEasy
Maximum Product of the Length of Two Palindromic SubsequencesMedium
Friend Requests II: Who Has the Most FriendsMedium
Find the Number of Winning PlayersEasy
Subsequence Sum After Capping ElementsMedium
Balanced K-Factor DecompositionMedium
Highest Grade For Each StudentMedium
Design SpreadsheetMedium
Implement RouterMedium
Design Movie Rental SystemHard
Minimize String LengthEasy
The Two Sneaky Numbers of DigitvilleEasy
Minimum Moves to Move a Box to Their Target LocationHard
Path Existence Queries in a Graph IIHard
Minimum Sensors to Cover GridMedium
Twisted Mirror Path CountMedium
Find The Original Array of Prefix XorMedium
Count Elements With Strictly Smaller and Greater ElementsEasy
Maximum Area Rectangle With Point Constraints IIHard
XOR Operation in an ArrayEasy
Water Bottles IIMedium
Group the People Given the Group Size They Belong ToMedium
Find Beautiful Indices in the Given Array IMedium
Longest Palindrome After Substring Concatenation IIHard
Maximize Alternating Sum Using SwapsHard
Split Array With Minimum DifferenceMedium
Calculate Delayed Arrival TimeEasy
Successful Pairs of Spells and PotionsMedium
Minimum Difficulty of a Job ScheduleHard
Maximum Xor ProductMedium
Binary Tree Upside DownMedium
Find Resultant Array After Removing AnagramsEasy
Reshape the MatrixEasy
Find Minimum Time to Finish All JobsHard
Split Array With Same AverageHard
Sum of Perfect Square AncestorsHard
Minimum Cost to Reach Destination in TimeHard
Check If Digits Are Equal in String After Operations IEasy
Next Greater Numerically Balanced NumberMedium
Maximum Count of Positive Integer and Negative IntegerEasy
Make Array Elements Equal to ZeroEasy
Lexicographically Smallest Permutation Greater Than TargetMedium
Candy CrushMedium
Number of Valid Move Combinations On ChessboardHard
Find and Replace PatternMedium
Largest Magic SquareMedium
Find X-Sum of All K-Long Subarrays IIHard
Find Minimum Cost to Remove Array ElementsMedium
Minimum Time to Complete All DeliveriesMedium
Number of Even and Odd BitsEasy
Power Grid MaintenanceMedium
Maximize the Minimum Powered CityHard
Minimum One Bit Operations to Make Integers ZeroHard
Find the Longest Valid Obstacle Course at Each PositionHard
Maximum Containers on a ShipEasy
Minimum Operations to Convert All Elements to ZeroMedium
Minimum Number of Operations to Make All Array Elements Equal to 1Medium
Find Students Who ImprovedMedium
Non-negative Integers without Consecutive OnesHard
Partition Array into Disjoint IntervalsMedium
Sort Even and Odd Indices IndependentlyEasy
Count Distinct Integers After Removing ZerosMedium
Count of Matches in TournamentEasy
Check If All 1's Are at Least Length K Places AwayEasy
Make Array EmptyHard
Keep Multiplying Found Values by TwoEasy
1-bit and 2-bit CharactersEasy
Escape a Large MazeHard
Maximum Area of a Piece of Cake After Horizontal and Vertical CutsMedium
Find the Largest Almost Missing IntegerEasy
Count Number of Ways to Place HousesMedium
Set Intersection Size At Least TwoHard
Smallest Index With Digit Sum Equal to IndexEasy
Greatest Sum Divisible by ThreeMedium
Binary Prefix Divisible By 5Easy
Actors and Directors Who Cooperated At Least Three TimesEasy
Concatenate Non-Zero Digits and Multiply by Sum IIMedium
Best Team With No ConflictsMedium
Minimum Operations to Make Array Sum Divisible by KEasy
Strong FriendshipMedium
Count Partitions with Even Sum DifferenceEasy
Count Collisions on a RoadMedium
Trim a Binary Search TreeMedium
Find Servers That Handled Most Number of RequestsHard
Total Waviness of Numbers in Range IMedium
Largest Prime from Consecutive Prime SumMedium
Process String with Special Operations IIHard
Count Square Sum TriplesEasy
Count Special TripletsMedium
Unique Morse Code WordsEasy
Count the Number of Computer Unlocking PermutationsMedium
Zuma GameHard
Count Covered BuildingsMedium
Coupon Code ValidatorEasy
Number of Smooth Descent Periods of a StockMedium
Sum of Squares of Special ElementsEasy
Maximum Profit from Trading Stocks with DiscountsHard
Maximum Value of a String in an ArrayEasy
Design A LeaderboardMedium
Append K Integers With Minimal SumMedium
Apple Redistribution into BoxesEasy
Two-Letter Card GameMedium
Maximize Happiness of Selected ChildrenMedium
Difference Between Element Sum and Digit Sum of an ArrayEasy
Broken CalculatorMedium
Sales Analysis IIIEasy
Maximize Active Section with Trade IMedium
Flatten Deeply Nested ArrayMedium
Number of Ways to Paint N × 3 GridHard
Four DivisorsMedium
IP to CIDRMedium
Find Missing ElementsEasy
Find Valid Pair of Adjacent Digits in StringEasy
Memoize IIHard
Maximum Product of Splitted Binary TreeMedium
Max Dot Product of Two SubsequencesHard
Design Parking SystemEasy
Minimum Deletions for At Most K Distinct CharactersEasy
Smallest Subtree with all the Deepest NodesMedium
Tallest BillboardHard
Minimum ASCII Delete Sum for Two StringsMedium
Longest Turbulent SubarrayMedium
Sort the Matrix DiagonallyMedium
Count Paths That Can Form a Palindrome in a TreeHard
Count Residue PrefixesEasy
Merge BSTs to Create Single BSTHard
Dinner Plate StacksHard
Maximum Square Area by Removing Fences From a FieldMedium
Smallest Divisible Digit Product IIHard
Maximize Area of Square Hole in GridMedium
Find Words That Can Be Formed by CharactersEasy
Find Players With Zero or One LossesMedium
As Far from Land as PossibleMedium
Design Auction SystemMedium
Construct the Minimum Bitwise Array IEasy
Find the Lexicographically Smallest Valid SequenceMedium
K-Concatenation Maximum SumMedium
Minimum Number of Pushes to Type Word IEasy
Number of Orders in the BacklogMedium
Minimum Pair Removal to Sort Array IIHard
Minimize Maximum Pair Sum in ArrayMedium
Cache With Time LimitMedium
Largest Element in an Array after Merge OperationsMedium
Count Sorted Vowel StringsMedium
Find Nth Smallest Integer With K One BitsHard
Stamping the GridHard
Minimum Cost Path with TeleportationsHard
Harshad NumberEasy
Minimum Cost to Convert String IIHard
Trionic Array IEasy
Partition Array to Minimize XORMedium
Divide an Array Into Subarrays With Minimum Cost IIHard
Smallest Range IEasy
Reverse Degree of a StringEasy
Trionic Array IIHard
Minimum K to Reduce Array Within LimitMedium
Transformed ArrayEasy
Minimum Removals to Balance ArrayMedium
Apply Operations to Maximize Frequency ScoreHard
Restaurant GrowthMedium
Longest Balanced Subarray IMedium
Lucky Numbers in a MatrixEasy
Longest Balanced Substring IMedium
Longest Balanced Substring IIMedium
Find the K-Beauty of a NumberEasy
Minimum Amount of Time to Collect GarbageMedium
Second Largest Digit in a StringEasy
DNA Pattern RecognitionMedium
Human Traffic of StadiumHard
Find COVID Recovery PatientsMedium
Number of Subarrays With LCM Equal to KMedium
Maximize Cyclic Partition ScoreHard

Showing 2217 of 2217 questions