Amazon

1968 LeetCode interview questions

Difficulty Distribution

Easy
527
27%
Medium
1074
55%
Hard
367
19%

Top Topics

All Questions

TitleDifficulty
Two SumEasy
LRU CacheMedium
Trapping Rain WaterHard
Number of IslandsMedium
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
Group AnagramsMedium
Add Two NumbersMedium
Reorganize StringMedium
3SumMedium
Longest Palindromic SubstringMedium
Merge IntervalsMedium
Container With Most WaterMedium
Median of Two Sorted ArraysHard
Koko Eating BananasMedium
Valid ParenthesesEasy
Course ScheduleMedium
Merge k Sorted ListsHard
Longest Common PrefixEasy
Rotting OrangesMedium
Subarray Sum Equals KMedium
Merge Sorted ArrayEasy
Search in Rotated Sorted ArrayMedium
Top K Frequent ElementsMedium
Maximum SubarrayMedium
Longest Consecutive SequenceMedium
Copy List with Random PointerMedium
Lowest Common Ancestor of a Binary TreeMedium
Generate ParenthesesMedium
Palindrome NumberEasy
Word LadderHard
Majority ElementEasy
Product of Array Except SelfMedium
Merge Two Sorted ListsEasy
Jump GameMedium
Climbing StairsEasy
House RobberMedium
Letter Combinations of a Phone NumberMedium
Course Schedule IIMedium
Word SearchMedium
Sliding Window MaximumHard
Spiral MatrixMedium
Valid AnagramEasy
Rotate ImageMedium
Next PermutationMedium
Analyze User Website Visit PatternMedium
Coin ChangeMedium
Task SchedulerMedium
Kth Largest Element in an ArrayMedium
Remove Duplicates from Sorted ArrayEasy
Meeting Rooms IIMedium
Find Median from Data StreamHard
Roman to IntegerEasy
SubsetsMedium
Merge Strings AlternatelyEasy
Unique PathsMedium
Insert Delete GetRandom O(1)Medium
Find Peak ElementMedium
Pascal's TriangleEasy
Word BreakMedium
First Missing PositiveHard
Asteroid CollisionMedium
Move ZeroesEasy
Jump Game IIMedium
Reverse IntegerMedium
Sort ColorsMedium
Largest Rectangle in HistogramHard
Create Hello World FunctionEasy
Rotate ArrayMedium
N-QueensHard
Recyclable and Low Fat ProductsEasy
Find First and Last Position of Element in Sorted ArrayMedium
Longest Repeating Character ReplacementMedium
Fruit Into BasketsMedium
Min StackMedium
Best Time to Buy and Sell Stock IIMedium
Minimum Window SubstringHard
Binary Tree Maximum Path SumHard
Valid SudokuMedium
4SumMedium
Identify the Largest Outlier in an ArrayMedium
Single NumberEasy
Max Consecutive Ones IIIMedium
Serialize and Deserialize Binary TreeHard
Palindrome Linked ListEasy
Reverse Nodes in k-GroupHard
Capacity To Ship Packages Within D DaysMedium
Sqrt(x)Easy
Daily TemperaturesMedium
Search a 2D MatrixMedium
Single Element in a Sorted ArrayMedium
Binary Tree Right Side ViewMedium
Reverse Linked ListEasy
Binary Tree Zigzag Level Order TraversalMedium
Zigzag ConversionMedium
LFU CacheHard
Regular Expression MatchingHard
All Nodes Distance K in Binary TreeMedium
Set Matrix ZeroesMedium
Search Insert PositionEasy
Contains DuplicateEasy
Remove ElementEasy
Find the Duplicate NumberMedium
Binary Tree Level Order TraversalMedium
Next Greater Element IIMedium
First Unique Character in a StringEasy
Missing NumberEasy
Word Search IIHard
Pow(x, n)Medium
CandyHard
PermutationsMedium
String CompressionMedium
Gas StationMedium
Combination SumMedium
Two Sum II - Input Array Is SortedMedium
Find the Index of the First Occurrence in a StringEasy
Concatenated WordsHard
Maximum Product SubarrayMedium
String to Integer (atoi)Medium
Integer to RomanMedium
Flood FillEasy
Reorder ListMedium
Longest Increasing SubsequenceMedium
Next Greater Element IEasy
Validate Binary Search TreeMedium
Basic CalculatorHard
Integer to English WordsHard
Remove Nth Node From End of ListMedium
Valid PalindromeEasy
Middle of the Linked ListEasy
Diameter of Binary TreeEasy
Odd Even Linked ListMedium
Linked List CycleEasy
Reverse Words in a StringMedium
Word Break IIHard
Edit DistanceMedium
Plus OneEasy
Partition Equal Subset SumMedium
Maximum Profit in Job SchedulingHard
3Sum ClosestMedium
Search a 2D Matrix IIMedium
Sum of Subarray MinimumsMedium
Intersection of Two ArraysEasy
Split Array Largest SumHard
Number of ProvincesMedium
Basic Calculator IIMedium
Happy NumberEasy
Evaluate DivisionMedium
Palindrome PartitioningMedium
Balanced Binary TreeEasy
Largest NumberMedium
Contains Duplicate IIEasy
Fibonacci NumberEasy
Plates Between CandlesMedium
Max Consecutive OnesEasy
K Closest Points to OriginMedium
Longest Valid ParenthesesHard
Rotate ListMedium
Check if Array Is Sorted and RotatedEasy
Sudoku SolverHard
Maximum Frequency After Subarray OperationMedium
Decode StringMedium
Combine Two TablesEasy
Minimum Size Subarray SumMedium
Time Based Key-Value StoreMedium
Evaluate Reverse Polish NotationMedium
Isomorphic StringsEasy
Search Suggestions SystemMedium
Peak Index in a Mountain ArrayMedium
Symmetric TreeEasy
Add BinaryEasy
Remove Duplicates from Sorted Array IIMedium
Make Array Zero by Subtracting Equal AmountsEasy
Intersection of Two Linked ListsEasy
Rotate StringEasy
Count PrimesMedium
Second Highest SalaryMedium
Subarrays with K Different IntegersHard
Maximum Depth of Binary TreeEasy
Find Minimum in Rotated Sorted ArrayMedium
Same TreeEasy
Concatenation of ArrayEasy
Construct Binary Tree from Preorder and Inorder TraversalMedium
Find All Anagrams in a StringMedium
Vertical Order Traversal of a Binary TreeHard
Maximum Width of Binary TreeMedium
Lowest Common Ancestor of a Binary Search TreeMedium
Fizz BuzzEasy
Word Ladder IIHard
Random Pick with WeightMedium
Permutation in StringMedium
The kth Factor of nMedium
Article Views IEasy
Reverse Linked List IIMedium
Surrounded RegionsMedium
Find K Closest ElementsMedium
Lowest Common Ancestor of a Binary Tree IIIMedium
Employees Earning More Than Their ManagersEasy
Minimum Health to Beat GameMedium
Reverse StringEasy
Pacific Atlantic Water FlowMedium
Minimum Path SumMedium
Rearrange Array Elements by SignMedium
Simplify PathMedium
Populating Next Right Pointers in Each NodeMedium
Minimum Time to Complete All DeliveriesMedium
Linked List Cycle IIMedium
Top K Frequent WordsMedium
Sort ListMedium
Subsets IIMedium
Kth Smallest Element in a BSTMedium
Target SumMedium
Reverse PairsHard
Min Cost Climbing StairsEasy
Maximal RectangleHard
Partition LabelsMedium
Online Stock SpanMedium
Squares of a Sorted ArrayEasy
Binary SearchEasy
Cheapest Flights Within K StopsMedium
Managers with at Least 5 Direct ReportsMedium
Sort Characters By FrequencyMedium
Average Time of Process per MachineEasy
Divide Two IntegersMedium
Design Parking SystemEasy
House Robber IIIMedium
Length of Last WordEasy
Invert Binary TreeEasy
Boats to Save PeopleMedium
Majority Element IIMedium
Minimum Number of Days to Make m BouquetsMedium
Valid Palindrome IIEasy
Remove Duplicates from Sorted ListEasy
Kth Largest Element in a StreamEasy
Find Triangular Sum of an ArrayMedium
Non-overlapping IntervalsMedium
Critical Connections in a NetworkHard
Remove K DigitsMedium
Frequency of the Most Frequent ElementMedium
Set MismatchEasy
Contiguous ArrayMedium
Snakes and LaddersMedium
Rising TemperatureEasy
Swap Nodes in PairsMedium
Is SubsequenceEasy
Trapping Rain Water IIHard
Open the LockMedium
Big CountriesEasy
Count and SayMedium
Add Two IntegersEasy
Maximum Width RampMedium
Maximum Number of Vowels in a Substring of Given LengthMedium
Furthest Building You Can ReachMedium
Sort an ArrayMedium
Longest Palindromic SubsequenceMedium
Smallest Range Covering Elements from K ListsHard
Binary Tree Inorder TraversalEasy
Kth Missing Positive NumberEasy
Design HashMapEasy
Can Place FlowersEasy
Accounts MergeMedium
House Robber IIMedium
Product Sales Analysis IIIMedium
Exclusive Time of FunctionsMedium
Making A Large IslandHard
Greatest Common Divisor of StringsEasy
Palindromic SubstringsMedium
Average Selling PriceEasy
Design TwitterMedium
Decode WaysMedium
Maximum Units on a TruckEasy
Unique Paths IIMedium
Assign CookiesEasy
Implement Queue using StacksEasy
Combination Sum IIMedium
TriangleMedium
Reverse Vowels of a StringEasy
Power of TwoEasy
Find Customer RefereeEasy
01 MatrixMedium
Count Good NumbersMedium
Monthly Transactions IMedium
Implement Trie (Prefix Tree)Medium
Maximum Sum of Distinct Subarrays With Length KMedium
Sum of Total Strength of WizardsHard
Search in Rotated Sorted Array IIMedium
Maximum Average Subarray IEasy
Running Sum of 1d ArrayEasy
Russian Doll EnvelopesHard
Maximum Points You Can Obtain from CardsMedium
Design Tic-Tac-ToeMedium
Delete Node in a Linked ListMedium
Max Area of IslandMedium
Delete Node in a BSTMedium
Kids With the Greatest Number of CandiesEasy
Sum of Subarray RangesMedium
Find Missing and Repeated ValuesEasy
Ransom NoteEasy
Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMedium
Clone GraphMedium
Recover Binary Search TreeMedium
Longest Common SubsequenceMedium
Shortest Path in Binary MatrixMedium
Unique Number of OccurrencesEasy
Convert Sorted Array to Binary Search TreeEasy
Minimum Difference in Sums After Removal of ElementsHard
Find K Pairs with Smallest SumsMedium
Design In-Memory File SystemHard
Number of Distinct IslandsMedium
Maximum K to Sort a PermutationMedium
First Bad VersionEasy
Amount of Time for Binary Tree to Be InfectedMedium
Valid Parenthesis StringMedium
Wildcard MatchingHard
Lexicographically Smallest Negated Permutation that Sums to TargetMedium
Partition ListMedium
Sum of Two IntegersMedium
First Unique NumberMedium
Coin Change IIMedium
Alien DictionaryHard
Design Add and Search Words Data StructureMedium
Flatten Binary Tree to Linked ListMedium
Maximal SquareMedium
Subarray Product Less Than KMedium
Increasing Triplet SubsequenceMedium
Diagonal TraverseMedium
Interleaving StringMedium
Insert IntervalMedium
Process String with Special Operations IMedium
Bus RoutesHard
Single Number IIMedium
Design Circular QueueMedium
Is Graph Bipartite?Medium
Minimum Add to Make Parentheses ValidMedium
Swapping Nodes in a Linked ListMedium
Repeated Substring PatternEasy
Maximum Sum BST in Binary TreeHard
Find the Smallest Divisor Given a ThresholdMedium
Jewels and StonesEasy
Count Binary SubstringsEasy
Text JustificationHard
Apply Discount to PricesMedium
Minimum Number of Primes to Sum to TargetMedium
Distinct SubsequencesHard
Replace Employee ID With The Unique IdentifierEasy
Number of Connected Components in an Undirected GraphMedium
Boundary of Binary TreeMedium
Most Expensive Item That Can Not Be BoughtMedium
Find Longest Self-Contained SubstringHard
Find the Number of Possible Ways for an EventHard
Partition Array According to Given PivotMedium
Permutations IIMedium
Add DigitsEasy
Binary Tree CamerasHard
Substring with Concatenation of All WordsHard
Confirmation RateMedium
Customer Who Visited but Did Not Make Any TransactionsEasy
Permutation SequenceHard
Burst BalloonsHard
Range Sum Query - ImmutableEasy
Compare Version NumbersMedium
Find Eventual Safe StatesMedium
Department Top Three SalariesHard
Implement Stack using QueuesEasy
Maximum Number of Events That Can Be AttendedMedium
Remove Duplicate LettersMedium
Find All Numbers Disappeared in an ArrayEasy
Reorder Data in Log FilesMedium
Create a DataFrame from ListEasy
Consecutive NumbersMedium
Rotate FunctionMedium
Rank ScoresMedium
Minimum Falling Path SumMedium
Domino and Tromino TilingMedium
Path Sum IIIMedium
Balance a Binary Search TreeMedium
Remove All Adjacent Duplicates in String IIMedium
Remove Linked List ElementsEasy
Binary Subarrays With SumMedium
Count Square Submatrices with All OnesMedium
Gray CodeMedium
Replace Elements with Greatest Element on Right SideEasy
Reconstruct ItineraryHard
Next Greater Element IIIMedium
Employee BonusEasy
Put Marbles in BagsHard
Make Sum Divisible by PMedium
Removing Stars From a StringMedium
Make String a Subsequence Using Cyclic IncrementsMedium
Minimum Number of Pushes to Type Word IIMedium
Customers Who Bought All ProductsMedium
Smallest Subsequence of Distinct CharactersMedium
Find Pivot IndexEasy
Students and ExaminationsEasy
Minimum Operations to Make Array Non DecreasingMedium
Dungeon GameHard
Construct Binary Search Tree from Preorder TraversalMedium
Kth Largest Sum in a Binary TreeMedium
Substring With Largest VarianceHard
Frog JumpHard
H-IndexMedium
Longest Substring with At Least K Repeating CharactersMedium
Nth Highest SalaryMedium
Two Sum IV - Input is a BSTEasy
Immediate Food Delivery IIMedium
Third Maximum NumberEasy
Binary Search Tree IteratorMedium
Maximum Number of Groups With Increasing LengthHard
Predict the WinnerMedium
Maximum Average Pass RatioMedium
Distribute Candies Among Children IIMedium
Merge Two Binary TreesEasy
Split Linked List in PartsMedium
Using a Robot to Print the Lexicographically Smallest StringMedium
Maximum Coins From K Consecutive BagsMedium
Angle Between Hands of a ClockMedium
Longest Arithmetic Sequence After Changing At Most One ElementMedium
Multiply StringsMedium
Magnetic Force Between Two BallsMedium
Sell Diminishing-Valued Colored BallsMedium
Product Sales Analysis IEasy
Flatten a Multilevel Doubly Linked ListMedium
Excel Sheet Column TitleEasy
Remove All Adjacent Duplicates In StringEasy
Minimum Number of Refueling StopsHard
Count Negative Numbers in a Sorted MatrixEasy
Add StringsEasy
Unique Binary Search TreesMedium
Path SumEasy
Different Ways to Add ParenthesesMedium
Kth Smallest Element in a Sorted MatrixMedium
Sum of Beauty of All SubstringsMedium
Baseball GameEasy
Custom Sort StringMedium
Path CrossingEasy
Maximum Number of Books You Can TakeHard
Count Number of Rectangles Containing Each PointMedium
Best Poker HandEasy
Number of Equivalent Domino PairsEasy
Max Sum of a Pair With Equal Sum of DigitsMedium
Image SmootherEasy
Binary Search Tree to Greater Sum TreeMedium
Sum of All Subset XOR TotalsEasy
Count Bowl SubarraysMedium
Palindrome Partitioning IIHard
Remove Outermost ParenthesesEasy
Reverse BitsEasy
Shortest Path in a Grid with Obstacles EliminationHard
Recover a Tree From Preorder TraversalHard
Minimum Cost to Cut a StickHard
Customers Who Never OrderEasy
Spiral Matrix IIMedium
Summary RangesEasy
Best Time to Buy and Sell Stock IIIHard
Flip String to Monotone IncreasingMedium
CombinationsMedium
Find All Duplicates in an ArrayMedium
Minimum Swaps to Group All 1's Together IIMedium
Length of Longest V-Shaped Diagonal SegmentHard
Maximum Length of Pair ChainMedium
Longest Duplicate SubstringHard
Shortest Path with Alternating ColorsMedium
Find Minimum Time to Finish All JobsHard
The Number of the Smallest Unoccupied ChairMedium
Sort Array By Parity IIEasy
Cousins in Binary Tree IIMedium
Number of Ways to Split ArrayMedium
Loud and RichMedium
Design an Expression Tree With Evaluate FunctionMedium
Move Pieces to Obtain a StringMedium
Find the Highest AltitudeEasy
Meeting RoomsEasy
Interval List IntersectionsMedium
Count the Number of Special Characters IEasy
Shuffle the ArrayEasy
Minimum Cost For TicketsMedium
Maximum Sum With at Most K ElementsMedium
Total Appeal of A StringHard
Perfect SquaresMedium
Divide an Array Into Subarrays With Minimum Cost IEasy
Count Subarrays With Median KHard
132 PatternMedium
Lemonade ChangeEasy
Find the DifferenceEasy
Meeting Rooms IIIHard
Shortest PalindromeHard
Minimum Swaps to Avoid Forbidden ValuesHard
Shortest Subarray to be Removed to Make Array SortedMedium
Determine Whether Matrix Can Be Obtained By RotationEasy
Design Memory AllocatorMedium
Path Sum IIMedium
All O`one Data StructureHard
Count Number of Pairs With Absolute Difference KEasy
Partition Array Such That Maximum Difference Is KMedium
Actors and Directors Who Cooperated At Least Three TimesEasy
Partition Array Into Two Arrays to Minimize Sum DifferenceHard
Minimum Operations to Make the Array AlternatingMedium
Shortest Common SupersequenceHard
Pascal's Triangle IIEasy
Convert BST to Greater TreeMedium
Maximum Difference Between Node and AncestorMedium
Sales Analysis IIIEasy
Number of Dice Rolls With Target SumMedium
Lowest Common Ancestor of a Binary Tree IVMedium
Number of Ways to Select BuildingsMedium
Maximum Number of Robots Within BudgetHard
Minimum Adjacent Swaps to Make a Valid ArrayMedium
Minimum Number of Operations to Sort a Binary Tree by LevelMedium
Smallest Number in Infinite SetMedium
Construct Smallest Number From DI StringMedium
Find the K-Sum of an ArrayHard
GCD Sort of an ArrayHard
Minimum Rounds to Complete All TasksMedium
Clone Binary Tree With Random PointerMedium
Most Frequent Subtree SumMedium
List the Products Ordered in a PeriodEasy
Count Unreachable Pairs of Nodes in an Undirected GraphMedium
Strictly Palindromic NumberMedium
Optimal Partition of StringMedium
Allocate MailboxesHard
Find if Path Exists in GraphEasy
Number of Students Unable to Eat LunchEasy
Car FleetMedium
Min Cost to Connect All PointsMedium
Reverse Words in a String IIIEasy
Most Stones Removed with Same Row or ColumnMedium
Duplicate EmailsEasy
Arranging CoinsEasy
Last Stone WeightEasy
Concatenation of Consecutive Binary NumbersMedium
Repeated DNA SequencesMedium
Array PartitionEasy
Exchange SeatsMedium
Maximize Happiness of Selected ChildrenMedium
Serialize and Deserialize BSTMedium
Continuous Subarray SumMedium
Find All Possible Recipes from Given SuppliesMedium
Product Price at a Given DateMedium
Find the CelebrityMedium
Remove Nodes From Linked ListMedium
Longest Increasing Path in a MatrixHard
HeatersMedium
Keys and RoomsMedium
Maximum Erasure ValueMedium
Unique Length-3 Palindromic SubsequencesMedium
Combination Sum IIIMedium
To Be Or Not To BeEasy
Super Washing MachinesHard
K-diff Pairs in an ArrayMedium
Most Common WordEasy
Uncrossed LinesMedium
Fair Distribution of CookiesMedium
Reverse Words in a String IIMedium
MinesweeperMedium
Count Beautiful Substrings IMedium
Number of Distinct Islands IIHard
Count the Hidden SequencesMedium
Minimum Sum of Four Digit Number After Splitting DigitsEasy
Minimum Sum of Squared DifferenceMedium
Orderly QueueHard
Count Number of TeamsMedium
Encode and Decode TinyURLMedium
Maximum Score Words Formed by LettersHard
Count Stepping Numbers in RangeHard
Sum of Root To Leaf Binary NumbersEasy
Number of Smooth Descent Periods of a StockMedium
Reformat Department TableEasy
Generate Binary Strings Without Adjacent ZerosMedium
Number of Operations to Make Network ConnectedMedium
Largest Odd Number in StringEasy
Maximize Fixed Points After DeletionsHard
Logger Rate LimiterEasy
Number of Recent CallsEasy
Minimum Genetic MutationMedium
Max Number of K-Sum PairsMedium
Bulb SwitcherMedium
Partition to K Equal Sum SubsetsMedium
Max Points on a LineHard
Network Delay TimeMedium
Ugly NumberEasy
Trionic Array IEasy
All Paths From Source to TargetMedium
Find K-th Smallest Pair DistanceHard
Counting BitsEasy
Redundant ConnectionMedium
Design File SystemMedium
Valid NumberHard
Minimum Removals to Balance ArrayMedium
Backspace String CompareEasy
Flatten Nested List IteratorMedium
Subtree of Another TreeEasy
Number of Digit OneHard
Maximum Sum Circular SubarrayMedium
N-Queens IIHard
Binary Tree Vertical Order TraversalMedium
Check If Array Pairs Are Divisible by kMedium
Count Zero Request ServersMedium
Minimum Array SumMedium
Minimum Number of Operations to Make Elements in Array DistinctEasy
Substring Matching PatternEasy
Check If Digits Are Equal in String After Operations IEasy
Count Covered BuildingsMedium
Sum Root to Leaf NumbersMedium
Number of 1 BitsEasy
Design Hit CounterMedium
Longest PalindromeEasy
Shortest Subarray with Sum at Least KHard
Subarray Sums Divisible by KMedium
How Many Numbers Are Smaller Than the Current NumberEasy
Row With Maximum OnesEasy
Longest Repeating SubstringMedium
The K Weakest Rows in a MatrixEasy
Minimum Average DifferenceMedium
Design a Food Rating SystemMedium
Minimum Number of Operations to Make Array EmptyMedium
Find Maximum Non-decreasing Array LengthHard
Minimum Length of String After Deleting Similar EndsMedium
K Divisible Elements SubarraysMedium
Maximum Alternating Subarray SumMedium
Check for Contradictions in EquationsHard
High FiveEasy
Path With Maximum Minimum ValueMedium
Split With Minimum SumEasy
Find Missing ObservationsMedium
Distant BarcodesMedium
Find the Divisibility Array of a StringMedium
Cut Off Trees for Golf EventHard
Maximum Bags With Full Capacity of RocksMedium
Design a Text EditorHard
Product Sales Analysis IVMedium
Find and Replace PatternMedium
Remove Palindromic SubsequencesEasy
Maximum Matching of Players With TrainersMedium
Smallest Subarrays With Maximum Bitwise ORMedium
Next Palindrome Using Same DigitsHard
Maximum Total from Optimal Activation OrderMedium
Can Make Arithmetic Progression From SequenceEasy
Maximum Element After Decreasing and RearrangingMedium
Number of Laser Beams in a BankMedium
Maximize the Profit as the SalesmanMedium
Most Frequent IDsMedium
Two Sum Less Than KEasy
Two Sum BSTsMedium
Solve the EquationMedium
Sum of Nodes with Even-Valued GrandparentMedium
Maximize Number of Subsequences in a StringMedium
Count Number of TextsMedium
Maximum Consecutive Floors Without Special FloorsMedium
Get Watched Videos by Your FriendsMedium
Insert into a Binary Search TreeMedium
Build Array from PermutationEasy
Minimum Operations to Reduce X to ZeroMedium
Design Browser HistoryMedium
Restore IP AddressesMedium
Battleships in a BoardMedium
Minimum Operations to Sort a StringMedium
Power of ThreeEasy
Department Highest SalaryMedium
Triangle JudgementEasy
Maximum Bitwise AND After Increment OperationsHard
Maximum Frequency StackHard
Walls and GatesMedium
Lexicographical NumbersMedium
My Calendar IMedium
Unique Paths IIIHard
Delete and EarnMedium
Serialize and Deserialize N-ary TreeHard
The Number of Employees Which Report to Each EmployeeEasy
Minimum Number of Coins to be AddedMedium
Design an Array Statistics TrackerHard
Minimum Number of Moves to Make PalindromeHard
Unique Binary Search Trees IIMedium
Nested List Weight SumMedium
Insert Delete GetRandom O(1) - Duplicates allowedHard
Design Search Autocomplete SystemHard
Swim in Rising WaterHard
Count the Number of Fair PairsMedium
Moving Average from Data StreamEasy
Maximize Y‑Sum by Picking a Triplet of Distinct X‑ValuesMedium
Construct String from Binary TreeMedium
Prison Cells After N DaysMedium
Missing Element in Sorted ArrayMedium
All Elements in Two Binary Search TreesMedium
String Matching in an ArrayEasy
Maximum Number of Non-Overlapping SubstringsHard
Maximum Number of Achievable Transfer RequestsHard
Minimum Number of KeypressesMedium
Find Minimum Time to Finish All Jobs IIMedium
Difference Between Ones and Zeros in Row and ColumnMedium
Length of the Longest Valid SubstringHard
Minimum Number of Pushes to Type Word IEasy
Kth Distinct String in an ArrayEasy
Find Distance in a Binary TreeMedium
Warehouse ManagerEasy
Longest Common SubpathHard
NPV QueriesEasy
Maximum Star Sum of a GraphMedium
Check if Move is LegalMedium
Optimal DivisionMedium
Customers With Strictly Increasing PurchasesHard
Time Taken to Cross the DoorHard
Connecting Cities With Minimum CostMedium
Sum of Beauty in the ArrayMedium
Customer Order FrequencyEasy
Find the Index of the Large IntegerMedium
Find Number of Coins to Place in Tree NodesHard
Adding Spaces to a StringMedium
Replace Non-Coprime Numbers in ArrayHard
Minimum Garden Perimeter to Collect Enough ApplesMedium
Replace Question Marks in String to Minimize Its ValueMedium
Decode XORed PermutationMedium
Minimum Swaps To Make Sequences IncreasingHard
Double a Number Represented as a Linked ListMedium
Form Array by Concatenating Subarrays of Another ArrayMedium
Find Number of Ways to Reach the K-th StairHard
Minimum Degree of a Connected Trio in a GraphHard
Minimum Score After Removals on a TreeHard
Split Array into Fibonacci SequenceMedium
Valid Palindrome IVMedium
Closest RoomHard
Sum of Number and Its ReverseMedium
Design SQLMedium
Monotone Increasing DigitsMedium
Find Words That Can Be Formed by CharactersEasy
Append Characters to String to Make SubsequenceMedium
Delete Leaves With a Given ValueMedium
Sales by Day of the WeekHard
Find the K-or of an ArrayEasy
Insufficient Nodes in Root to Leaf PathsMedium
Decode the Slanted CiphertextMedium
Find Good Days to Rob the BankMedium
Handshakes That Don't CrossHard
Closest DivisorsMedium
Replace Elements in an ArrayMedium
Number of Steps to Reduce a Number in Binary Representation to OneMedium
Minimum Operations to Sort a PermutationMedium
User Activity for the Past 30 Days IEasy
Reverse String IIEasy
Find the Length of the Longest Common PrefixMedium
Bulls and CowsMedium
Word PatternEasy
Minimized Maximum of Products Distributed to Any StoreMedium
Maximum Nesting Depth of the ParenthesesEasy
Defuse the BombEasy
Distribute Coins in Binary TreeMedium
IPOHard
Magic Squares In GridMedium
Maximum Matrix SumMedium
Design Linked ListMedium
Construct Binary Tree from Inorder and Postorder TraversalMedium
Find a Peak Element IIMedium
Snapshot ArrayMedium
Maximum Candies Allocated to K ChildrenMedium
Restaurant GrowthMedium
Remove All Occurrences of a SubstringMedium
Lexicographically Maximum MEX ArrayHard
Maximum Twin Sum of a Linked ListMedium
Parsing A Boolean ExpressionHard
The Skyline ProblemHard
Largest Divisible SubsetMedium
Max StackHard
Number of Substrings Containing All Three CharactersMedium
Reorder Routes to Make All Paths Lead to the City ZeroMedium
Longest Subarray of 1's After Deleting One ElementMedium
Number of Subsequences That Satisfy the Given Sum ConditionMedium
Invalid TweetsEasy
Valid Word AbbreviationEasy
Max Chunks To Make SortedMedium
Two Best Non-Overlapping EventsMedium
Shortest Matching SubstringHard
Delete Duplicate EmailsEasy
Game of LifeMedium
2 Keys KeyboardMedium
Shortest BridgeMedium
Find in Mountain ArrayHard
Maximum Subarray Sum with One DeletionMedium
Maximum SwapMedium
Percentage of Users Attended a ContestEasy
Count Servers that CommunicateMedium
Valid Triangle NumberMedium
Prime Number of Set Bits in Binary RepresentationEasy
Remove Vowels from a StringEasy
Number of Submatrices That Sum to TargetHard
Sales Analysis IEasy
Pseudo-Palindromic Paths in a Binary TreeMedium
Find Critical and Pseudo-Critical Edges in Minimum Spanning TreeHard
Find Total Time Spent by Each EmployeeEasy
Rearrange Products TableEasy
Minimize the Difference Between Target and Chosen ElementsMedium
Sum of Scores of Built StringsHard
Longest Square Streak in an ArrayMedium
Count the Number of K-Big IndicesHard
Find the Substring With Maximum CostMedium
Relocate MarblesMedium
Distribute Candies Among Children IEasy
Find the Pivot IntegerEasy
Sales Analysis IIEasy
Product's Price for Each StoreEasy
Number of Distinct AveragesEasy
Merge Operations to Turn Array Into a PalindromeMedium
Jump Game VIIIMedium
Maximal Range That Each Element Is Maximum in ItMedium
Construct Binary Tree from StringMedium
Complex Number MultiplicationMedium
Maximum of Minimum Values in All SubarraysMedium
Count Number of Special SubsequencesHard
Digit Count in RangeHard
Index Pairs of a StringEasy
Sum of Digits in the Minimum NumberEasy
Find K-Length Substrings With No Repeated CharactersMedium
Find Xor-Beauty of ArrayMedium
Number of Days in a MonthEasy
Armstrong NumberEasy
Find Cumulative Salary of an EmployeeHard
Maximum Average SubtreeMedium
Subarrays Distinct Element Sum of Squares IIHard
Largest Unique NumberEasy
Clone N-ary TreeMedium
Friendly Movies Streamed Last MonthEasy
Maximum Linear Stock ScoreMedium
Maximum Balanced Subsequence SumHard
Minimum Numbers of Function Calls to Make Target ArrayMedium
Product Sales Analysis IIEasy
Make Three Strings EqualEasy
Count Beautiful Substrings IIHard
Distribute Candies Among Children IIIHard
Equal Tree PartitionMedium
Sequentially Ordinal Rank TrackerHard
Count the Number of K-Free SubsetsMedium
Minimum Operations to Make the Array K-IncreasingHard
Number of Sets of K Non-Overlapping Line SegmentsMedium
Remove Covered IntervalsMedium
Build Binary Expression Tree From Infix ExpressionHard
Minimum Operations to Remove Adjacent Ones in MatrixHard
Find the Missing IDsMedium
All Valid Triplets That Can Represent a CountryEasy
Find the Maximum Number of Elements in SubsetMedium
Closest Leaf in a Binary TreeMedium
Design Front Middle Back QueueMedium
Add Two Polynomials Represented as Linked ListsMedium
Largest Multiple of ThreeHard
Prime ArrangementsEasy
Diet Plan PerformanceEasy
Append K Integers With Minimal SumMedium
Longest Winning StreakHard
Count Numbers With Unique Digits IIEasy
Global and Local InversionsMedium
Split BSTMedium
Count Ways to Make Array With ProductHard
Number of Calls Between Two PersonsMedium
Find the Number of Subarrays Where Boundary Elements Are MaximumHard
Maximum Sum Score of ArrayMedium
Users With Two Purchases Within Seven DaysMedium
Rearrange Characters to Make Target StringEasy
Number of Times a Driver Was a PassengerMedium
Count the Number of Special Characters IIMedium
Find Nearest Point That Has the Same X or Y CoordinateEasy
Count Pairs Of NodesHard
Shift 2D GridEasy
Sort Features by PopularityMedium
Products With Three or More Orders in Two Consecutive YearsMedium
Maximum Sum of Almost Unique SubarrayMedium
Grand Slam TitlesMedium
Minimum Average of Smallest and Largest ElementsEasy
Maximize the Beauty of the GardenHard
Product Sales Analysis VEasy
Find the Team SizeEasy
Time Needed to Rearrange a Binary StringMedium
Ad-Free SessionsEasy
Numbers At Most N Given Digit SetHard
Find Interview CandidatesMedium
Count Triplets with Even XOR Set Bits IEasy
Number of Unique CategoriesMedium
Minimum Money Required Before TransactionsHard
Count Triplets with Even XOR Set Bits IIMedium
Students With Invalid DepartmentsEasy
Distinct Numbers in Each SubarrayMedium
Minimum Space Wasted From PackagingHard
Minimum Right Shifts to Sort the ArrayEasy
Employees With DeductionsMedium
Queries on a Permutation With KeyMedium
Trionic Array IIHard
Minimum Stability Factor of ArrayHard
Maximum Capacity Within BudgetMedium
Maximum Ice Cream BarsMedium
Convert Sorted List to Binary Search TreeMedium
Minimum Distance to the Target ElementEasy
Queries Quality and PercentageEasy
Find the Prefix Common Array of Two ArraysMedium
Binary Tree Preorder TraversalEasy
Range Sum Query 2D - ImmutableMedium
Single Number IIIMedium
Minimum Number of Groups to Create a Valid AssignmentMedium
Max Dot Product of Two SubsequencesHard
Return Length of Arguments PassedEasy
Final Prices With a Special Discount in a ShopEasy
Base 7Easy
Maximum Product of Three NumbersEasy
Island PerimeterEasy
Minimum Fuel Cost to Report to the CapitalMedium
Count Elements With Maximum FrequencyEasy
Excel Sheet Column NumberEasy
Pairs of Songs With Total Durations Divisible by 60Medium
Minimum Cost to Merge StonesHard
Best Time to Buy and Sell Stock IVHard
Minimum Number of Arrows to Burst BalloonsMedium
Transpose MatrixEasy
Find the Town JudgeEasy
Find the Difference of Two ArraysEasy
Path With Minimum EffortMedium
Find the Median of the Uniqueness ArrayHard
Course Schedule IIIHard
Delete Nodes From Linked List Present in ArrayMedium
House Robber IVMedium
Course Schedule IVMedium
Number of Zero-Filled SubarraysMedium
Avoid Flood in The CityMedium
Binary Tree Postorder TraversalEasy
Binary Tree PathsEasy
Longest Harmonious SubsequenceEasy
Guess the WordHard
Game Play Analysis IVMedium
Car PoolingMedium
Minimum Difficulty of a Job ScheduleHard
Count Vowel Strings in RangesMedium
Find Winner on a Tic Tac Toe GameEasy
Encode and Decode StringsMedium
Remove Sub-Folders from the FilesystemMedium
Minimum Time to Activate StringMedium
Maximum Median Sum of Subsequences of Size 3Medium
Minimize Array Sum Using Divisible ReplacementsMedium
Minimum Flips to Make Binary String CoherentMedium
Create Binary Tree From DescriptionsMedium
Parallel Courses IIIHard
Find Common CharactersEasy
Minimum Height TreesMedium
Find the K-th Character in String Game IEasy
Sum of Square NumbersMedium
Minimum Depth of Binary TreeEasy
N-th Tribonacci NumberEasy
Separate Squares IMedium
Nth Magical NumberHard
Elimination GameMedium
Intersection of Two Arrays IIEasy
Longest Happy PrefixHard
CounterEasy
Number of Good PairsEasy
Sort Array by Increasing FrequencyEasy
Count of Smaller Numbers After SelfHard
Find the Maximum Length of Valid Subsequence IMedium
Number of Visible People in a QueueHard
Valid Mountain ArrayEasy
Valid Perfect SquareEasy
Trips and UsersHard
Ugly Number IIMedium
Longest Happy StringMedium
Minimum Remove to Make Valid ParenthesesMedium
Nearest Exit from Entrance in MazeMedium
Minimum Number of Swaps to Make the String BalancedMedium
Successful Pairs of Spells and PotionsMedium
Count Number of Bad PairsMedium
Minimum Difference Between Highest and Lowest of K ScoresEasy
Number of Ways to Arrive at DestinationMedium
Clear DigitsEasy
Lexicographically Minimum String After Removing StarsMedium
New 21 GameMedium
Find the Minimum Area to Cover All Ones IIHard
Soup ServingsMedium
Greatest Sum Divisible by ThreeMedium
Count Subarrays of Length Three With a ConditionEasy
Count the Number of Substrings With Dominant OnesMedium
Scramble StringHard
Populating Next Right Pointers in Each Node IIMedium
Add Two Numbers IIMedium
Find Duplicate SubtreesMedium
Search in a Binary Search TreeEasy
Basic Calculator IIIHard
Find N Unique Integers Sum up to ZeroEasy
Filter Elements from ArrayEasy
Find the Maximum Achievable NumberEasy
Factorial Trailing ZeroesMedium
Minimum Cost to Connect SticksMedium
Threshold Majority QueriesHard
Minimum Sensors to Cover GridMedium
Maximum Calories Burnt from JumpsMedium
Maximize Points After Choosing K TasksMedium
Total Sum of Interaction Cost in Tree GroupsHard
Maximum Score After Binary SwapsMedium
Reverse String PrefixEasy
Minimum Cost to Partition a Binary StringHard
Sum of GCD of Formed PairsMedium
Maximum Total Value of Covered IndicesMedium
Total Waviness of Numbers in Range IMedium
Jump Game VIIMedium
Detect Cycles in 2D GridMedium
Walking Robot SimulationMedium
Rotating the BoxMedium
Find the Winner of the Circular GameMedium
Robot Return to OriginEasy
Transformed ArrayEasy
Champagne TowerMedium
Fix Names in a TableEasy
Longest Balanced Substring IMedium
Matrix Diagonal SumEasy
Sum of Absolute Differences in a Sorted ArrayMedium
Smallest Even MultipleEasy
Number of AtomsHard
Possible BipartitionMedium
Valid Phone NumbersEasy
Count Good Nodes in Binary TreeMedium
Detonate the Maximum BombsMedium
Count Number of Nice SubarraysMedium
Delete the Middle Node of a Linked ListMedium
Nth DigitMedium
Perfect NumberEasy
Most Beautiful Item for Each QueryMedium
Longest Substring with At Most K Distinct CharactersMedium
Power of FourEasy
Sum of Left LeavesEasy
Find the Closest PalindromeHard
Maximize Distance to Closest PersonMedium
Reordered Power of 2Medium
Minimum Knight MovesMedium
Movie RatingMedium
Maximum Number of Events That Can Be Attended IIHard
Buildings With an Ocean ViewMedium
Check if a Parentheses String Can Be ValidMedium
Grumpy Bookstore OwnerMedium
Score of a StringEasy
Minimum Difference Between Largest and Smallest Value in Three MovesMedium
K-th Smallest in Lexicographical OrderHard
Word SubsetsMedium
Finding 3-Digit Even NumbersEasy
Longest Subarray With Maximum Bitwise ANDMedium
String Compression IIIMedium
Total Characters in String After Transformations IMedium
Find All K-Distant Indices in an ArrayEasy
Maximum Performance of a TeamHard
Maximum Absolute Sum of Any SubarrayMedium
Kth Smallest Product of Two Sorted ArraysHard
Lexicographically Smallest Equivalent StringMedium
Vowel SpellcheckerMedium
Reschedule Meetings for Maximum Free Time IMedium
Minimum Equal Sum of Two Arrays After Replacing ZerosMedium
Maximize Subarrays After Removing One Conflicting PairHard
Largest 1-Bordered SquareMedium
Minimum Cost to Reach Destination in TimeHard
Fruits Into Baskets IIEasy
Sliding Window MedianHard
Find Largest Value in Each Tree RowMedium
Minimum Time DifferenceMedium
Human Traffic of StadiumHard
Trim a Binary Search TreeMedium
Next Greater Node In Linked ListMedium
Robot Bounded In CircleMedium
Longest Nice SubarrayMedium
Continuous SubarraysMedium
Check If N and Its Double ExistEasy
Maximum Sum of 3 Non-Overlapping SubarraysHard
Separate Black and White BallsMedium
Minimum Cost to Convert String IIHard
Lexicographically Smallest String After Applying OperationsMedium
Last Stone Weight IIMedium
Minimum Limit of Balls in a BagMedium
Special Binary StringHard
Maximum Number of Tasks You Can AssignHard
Even Odd TreeMedium
Unique 3-Digit Even NumbersEasy
Insertion Sort ListMedium
Find Numbers with Even Number of DigitsEasy
Nim GameEasy
Lexicographically Smallest Permutation Greater Than TargetMedium
Number of ZigZag Arrays IHard
Earliest Finish Time for Land and Water Rides IIMedium
Earliest Finish Time for Land and Water Rides IEasy
Minimum Cost of Buying Candies With DiscountEasy
Process String with Special Operations IIHard
Cherry Pickup IIHard
Minimum Initial Energy to Finish TasksHard
Minimum Moves to Make Array ComplementaryMedium
Jump Game IVHard
Count Complete Tree NodesEasy
Maximum Level Sum of a Binary TreeMedium
Minimum Cost Path with Edge ReversalsMedium
Separate Squares IIHard
Minimum Pair Removal to Sort Array IIHard
Partition Array for Maximum SumMedium
Maximum Subarray Min-ProductMedium
Maximum Product of Splitted Binary TreeMedium
Arithmetic SlicesMedium
Monotonic ArrayEasy
Minimum Cost to Convert String IMedium
Count of Range SumHard
As Far from Land as PossibleMedium
Find Resultant Array After Removing AnagramsEasy
Find Kth Bit in Nth Binary StringMedium
Binary Tree Level Order Traversal IIMedium
Design Task ManagerMedium
Not Boring MoviesEasy
Remove Invalid ParenthesesHard
The k-th Lexicographical String of All Happy Strings of Length nMedium
Final Value of Variable After Performing OperationsEasy
Best Time to Buy and Sell Stock with CooldownMedium
Relative RanksEasy
Find Target Indices After Sorting ArrayEasy
Maximum Product of Two Elements in an ArrayEasy
Number of Unique Subjects Taught by Each TeacherEasy
Range Sum of BSTEasy
Apply Operations to an ArrayEasy
Add to Array-Form of IntegerEasy
Remove Duplicates from Sorted List IIMedium
Can I WinMedium
Optimal Account BalancingHard
Find Smallest Letter Greater Than TargetEasy
K-th Symbol in GrammarMedium
Rabbits in ForestMedium
Reveal Cards In Increasing OrderMedium
Regions Cut By SlashesMedium
Divisor GameEasy
Defanging an IP AddressEasy
Invalid TransactionsMedium
Minimum Insertion Steps to Make a String PalindromeHard
Minimum Number of Operations to Move All Balls to Each BoxMedium
Step-By-Step Directions From a Binary Tree Node to AnotherMedium
Root Equals Sum of ChildrenEasy
Primary Department for Each EmployeeEasy
Shortest Distance from All BuildingsHard
Water and Jug ProblemMedium
Count the Number of Complete ComponentsMedium
Delete Columns to Make SortedEasy
Number of Sub-arrays With Odd SumMedium
Sum of Prefix Scores of StringsHard
Count Number of Maximum Bitwise-OR SubsetsMedium
Minimum Domino Rotations For Equal RowMedium
Number of Sub-arrays of Size K and Average Greater than or Equal to ThresholdMedium
Make Lexicographically Smallest Array by Swapping ElementsMedium
Maximum Difference Between Even and Odd Frequency IEasy
Length of Longest Fibonacci SubsequenceMedium
Maximum Tastiness of Candy BasketMedium
Minimize the Maximum Difference of PairsMedium
Find the Minimum Area to Cover All Ones IMedium
Maximum Subarray Sum With Length Divisible by KMedium
Maximum Difference Between Increasing ElementsEasy
Range Product Queries of PowersMedium
Ways to Express an Integer as Sum of PowersMedium
Set Intersection Size At Least TwoHard
Minimum Penalty for a ShopMedium
Bitwise AND of Numbers RangeMedium
Shortest Word DistanceEasy
Combination Sum IVMedium
Shortest Unsorted Continuous SubarrayMedium
Best Time to Buy and Sell Stock with Transaction FeeMedium
Maximum Length of Repeated SubarrayMedium
Hand of StraightsMedium
Filling Bookcase ShelvesMedium
Stone Game IIMedium
Find the City With the Smallest Number of Neighbors at a Threshold DistanceMedium
Minimum Number of Increments on Subarrays to Form a Target ArrayHard
Maximum Population YearEasy
Design a Stack With Increment OperationMedium
Minimum Cost to Hire K WorkersHard
Minimum Operations to Make Binary Array Elements Equal to One IMedium
Investments in 2016Medium
Sort the Jumbled NumbersMedium
Contains Duplicate IIIHard
Valid Tic-Tac-Toe StateMedium
Sum of Unique ElementsEasy
Design Snake GameMedium
Maximum Total Damage With Spell CastingMedium
Zero Array Transformation IMedium
Sort Array By ParityEasy
Maximum Balanced ShipmentsMedium
Maximum Good Subarray SumMedium
Buddy StringsEasy
Maximum GapMedium
N-Repeated Element in Size 2N ArrayEasy
Maximize Area of Square Hole in GridMedium
Maximum Side Length of a Square with Sum Less than or Equal to ThresholdMedium
Construct the Minimum Bitwise Array IIMedium
Minimum Index Sum of Two ListsEasy
Check If a String Contains All Binary Codes of Size KMedium
Longest Balanced Subarray IMedium
Longest Balanced Substring IIMedium
Find Score of an Array After Marking All ElementsMedium
Partitioning Into Minimum Number Of Deci-Binary NumbersMedium
Number of Pairs Satisfying InequalityHard
Minimum Increment to Make Array UniqueMedium
Find Closest Node to Given Two NodesMedium
Minimum Deletions to Make String BalancedMedium
Self Dividing NumbersEasy
Check if the Sentence Is PangramEasy
Fraction to Recurring DecimalMedium
Wiggle Sort IIMedium
Guess Number Higher or LowerEasy
Friend Requests II: Who Has the Most FriendsMedium
Dota2 SenateMedium
Construct Quad TreeMedium
Number of Matching SubsequencesMedium
All Possible Full Binary TreesMedium
Cousins in Binary TreeEasy
Relative Sort ArrayEasy
Last Person to Fit in the BusMedium
Maximum Score After Splitting a StringEasy
Water BottlesEasy
Maximum Length of Subarray With Positive ProductMedium
Extra Characters in a StringMedium
Counter IIEasy
Divide Array Into Arrays With Max DifferenceMedium
Valid WordEasy
Count Complete Subarrays in an ArrayMedium
Divide Players Into Teams of Equal SkillMedium
Find the Longest Substring Containing Vowels in Even CountsMedium
Find the Maximum Length of Valid Subsequence IIMedium
Rank Transform of an ArrayEasy
Task Scheduler IIMedium
Split a String in Balanced StringsEasy
N-ary Tree Postorder TraversalEasy
Solving Questions With BrainpowerMedium
Rearrange String k Distance ApartHard
Map of Highest PeakMedium
Adjacent Increasing Subarrays Detection IEasy
Find the Punishment Number of an IntegerMedium
The Most Frequently Ordered Products for Each CustomerMedium
Zero Array Transformation IIMedium
Max Difference You Can Get From Changing an IntegerMedium
Shifting Letters IIMedium
Minimize XORMedium
Out of Boundary PathsMedium
Neighboring Bitwise XORMedium
Tree DiameterMedium
Count Hills and Valleys in an ArrayEasy
Find Duplicate File in SystemMedium
Find the Original Typed String IEasy
Find the Original Typed String IIHard
Last Day Where You Can Still CrossHard
Minimum Time to Complete TripsMedium
Find the Number of Ways to Place People IMedium
Minimum Operations to Make the Integer ZeroMedium
Number of People Aware of a SecretMedium
Taking Maximum Energy From the Mystic DungeonMedium
Best Time to Buy and Sell Stock VMedium
Create Maximum NumberHard
Minimum Moves to Equal Array ElementsMedium
Kill ProcessMedium
Reach a NumberMedium
Profitable SchemesHard
Fair Candy SwapEasy
Validate Stack SequencesMedium
Verifying an Alien DictionaryEasy
Project Employees IEasy
Game Play Analysis IEasy
Richest Customer WealthEasy
Find the Minimum and Maximum Number of Nodes Between Critical PointsMedium
Array Prototype LastEasy
Count Pairs Whose Sum is Less than TargetEasy
Reverse Prefix of WordEasy
Find Subsequence of Length K With the Largest SumEasy
Employee Free TimeHard
Strong Password CheckerHard
Find Users With Valid E-MailsEasy
Length of the Longest Subsequence That Sums to TargetMedium
Best Sightseeing PairMedium
Check if Number is a Sum of Powers of ThreeMedium
Biggest Single NumberEasy
Take K of Each Character From Left and RightMedium
Minimum Subsequence in Non-Increasing OrderEasy
Number of Subarrays with Bounded MaximumMedium
Count Total Number of Colored CellsMedium
Maximum Sum of Two Non-Overlapping SubarraysMedium
Minimum Time to Repair CarsMedium
Longest Continuous Increasing SubsequenceEasy
Count Vowel Substrings of a StringEasy
Number of Steps to Reduce a Number to ZeroEasy
Count Submatrices With All OnesMedium
Minimum Pair Removal to Sort Array IEasy
Fruits Into Baskets IIIMedium
Convert Integer to the Sum of Two No-Zero IntegersEasy
Maximum Number of Words Found in SentencesEasy
Smallest Missing Non-negative Integer After OperationsMedium
Pyramid Transition MatrixMedium
Maximum Number of BalloonsEasy
Largest Palindromic NumberMedium
Web CrawlerMedium
Maximum Score From Grid OperationsHard
First Completely Painted Row or ColumnMedium
Maximum Number of Jumps to Reach the Last IndexMedium
Find Center of Star GraphEasy
Robot CollisionsHard
Minimum Absolute Distance Between Mirror PairsMedium
Brick WallMedium
Rotated DigitsMedium
Jump Game IIIMedium
Maximum Height by Stacking CuboidsHard
Total Waviness of Numbers in Range IIHard
Sort the PeopleEasy
Number of Islands IIHard
Find Unique Binary StringMedium
Sum of DistancesMedium
Longest Arithmetic SubsequenceMedium
Construct the Minimum Bitwise Array IEasy
Paint HouseMedium
Minimum Cost Path with TeleportationsHard
Largest Magic SquareMedium
Binary GapEasy
Check if Binary String Has at Most One Segment of OnesEasy
Rearranging FruitsHard
Maximum Non Negative Product in a MatrixMedium
Daily Leads and PartnersEasy
Linked List ComponentsMedium
Rectangle AreaMedium
Two Furthest Houses With Different ColorsEasy
Smallest String Starting From LeafMedium
Sliding Subarray BeautyMedium
Super Ugly NumberMedium
Delete Nodes And Return ForestMedium
Find Minimum in Rotated Sorted Array IIHard
Average of Levels in Binary TreeEasy
Maximum Total Subarray Value IMedium
Count Subarrays With Fixed BoundsHard
Minimum Absolute DifferenceEasy
Shortest Distance to a CharacterEasy
Queue Reconstruction by HeightMedium
Palindrome PairsHard
Integer BreakMedium
Find Leaves of Binary TreeMedium
Arithmetic Slices II - SubsequenceHard
Delete Operation for Two StringsMedium
Strange PrinterHard
Robot Room CleanerHard
Leaf-Similar TreesEasy
Increasing Order Search TreeEasy
Smallest Range IIMedium
Largest Perimeter TriangleEasy
Design A LeaderboardMedium
Group the People Given the Group Size They Belong ToMedium
Convert Binary Number in a Linked List to IntegerEasy
Product of the Last K NumbersMedium
Design Underground SystemMedium
Least Number of Unique Integers after K RemovalsMedium
Dot Product of Two Sparse VectorsMedium
Minimum Number of Removals to Make Mountain ArrayHard
Count of Matches in TournamentEasy
Check if One String Swap Can Make Strings EqualEasy
Process Tasks Using ServersMedium
Maximum Employees to Be Invited to a MeetingHard
Merge Nodes in Between ZerosMedium
Escape the Spreading FireHard
Decode the MessageEasy
Cache With Time LimitMedium
4Sum IIMedium
Check if the Rectangle Corner Is ReachableHard
Largest Combination With Bitwise AND Greater Than ZeroMedium
Find Servers That Handled Most Number of RequestsHard
Minimum Obstacle Removal to Reach CornerHard
Lexicographically Smallest Beautiful StringHard
Minimum Operations to Make All Array Elements EqualMedium
Minimum String Length After Removing SubstringsEasy
All Ancestors of a Node in a Directed Acyclic GraphMedium
Prime PalindromeMedium
Numbers With Same Consecutive DifferencesMedium
Design Log Storage SystemMedium
Maximum Number of Removable CharactersMedium
Zigzag IteratorMedium
Find the Lexicographically Largest String From the Box IMedium
Rearrange Array to Maximize Prefix ScoreMedium
Minimum Score Triangulation of PolygonMedium
Count Palindromic SubsequencesHard
Minimum Cost to Make at Least One Valid Path in a GridHard
Most Profitable Path in a TreeMedium
Delete Characters to Make Fancy StringEasy
Max Chunks To Make Sorted IIHard
Apply Operations to Make All Array Elements Equal to ZeroMedium
Construct the Lexicographically Largest Valid SequenceMedium
Design Excel Sum FormulaHard
Closest Prime Numbers in RangeMedium
Count Univalue SubtreesMedium
A Number After a Double ReversalEasy
Minimum Deletions to Make Character Frequencies UniqueMedium
Cherry PickupHard
Range Sum Query 2D - MutableMedium
Divisible and Non-divisible Sums DifferenceEasy
Count Partitions With Max-Min Difference at Most KMedium
Mirror ReflectionMedium
Minimum Operations to Convert All Elements to ZeroMedium
Maximum Unique Subarray Sum After DeletionEasy
Maximum Frequency of an Element After Performing Operations IMedium
Sort Matrix by DiagonalsMedium
Maximum Running Time of N ComputersHard
Get Biggest Three Rhombus Sums in a GridMedium
Find the Minimum Amount of Time to Brew PotionsMedium
Maximum Number of Distinct Elements After OperationsMedium
Find X-Sum of All K-Long Subarrays IEasy
Number of Ways to Paint N × 3 GridHard
Best Time to Buy and Sell Stock using StrategyMedium
Super PowMedium
Find Right IntervalMedium
Find Bottom Left Tree ValueMedium
Most Profit Assigning WorkMedium
Shortest Path Visiting All NodesHard
Knight DialerMedium
Last Substring in Lexicographical OrderHard
Check If It Is a Straight LineEasy
Minimum Number of Taps to Open to Water a GardenHard
Largest Positive Integer That Exists With Its NegativeEasy
Count Subarrays Where Max Element Appears at Least K TimesMedium
Substrings of Size Three with Distinct CharactersEasy
Reaching PointsHard
Best Meeting PointHard
Stock Price FluctuationMedium
Number of Good Ways to Split a StringMedium
Bitwise ORs of SubarraysMedium
DI String MatchEasy
Minimum Cuts to Divide a CircleEasy
Binary WatchEasy
Paint House IVMedium
Find the Middle Index in ArrayEasy
Rectangle OverlapEasy
Teemo AttackingEasy
Count Subarrays With Score Less Than KHard
Swap Sex of EmployeesEasy
Expression Add OperatorsHard
Market Analysis IMedium
Number of Segments in a StringEasy
Paths in Matrix Whose Sum Is Divisible by KHard
Finding the Users Active MinutesMedium
N-ary Tree Level Order TraversalMedium
Minimum Operations to Reduce an Integer to 0Medium
Partition Array Into Three Parts With Equal SumEasy
Sort Integers by The Number of 1 BitsEasy
Minimum Operations to Equalize Binary StringHard
Minimum Number of People to TeachMedium
Construct Product MatrixMedium
Largest Triangle AreaEasy
Maximize the Minimum Powered CityHard
Detect SquaresMedium
Make Array Elements Equal to ZeroEasy
Ones and ZeroesMedium
Delete Columns to Make Sorted IIMedium
Number of Ways to Assign Edge Weights IMedium
Closest Equal Element QueriesMedium
Minimum Jumps to Reach End via Prime TeleportationMedium
Minimum Operations to Make a Uni-Value GridMedium
Jump Game IXMedium
Parallel Courses IIHard
Jump Game VHard
Longest Common Suffix QueriesHard
Minimum Number GameEasy
Reshape the MatrixEasy
Score After Flipping MatrixMedium
Left and Right Sum DifferencesEasy
Divide an Array Into Subarrays With Minimum Cost IIHard
Longest Balanced Subarray IIHard
Binary Number with Alternating BitsEasy
Satisfiability of Equality EquationsMedium
Fancy SequenceHard
Largest Submatrix With RearrangementsMedium
Maximum Amount of Money Robot Can EarnMedium
Maximum Walls Destroyed by RobotsHard
XOR After Range Multiplication Queries IIHard
Perfect RectangleHard
Minimum Absolute Difference in BSTEasy
Happy StudentsMedium
Minimum Edge Reversals So Every Node Is ReachableHard
Display the First Three RowsEasy
Mini ParserMedium
Find All Possible Stable Binary Arrays IIHard
Minimum Number of Seconds to Make Mountain Height ZeroMedium
Two City SchedulingMedium
Time Needed to Inform All EmployeesMedium
Maximum Product of Word LengthsMedium
Shortest Distance to Target String in a Circular ArrayEasy
Complement of Base 10 IntegerEasy
Merge BSTs to Create Single BSTHard
Count Symmetric IntegersEasy
Maximum Size Subarray Sum Equals kMedium
Random Pick IndexMedium
Validate IP AddressMedium
Keyboard RowEasy
Shopping OffersMedium
Range ModuleHard
Design HashSetEasy
Flipping an ImageEasy
Super Egg DropHard
Meeting SchedulerMedium
Duplicate ZerosEasy
Element Appearing More Than 25% In Sorted ArrayEasy
Remove Zero Sum Consecutive Nodes from Linked ListMedium
Number of Days Between Two DatesEasy
Three Consecutive OddsEasy
Kth Ancestor of a Tree NodeHard
Reverse Substrings Between Each Pair of ParenthesesMedium
XOR Queries of a SubarrayMedium
Maximum 69 NumberEasy
Minimum Number of Steps to Make Two Strings AnagramMedium
Destination CityEasy
Count Good TripletsEasy
Make The String GreatEasy
Widest Vertical Area Between Two Points Containing No PointsEasy
Determine if Two Strings Are CloseMedium
Check If Two String Arrays are EquivalentEasy
Calculate Money in Leetcode BankEasy
Remove One Element to Make the Array Strictly IncreasingEasy
Minimum Bit Flips to Convert NumberEasy
Find Closest Number to ZeroEasy
Minimize Maximum of ArrayMedium
Count the Number of Good SubarraysMedium
Apply Transform Over Each Element in ArrayEasy
Number of Employees Who Met the TargetEasy
Find Words Containing CharacterEasy
Longest Turbulent SubarrayMedium
Minimum Number of Moves to Seat EveryoneEasy
Degree of an ArrayEasy
Minimum Number of Operations to Make Array XOR Equal to KMedium
Minimum Array EndMedium
Minimum Number of Days to Disconnect IslandHard
Find Occurrences of an Element in an ArrayMedium
Longest Strictly Increasing or Strictly Decreasing SubarrayEasy
HTML Entity ParserMedium
Reshape Data: PivotEasy
Minimum Time to Visit a Cell In a GridHard
Check if Two Chessboard Squares Have the Same ColorEasy
Dinner Plate StacksHard
Maximize Score of Numbers in RangesMedium
Uncommon Words from Two SentencesEasy
Split a String Into the Max Number of Unique SubstringsMedium
Sort ByEasy
Graph Valid TreeMedium
Minimize Max Distance to Gas StationHard
Grid GameMedium
Construct K Palindrome StringsMedium
Maximal Score After Applying K OperationsMedium
Convert a Number to HexadecimalEasy
The MazeMedium
Flip Columns For Maximum Number of Equal RowsMedium
Minimum Operations to Make a SubsequenceHard
Find Building Where Alice and Bob Can MeetHard
Binary Tree PruningMedium
Alternating Groups IEasy
Circular Array LoopMedium
Maximum Number of Fish in a GridMedium
Maximum Ascending Subarray SumEasy
Tuple with Same ProductMedium
Employee ImportanceMedium
Data Stream as Disjoint IntervalsHard
Group Sold Products By The DateEasy
Number of Pairs of Interchangeable RectanglesMedium
Count of Substrings Containing Every Vowel and K Consonants IIMedium
Find the Number of Distinct Colors Among the BallsMedium
Maximum Difference Between Even and Odd Frequency IIHard
N-ary Tree Preorder TraversalEasy
Minimum Operations to Exceed Threshold Value IIMedium
Parallel CoursesMedium
Longest Cycle in a GraphHard
Analyze Organization HierarchyHard
Divide Nodes Into the Maximum Number of GroupsHard
Sentence Similarity IIMedium
Sliding PuzzleHard
Get Maximum in Generated ArrayEasy
Minimum Recolors to Get K Consecutive Black BlocksEasy
Check if Grid can be Cut into SectionsMedium
Construct the RectangleEasy
Count Unique Characters of All Substrings of a Given StringHard
Divide Array Into Equal PairsEasy
Finding Pairs With a Certain SumMedium
Maximum Number of Words You Can TypeEasy
Longest Binary Subsequence Less Than or Equal to KMedium
Push DominoesMedium
The Earliest and Latest Rounds Where Players CompeteHard
Remove BoxesHard
Count the Number of Ideal ArraysHard
Number of Adjacent Elements With the Same ColorMedium
Maximum Frequency of an Element After Performing Operations IIHard
Max Pair Sum in an ArrayEasy
Smallest Number With All Set BitsEasy
The Two Sneaky Numbers of DigitvilleEasy
Minimum Time to Make Rope ColorfulMedium
Check if All the Integers in a Range Are CoveredEasy
Count Collisions of Monkeys on a PolygonMedium
Stream of CharactersHard
Maximum Difference Between Adjacent Elements in a Circular ArrayEasy
Check if All Characters Have Equal Number of OccurrencesEasy
Minimum Distance Between BST NodesEasy
Reschedule Meetings for Maximum Free Time IIMedium
Find the K-th Character in String Game IIHard
Maximum Score From Removing SubstringsMedium
Maximum XOR of Two Numbers in an ArrayMedium
Longest Non-decreasing Subarray From Two ArraysMedium
Maximum Fruits Harvested After at Most K StepsHard
Find Closest PersonEasy
Find Most Frequent Vowel and ConsonantEasy
Longest String ChainMedium
Count Largest GroupEasy
Power Grid MaintenanceMedium
Minimum Number of Operations to Make All Array Elements Equal to 1Medium
Minimum Operations to Make Array Sum Divisible by KEasy
Maximum Number of Operations to Move Ones to the EndMedium
Count Operations to Obtain ZeroEasy
Bag of TokensMedium
Patching ArrayHard
Plus One Linked ListMedium
Shuffle an ArrayMedium
Beautiful ArrayMedium
Height CheckerEasy
Convert 1D Array Into 2D ArrayEasy
Time Needed to Buy TicketsEasy
Longest Path With Different Adjacent CharactersHard
Convert the TemperatureEasy
Path with Maximum ProbabilityMedium
Merge In Between Linked ListsMedium
Sort the Matrix DiagonallyMedium
Closest Binary Search Tree Value IIHard
Report Contiguous DatesHard
Longest Absolute File PathMedium
Count the Number of InversionsHard
My Calendar IIMedium
Minimum Operations to Make the Array IncreasingEasy
Count Ways To Build Good StringsMedium
Minimum Time to Collect All Apples in a TreeMedium
Longest Nice SubstringEasy
Escape a Large MazeHard
Binary Tree TiltEasy
Find the Kth Smallest Sum of a Matrix With Sorted RowsHard
Minimum Moves to Equal Array Elements IIMedium
Find Minimum Time to Reach Last Room IIMedium
Surface Area of 3D ShapesEasy
Smallest Integer Divisible by KMedium
Matchsticks to SquareMedium
Minimize Malware SpreadHard
Largest Sum of AveragesMedium
Repeated String MatchMedium
Check Balanced StringEasy
Split Array With Same AverageHard
Minimize Maximum Pair Sum in ArrayMedium
Patients With a ConditionEasy
Rank Teams by VotesMedium
Count Odd Numbers in an Interval RangeEasy
Distinct Subsequences IIHard
Minimum Time Visiting All PointsEasy
Maximum Number of Occurrences of a SubstringMedium
Number of Longest Increasing SubsequenceMedium
Unique Email AddressesEasy
Ugly Number IIIMedium
Friends Of Appropriate AgesMedium
XOR After Range Multiplication Queries IMedium
Count Nodes Equal to Average of SubtreeMedium
Longest Subsequence With Limited SumEasy
Maximum and Minimum Sums of at Most Size K SubsequencesMedium
Number of Good PathsHard
Count the Digits That Divide a NumberEasy
Find Minimum Operations to Make All Elements Divisible by ThreeEasy
Car Fleet IIHard
Minimum Swaps to Arrange a Binary GridMedium
Minimum Number of Flips to Make the Binary String AlternatingMedium
Sign of the Product of an ArrayEasy
Find Followers CountEasy
Find Mode in Binary Search TreeEasy
Subtract the Product and Sum of Digits of an IntegerEasy
Maximize Spanning Tree Stability with UpgradesHard
Path with Maximum GoldMedium
Customer Placing the Largest Number of OrdersEasy
Count Salary CategoriesMedium
Minimum Cost to Buy Apples IIHard
Max Sum of Rectangle No Larger Than KHard
Find Maximum Value in a Constrained SequenceMedium
Median Employee SalaryHard
Missing Number In Arithmetic ProgressionEasy
Find All Possible Stable Binary Arrays IMedium
Minimum Subarray Length With Distinct Sum At Least KMedium
Exam RoomMedium
Count Submatrices With Equal Frequency of X and YMedium
Matrix Similarity After Cyclic ShiftsEasy
Check if Strings Can be Made Equal With Operations IIMedium
Final Element After Subarray DeletionsMedium
Minimum Distance Between Three Equal Elements IEasy
Minimum Deletions to Make Array DivisibleHard
Minimum Cost to Make Array EqualHard
Minimum Cost to Split into OnesMedium
Cyclically Rotating a GridMedium
K-Similar StringsHard
Hamming DistanceEasy
Beautiful ArrangementMedium
Sales PersonEasy
Minimum ASCII Delete Sum for Two StringsMedium
Letter Case PermutationMedium
Sum of Distances in TreeHard
Advantage ShuffleMedium
Spiral Matrix IIIMedium
Construct Binary Tree from Preorder and Postorder TraversalMedium
Flip Equivalent Binary TreesMedium
Check Completeness of a Binary TreeMedium
Number of EnclavesMedium
Number of Closed IslandsMedium
Longest ZigZag Path in a Binary TreeMedium
Create Target Array in the Given OrderEasy
Maximum Number of Coins You Can GetMedium
Sum of All Odd Length SubarraysEasy
Special Array With X Elements Greater Than or Equal XEasy
Maximum Repeating SubstringEasy
Count Items Matching a RuleEasy
Single-Threaded CPUMedium
Equal Row and Column PairsMedium
Maximum Subsequence ScoreMedium
Function CompositionEasy
Length of Longest Subarray With at Most K FrequencyMedium
Minimum Cost Walk in Weighted GraphHard
The Number of Beautiful SubsetsMedium
Split Message Based on LimitHard
Find Elements in a Contaminated Binary TreeMedium
Difference Between Element Sum and Digit Sum of an ArrayEasy
Maximum Odd Binary NumberEasy
Sentence Similarity IIIMedium
Average Waiting TimeMedium
Divide Intervals Into Minimum Number of GroupsMedium
Linked List in Binary TreeMedium
Remove Digit From Number to Maximize ResultEasy
Find the Number of Good Pairs IIMedium
Minimum Cost to Equalize ArrayHard
Special Array IEasy
Valid Arrangement of PairsHard
Event EmitterMedium
Find a Corresponding Node of a Binary Tree in a Clone of That TreeEasy
Find Longest Special Substring That Occurs Thrice IMedium
Count Different Palindromic SubsequencesHard
Make Two Arrays Equal by Reversing SubarraysEasy
Range Sum of Sorted Subarray SumsMedium
Minimum Interval to Include Each QueryHard
Maximum Number of Points with CostMedium
Reverse Nodes in Even Length GroupsMedium
Final Array State After K Multiplication Operations IEasy
Maximum Distance in ArraysMedium
Range AdditionMedium
Subarray With Elements Greater Than Varying ThresholdHard
Minimum Insertions to Balance a Parentheses StringMedium
Lexicographically Smallest String After Substring OperationMedium
Count Nodes With the Highest ScoreMedium
Two Sum III - Data structure designEasy
Design Circular DequeMedium
Number of Changing KeysEasy
Word Pattern IIMedium
Random Pick with BlacklistHard
The Most Recent Orders for Each ProductMedium
Complete Binary Tree InserterMedium
Minimum Division Operations to Make Array Non DecreasingMedium
Find if Array Can Be SortedMedium
Length of the Longest Alphabetical Continuous SubstringMedium
Simple Bank SystemMedium
Prime Subtraction OperationMedium
Button with Longest Push TimeEasy
All People Report to the Given ManagerMedium
Manhattan Distances of All Arrangements of PiecesHard
Check If a Word Occurs As a Prefix of Any Word in a SentenceEasy
Largest Element in an Array after Merge OperationsMedium
Maximum Number of K-Divisible ComponentsHard
Minimum Length of String After OperationsMedium
Minimum Operations to Make Array Equal to TargetHard
Maximum Strength of K Disjoint SubarraysHard
Count Days Without MeetingsMedium
Maximum Sum With Exactly K ElementsEasy
Minimum Number of Operations to Make Arrays SimilarHard
Describe the PaintingMedium
Maximize the Minimum Game ScoreHard
Maximum Possible Number by Binary ConcatenationMedium
Maximum XOR After OperationsMedium
Year on Year Growth RateHard
Minimum Score of a Path Between Two CitiesMedium
Select K Disjoint Special SubstringsMedium
Increasing Decreasing StringEasy
Check if Matrix Is X-MatrixEasy
Collecting ChocolatesMedium
Alice and Bob Playing Flower GameMedium
Maximum Value of an Ordered Triplet IIMedium
Merge Two 2D Arrays by Summing ValuesEasy
Find Common Elements Between Two ArraysEasy
Minimum Index of a Valid SplitMedium
Maximum Score of Non-overlapping IntervalsHard
Maximize Greatness of an ArrayMedium
Customer Purchasing Behavior AnalysisMedium
Number of Subarrays That Match a Pattern IMedium
String Without AAA or BBBMedium
Two-Letter Card GameMedium
Zuma GameHard
Pizza Toppings Cost AnalysisMedium
Minimum Cost to Make Arrays IdenticalMedium
Take Gifts From the Richest PileEasy
Tiling a Rectangle with the Fewest SquaresHard
Binary Tree Longest Consecutive SequenceMedium
Maximum Profit From Trading StocksMedium
Count Unguarded Cells in the GridMedium
Smallest Palindromic Rearrangement IMedium
Minimum Number of Swaps to Make the Binary String AlternatingMedium
Magical StringMedium
Minimum Amount of Damage Dealt to BobHard
Count the Number of Arrays with K Matching Adjacent ElementsHard
Painting a Grid With Three Different ColorsHard
Integer ReplacementMedium
Minimum Unique Word AbbreviationHard
Number of Common FactorsEasy
Count Beautiful Splits in an ArrayMedium
Pizza With 3n SlicesHard
Maximum Value of an Ordered Triplet IEasy
Truncate SentenceEasy
Longest Substring with At Most Two Distinct CharactersMedium
Zero Array Transformation IIIMedium
Clumsy FactorialMedium
Count the Number of Computer Unlocking PermutationsMedium
Find Smallest Common Element in All RowsMedium
Longest Subsequence Repeated k TimesHard
Convert Binary Search Tree to Sorted Doubly Linked ListMedium
Range Addition IIEasy
Minimum Cost to Move Chips to The Same PositionEasy
Longest Common Prefix Between Adjacent Strings After RemovalsMedium
Kth Smallest InstructionsHard
Find the Array Concatenation ValueEasy
Maximum Beauty of an Array After Applying OperationMedium
Delete Greatest Value in Each RowEasy
Find Special Substring of Length KEasy
Find Lucky Integer in an ArrayEasy
Minimum Moves to Reach Target ScoreMedium
Delete Duplicate Folders in SystemHard
Game Play Analysis IIEasy
Maximum Depth of N-ary TreeEasy
Diagonal Traverse IIMedium
Stable Subarrays With Equal Boundary and Interior SumMedium
Lowest Common Ancestor of Deepest LeavesMedium
Minimize the Maximum Adjacent Element DifferenceHard
Maximum Number of Visible PointsHard
Inorder Successor in BSTMedium
Find the Largest Palindrome Divisible by KHard
Maximum Difference by Remapping a DigitEasy
Sort the Students by Their Kth ScoreMedium
Remove Stones to Minimize the TotalMedium
Find Valid Pair of Adjacent Digits in StringEasy
Buy Two ChocolatesEasy
Number of Ways to Form a Target String Given a DictionaryHard
Falling SquaresHard
Remove Duplicates From an Unsorted Linked ListMedium
Balanced K-Factor DecompositionMedium
Tallest BillboardHard
Minimum Changes To Make Alternating Binary StringEasy
Reshape Data: MeltEasy
Minimum Number of Work Sessions to Finish the TasksMedium
Maximum Value after InsertionMedium
Minimum Number of Chairs in a Waiting RoomEasy
String Compression IIHard
Smallest Good BaseHard
Alternating Digit SumEasy
Count Substrings That Can Be Rearranged to Contain a String IMedium
The Maze IIMedium
Maximum Size of a Set After RemovalsMedium
Sort Items by Groups Respecting DependenciesHard
Minimum Operations to Write the Letter Y on a GridMedium
Erect the FenceHard
Water Bottles IIMedium
Sorting the SentenceEasy
Decoded String at IndexMedium
SleepEasy
Binary Tree Coloring GameMedium
Sequence ReconstructionMedium
Minimum Suffix FlipsMedium
Longest Mountain in ArrayMedium
Consecutive CharactersEasy
Sum of Perfect Square AncestorsHard
Non-decreasing SubsequencesMedium
Encrypt and Decrypt StringsHard
Minimum Operations to Make Array EqualMedium
Count Collisions on a RoadMedium
Longest Word in DictionaryMedium
Wiggle SortMedium
Minimum Seconds to Equalize a Circular ArrayMedium
Minimum Time for K Connected ComponentsMedium
Print Binary TreeMedium
Count Partitions with Even Sum DifferenceEasy
Smallest Subtree with all the Deepest NodesMedium
Shortest Distance After Road Addition Queries IMedium
Maximize Cyclic Partition ScoreHard
Find All People With SecretHard
Binary Prefix Divisible By 5Easy
Operations on TreeMedium
Implement RouterMedium
Maximum Building HeightHard
Count Good MealsMedium
Non-decreasing ArrayMedium
Design Movie Rental SystemHard
Number of ZigZag Arrays IIHard
Special Array IIMedium
Minimum Non-Zero Product of the Array ElementsMedium
Similar String GroupsHard
Minimum Number of K Consecutive Bit FlipsHard
Painting the WallsHard
Valid Palindrome IIIHard
Check Knight Tour ConfigurationMedium
Count Number of Ways to Place HousesMedium
Delete Columns to Make Sorted IIIHard
Four DivisorsMedium
Lucky Numbers in a MatrixEasy
Sparse Matrix MultiplicationMedium
Restore the Array From Adjacent PairsMedium
Find Original Array From Doubled ArrayMedium
Number of Substrings With Only 1sMedium
Promise Time LimitMedium
Maximum Sum of Three Numbers Divisible by ThreeMedium
Implement Trie II (Prefix Tree)Medium
Minimize the Maximum of Two ArraysMedium
Minimum Value to Get Positive Step by Step SumEasy
Frog Jump IIMedium
Design SpreadsheetMedium
Array NestingMedium
Non-negative Integers without Consecutive OnesHard
3Sum With MultiplicityMedium
Find Greatest Common Divisor of ArrayEasy
Vowels Game in a StringMedium
Reachable Nodes In Subdivided GraphHard
Minimum Addition to Make Integer BeautifulMedium
Minimum Hours of Training to Win a CompetitionEasy
Ant on the BoundaryEasy
Maximum Number of Points From Grid QueriesHard
Unique Morse Code WordsEasy
Longest Univalue PathMedium
Number ComplementEasy
Longest Palindrome by Concatenating Two Letter WordsMedium
Sort Vowels in a StringMedium
Split Strings by SeparatorEasy
Special Positions in a Binary MatrixEasy
Word AbbreviationHard
Find Product Recommendation PairsMedium
Sum of Variable Length SubarraysEasy
Maximum Number of Weeks for Which You Can WorkMedium
Minimum Impossible ORMedium
Minimum Absolute Difference in Sliding SubmatrixMedium
Grid Teleportation TraversalMedium
Equal Sum Grid Partition IMedium
Add Two PromisesEasy
Lexicographically Smallest Generated StringHard
Stone GameMedium
The Time When the Network Becomes IdleMedium
Distribute Elements Into Two Arrays IEasy
Minimum Distance Between Three Equal Elements IIMedium
Properties GraphMedium
Final Array State After K Multiplication Operations IIHard
Reverse Only LettersEasy
Minimum Total Distance TraveledHard
Maximize the Confusion of an ExamMedium
Largest Color Value in a Directed GraphHard
Words Within Two Edits of DictionaryMedium
Put Boxes Into the Warehouse IMedium
Number of Subarrays With LCM Equal to KMedium
Jump Game VIMedium
Design SkiplistHard
Minimum Swaps to Group All 1's TogetherMedium
Pancake SortingMedium
Smallest Index With Equal ValueEasy
Sum of Digits of String After ConvertEasy
Odd Even JumpHard
Student Attendance Record IEasy
Find the Distinct Difference ArrayEasy
Binary Trees With FactorsMedium
Score of ParenthesesMedium
Maximum Total Subarray Value IIHard
Employees Whose Manager Left the CompanyEasy
Build an Array With Stack OperationsMedium
Find Mirror Score of a StringMedium
Kth Smallest Number in Multiplication TableHard
Number of Ways to Assign Edge Weights IIHard
Maximize Sum of Device RatingsMedium
Find Minimum Cost to Remove Array ElementsMedium
Maximize Sum Of Array After K NegationsEasy
Number of Unique Good SubsequencesHard
Collect Coins in a TreeHard

Showing 1968 of 1968 questions