Amazon

1938 LeetCode interview questions

Difficulty Distribution

Easy
530
27%
Medium
1057
55%
Hard
351
18%

Top Topics

All Questions

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

Showing 1938 of 1938 questions