← Amazon roles

Interview question tracker

Amazon Coding Interview Questions — Last 6 months

Practice 774 coding questions from Amazon company-tagged LeetCode lists in the source’s last 6 months reporting window. Explore reported interview questions and track your progress.

Company-wide data from Fahad7177-jeh/leetcode-company-wise-questions; see its AGPL-3.0 license. All-time questions also use dataengineervishal/leetcode-companywise-questions (MIT license).

Reporting periods reflect source data, not verified interview dates. Questions can recur; inclusion does not guarantee they will appear in your interview.

Updated weekly · Latest source check: ⓘLatest successful check of the sources used by this company. A check does not necessarily mean the questions changed.

One question at a time.

Top questions 774

DoneQuestionLeetCode
Two SumSolve
Longest Substring Without Repeating CharactersSolve
LRU CacheSolve
3SumSolve
Add Two NumbersSolve
Best Time to Buy and Sell StockSolve
Container With Most WaterSolve
Course ScheduleSolve
Group AnagramsSolve
Koko Eating BananasSolve
Longest Common PrefixSolve
Longest Palindromic SubstringSolve
Median of Two Sorted ArraysSolve
Merge IntervalsSolve
Number of IslandsSolve
Reorganize StringSolve
Subarray Sum Equals KSolve
Trapping Rain WaterSolve
Valid ParenthesesSolve
Analyze User Website Visit PatternSolve
Binary Tree Maximum Path SumSolve
Climbing StairsSolve
Copy List with Random PointerSolve
Course Schedule IISolve
Edit DistanceSolve
Find First and Last Position of Element in Sorted ArraySolve
Find Median from Data StreamSolve
Find Peak ElementSolve
First Missing PositiveSolve
Generate ParenthesesSolve
House RobberSolve
Jump GameSolve
Jump Game IISolve
Letter Combinations of a Phone NumberSolve
Longest Consecutive SequenceSolve
Lowest Common Ancestor of a Binary TreeSolve
Majority ElementSolve
Maximum Frequency After Subarray OperationSolve
Maximum SubarraySolve
Meeting Rooms IISolve
Merge k Sorted ListsSolve
Merge Sorted ArraySolve
Merge Two Sorted ListsSolve
Minimum Number of Primes to Sum to TargetSolve
Minimum Time to Complete All DeliveriesSolve
Minimum Window SubstringSolve
N-QueensSolve
Next PermutationSolve
Palindrome NumberSolve
Pascal's TriangleSolve
Product of Array Except SelfSolve
Remove Duplicates from Sorted ArraySolve
Reverse Linked ListSolve
Roman to IntegerSolve
Rotting OrangesSolve
Search a 2D MatrixSolve
Search in Rotated Sorted ArraySolve
Single Element in a Sorted ArraySolve
Sliding Window MaximumSolve
Top K Frequent ElementsSolve
Word LadderSolve
Word SearchSolve
Asteroid CollisionSolve
Balanced Binary TreeSolve
Best Time to Buy and Sell Stock IISolve
Binary Tree Level Order TraversalSolve
Binary Tree Right Side ViewSolve
Binary Tree Zigzag Level Order TraversalSolve
CandySolve
Capacity To Ship Packages Within D DaysSolve
Coin ChangeSolve
Combine Two TablesSolve
Concatenated WordsSolve
Construct Binary Tree from Preorder and Inorder TraversalSolve
Contains DuplicateSolve
Daily TemperaturesSolve
Diameter of Binary TreeSolve
Evaluate DivisionSolve
Find the Duplicate NumberSolve
Find the Index of the First Occurrence in a StringSolve
First Unique Character in a StringSolve
Flood FillSolve
Fruit Into BasketsSolve
Gas StationSolve
Happy NumberSolve
House Robber IIISolve
Insert Delete GetRandom O(1)Solve
Intersection of Two ArraysSolve
Kth Largest Element in an ArraySolve
Largest NumberSolve
Largest Rectangle in HistogramSolve
LFU CacheSolve
Linked List CycleSolve
Longest Repeating Character ReplacementSolve
Max Consecutive Ones IIISolve
Maximum K to Sort a PermutationSolve
Maximum Profit in Job SchedulingSolve
Min StackSolve
Missing NumberSolve
Move ZeroesSolve
Next Greater Element IISolve
Odd Even Linked ListSolve
Pacific Atlantic Water FlowSolve
Partition Equal Subset SumSolve
PermutationsSolve
Populating Next Right Pointers in Each NodeSolve
Recyclable and Low Fat ProductsSolve
Regular Expression MatchingSolve
Remove ElementSolve
Reverse IntegerSolve
Reverse Nodes in k-GroupSolve
Reverse Words in a StringSolve
Rotate ArraySolve
Rotate ImageSolve
Search Insert PositionSolve
Serialize and Deserialize Binary TreeSolve
Single NumberSolve
Sort ColorsSolve
Spiral MatrixSolve
String CompressionSolve
String to Integer (atoi)Solve
SubsetsSolve
Sudoku SolverSolve
Unique PathsSolve
Valid AnagramSolve
Valid SudokuSolve
Word BreakSolve
Word Search IISolve
Zigzag ConversionSolve
01 MatrixSolve
3Sum ClosestSolve
4SumSolve
Add BinarySolve
All Nodes Distance K in Binary TreeSolve
Amount of Time for Binary Tree to Be InfectedSolve
Article Views ISolve
Assign CookiesSolve
Average Time of Process per MachineSolve
Avoid Flood in The CitySolve
Basic CalculatorSolve
Basic Calculator IISolve
Binary SearchSolve
Binary Tree CamerasSolve
Binary Tree Inorder TraversalSolve
Bus RoutesSolve
Cheapest Flights Within K StopsSolve
Check if Array Is Sorted and RotatedSolve
Combination SumSolve
CombinationsSolve
Confirmation RateSolve
Contains Duplicate IISolve
Convert Sorted Array to Binary Search TreeSolve
Count Bowl SubarraysSolve
Count PrimesSolve
Count Square Submatrices with All OnesSolve
Count the Number of Substrings With Dominant OnesSolve
Course Schedule IIISolve
Create Hello World FunctionSolve
Critical Connections in a NetworkSolve
Decode StringSolve
Decode WaysSolve
Delete Node in a Linked ListSolve
Design Tic-Tac-ToeSolve
Diagonal TraverseSolve
Distinct SubsequencesSolve
Divide Two IntegersSolve
Dungeon GameSolve
Employees Earning More Than Their ManagersSolve
Evaluate Reverse Polish NotationSolve
Exclusive Time of FunctionsSolve
Fibonacci NumberSolve
Find Customer RefereeSolve
Find Eventual Safe StatesSolve
Find K Closest ElementsSolve
Find K Pairs with Smallest SumsSolve
Find Minimum in Rotated Sorted ArraySolve
Find the CelebritySolve
Find the DifferenceSolve
Find the Median of the Uniqueness ArraySolve
Find the Minimum Area to Cover All Ones IISolve
Fizz BuzzSolve
Frequency of the Most Frequent ElementSolve
Fruits Into Baskets IISolve
Furthest Building You Can ReachSolve
Game of LifeSolve
House Robber IISolve
Implement Stack using QueuesSolve
Integer to English WordsSolve
Integer to RomanSolve
Invert Binary TreeSolve
Isomorphic StringsSolve
Kth Smallest Element in a BSTSolve
Length of Last WordSolve
Lexicographically Minimum String After Removing StarsSolve
Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitSolve
Longest Harmonious SubsequenceSolve
Longest Increasing SubsequenceSolve
Longest Valid ParenthesesSolve
Lowest Common Ancestor of a Binary Search TreeSolve
Majority Element IISolve
Making A Large IslandSolve
Managers with at Least 5 Direct ReportsSolve
Max Area of IslandSolve
Max Consecutive OnesSolve
Maximal RectangleSolve
Maximal SquareSolve
Maximize Y‐Sum by Picking a Triplet of Distinct X‐ValuesSolve
Maximum Depth of Binary TreeSolve
Maximum Difference Between Increasing ElementsSolve
Maximum Erasure ValueSolve
Maximum Number of Events That Can Be AttendedSolve
Maximum Points You Can Obtain from CardsSolve
Maximum Product SubarraySolve
Maximum Subarray Sum with One DeletionSolve
Maximum Units on a TruckSolve
Maximum Width of Binary TreeSolve
Middle of the Linked ListSolve
Min Cost to Connect All PointsSolve
Minimum Falling Path SumSolve
Minimum Number of Days to Make m BouquetsSolve
Minimum Path SumSolve
Minimum Size Subarray SumSolve
Next Greater Element ISolve
Non-overlapping IntervalsSolve
Number of Connected Components in an Undirected GraphSolve
Number of ProvincesSolve
Online Stock SpanSolve
Open the LockSolve
Palindrome Linked ListSolve
Palindrome PartitioningSolve
Palindromic SubstringsSolve
Partition LabelsSolve
Peak Index in a Mountain ArraySolve
Permutation in StringSolve
Plates Between CandlesSolve
Pow(x, n)Solve
Power of ThreeSolve
Power of TwoSolve
Predict the WinnerSolve
Process String with Special Operations ISolve
Product Sales Analysis IIISolve
Random Pick with WeightSolve
Rank ScoresSolve
Ransom NoteSolve
Recover Binary Search TreeSolve
Remove Duplicates from Sorted Array IISolve
Remove Duplicates from Sorted ListSolve
Remove K DigitsSolve
Remove Nth Node From End of ListSolve
Reorder ListSolve
Repeated Substring PatternSolve
Replace Employee ID With The Unique IdentifierSolve
Reverse Linked List IISolve
Reverse PairsSolve
Rising TemperatureSolve
Rotate ListSolve
Rotate StringSolve
Russian Doll EnvelopesSolve
Same TreeSolve
Search a 2D Matrix IISolve
Search Suggestions SystemSolve
Second Highest SalarySolve
Set Matrix ZeroesSolve
Simplify PathSolve
Single Number IISolve
Snakes and LaddersSolve
Sort ListSolve
Split Array Largest SumSolve
Sqrt(x)Solve
Subarrays with K Different IntegersSolve
Subsets IISolve
Substring with Concatenation of All WordsSolve
Sum of Subarray MinimumsSolve
Sum of Subarray RangesSolve
Surrounded RegionsSolve
Swim in Rising WaterSolve
Target SumSolve
Task SchedulerSolve
Text JustificationSolve
Time Based Key-Value StoreSolve
Top K Frequent WordsSolve
Trapping Rain Water IISolve
TriangleSolve
Two Sum II - Input Array Is SortedSolve
Unique Binary Search TreesSolve
Unique Number of OccurrencesSolve
Valid PalindromeSolve
Valid Palindrome IISolve
Valid Triangle NumberSolve
Validate Binary Search TreeSolve
Vertical Order Traversal of a Binary TreeSolve
Word Break IISolve
2 Keys KeyboardSolve
Accounts MergeSolve
Add DigitsSolve
Add StringsSolve
Add Two IntegersSolve
Add Two Numbers IISolve
Alien DictionarySolve
All O`one Data StructureSolve
All Paths From Source to TargetSolve
Arranging CoinsSolve
Array PartitionSolve
Average Selling PriceSolve
Base 7Solve
Basic Calculator IIISolve
Best Poker HandSolve
Big CountriesSolve
Binary Search Tree IteratorSolve
Binary Subarrays With SumSolve
Binary Tree Vertical Order TraversalSolve
Boats to Save PeopleSolve
Build Array from PermutationSolve
Bulb SwitcherSolve
Burst BalloonsSolve
Can I WinSolve
Can Place FlowersSolve
Car FleetSolve
Clone GraphSolve
Coin Change IISolve
Combination Sum IISolve
Combination Sum IIISolve
Consecutive NumbersSolve
Construct Binary Search Tree from Preorder TraversalSolve
Contiguous ArraySolve
Convert Integer to the Sum of Two No-Zero IntegersSolve
Count and SaySolve
Count Binary SubstringsSolve
Count Elements With Maximum FrequencySolve
Count Good NumbersSolve
Count Hills and Valleys in an ArraySolve
Count Number of Rectangles Containing Each PointSolve
Count Subarrays With Median KSolve
Count Unreachable Pairs of Nodes in an Undirected GraphSolve
Count Zero Request ServersSolve
Customer Who Visited but Did Not Make Any TransactionsSolve
Customers Who Bought All ProductsSolve
Defanging an IP AddressSolve
Delete and EarnSolve
Delete Duplicate EmailsSolve
Delete Node in a BSTSolve
Delete Nodes From Linked List Present in ArraySolve
Department Top Three SalariesSolve
Design Add and Search Words Data StructureSolve
Design Circular QueueSolve
Design File SystemSolve
Design Hit CounterSolve
Design In-Memory File SystemSolve
Design Linked ListSolve
Design Parking SystemSolve
Design Search Autocomplete SystemSolve
Design Task ManagerSolve
Design TwitterSolve
Detonate the Maximum BombsSolve
Distribute Coins in Binary TreeSolve
Divisible and Non-divisible Sums DifferenceSolve
Escape the Spreading FireSolve
Even Odd TreeSolve
Excel Sheet Column TitleSolve
Exchange SeatsSolve
Factorial Trailing ZeroesSolve
Filter Elements from ArraySolve
Find All Anagrams in a StringSolve
Find All K-Distant Indices in an ArraySolve
Find All Possible Recipes from Given SuppliesSolve
Find Duplicate File in SystemSolve
Find if Path Exists in GraphSolve
Find Missing and Repeated ValuesSolve
Find N Unique Integers Sum up to ZeroSolve
Find Pivot IndexSolve
Find Smallest Letter Greater Than TargetSolve
Find the Highest AltitudeSolve
Find the K-Sum of an ArraySolve
Find the K-th Character in String Game IISolve
Find the Maximum Achievable NumberSolve
Find the Maximum Length of Valid Subsequence ISolve
Find the Maximum Length of Valid Subsequence IISolve
Find the Minimum Amount of Time to Brew PotionsSolve
Find the Minimum Area to Cover All Ones ISolve
Find the Number of Ways to Place People ISolve
Find the Original Typed String ISolve
Find the Original Typed String IISolve
Find the Smallest Divisor Given a ThresholdSolve
Find Triangular Sum of an ArraySolve
Find X-Sum of All K-Long Subarrays ISolve
First Bad VersionSolve
Flatten a Multilevel Doubly Linked ListSolve
Flatten Binary Tree to Linked ListSolve
Flatten Nested List IteratorSolve
Flip String to Monotone IncreasingSolve
Fraction to Recurring DecimalSolve
Frog JumpSolve
Fruits Into Baskets IIISolve
GCD Sort of an ArraySolve
H-IndexSolve
HeatersSolve
How Many Numbers Are Smaller Than the Current NumberSolve
Immediate Food Delivery IISolve
Implement Trie (Prefix Tree)Solve
Insert Delete GetRandom O(1) - Duplicates allowedSolve
Insert IntervalSolve
Insertion Sort ListSolve
Intersection of Two Linked ListsSolve
Investments in 2016Solve
Is Graph Bipartite?Solve
Is SubsequenceSolve
Island PerimeterSolve
Jewels and StonesSolve
K Closest Points to OriginSolve
K-th Symbol in GrammarSolve
Keys and RoomsSolve
Kids With the Greatest Number of CandiesSolve
Kth Largest Element in a StreamSolve
Kth Missing Positive NumberSolve
Kth Smallest Product of Two Sorted ArraysSolve
Largest Triangle AreaSolve
Last Stone WeightSolve
Lemonade ChangeSolve
Length of Longest V-Shaped Diagonal SegmentSolve
Lexicographically Smallest Equivalent StringSolve
Lexicographically Smallest Permutation Greater Than TargetSolve
Linked List Cycle IISolve
Logger Rate LimiterSolve
Longest Common SubsequenceSolve
Longest Increasing Path in a MatrixSolve
Longest Non-decreasing Subarray From Two ArraysSolve
Longest PalindromeSolve
Lowest Common Ancestor of a Binary Tree IIISolve
Magnetic Force Between Two BallsSolve
Make Array Elements Equal to ZeroSolve
Max Difference You Can Get From Changing an IntegerSolve
Maximize Subarrays After Removing One Conflicting PairSolve
Maximum Average Pass RatioSolve
Maximum Average Subarray ISolve
Maximum Balanced ShipmentsSolve
Maximum Frequency of an Element After Performing Operations ISolve
Maximum Frequency StackSolve
Maximum Length of Repeated SubarraySolve
Maximum Number of Distinct Elements After OperationsSolve
Maximum Number of Events That Can Be Attended IISolve
Maximum Number of Operations to Move Ones to the EndSolve
Maximum Sum BST in Binary TreeSolve
Maximum Sum of Distinct Subarrays With Length KSolve
Maximum Tastiness of Candy BasketSolve
Maximum Total Damage With Spell CastingSolve
Maximum Total from Optimal Activation OrderSolve
Maximum Unique Subarray Sum After DeletionSolve
Meeting RoomsSolve
Meeting Rooms IIISolve
Merge Strings AlternatelySolve
Min Cost Climbing StairsSolve
Minimize the Maximum Difference of PairsSolve
Minimum Add to Make Parentheses ValidSolve
Minimum Cost to Reach Destination in TimeSolve
Minimum Difference Between Highest and Lowest of K ScoresSolve
Minimum Difference in Sums After Removal of ElementsSolve
Minimum Equal Sum of Two Arrays After Replacing ZerosSolve
Minimum Height TreesSolve
Minimum Insertion Steps to Make a String PalindromeSolve
Minimum Number of People to TeachSolve
Minimum Operations to Convert All Elements to ZeroSolve
Minimum Operations to Make the Integer ZeroSolve
Minimum Operations to Reduce an Integer to 0Solve
Minimum Operations to Reduce X to ZeroSolve
Minimum Score Triangulation of PolygonSolve
Minimum Time to Complete TripsSolve
Mirror ReflectionSolve
Monthly Transactions ISolve
Most Stones Removed with Same Row or ColumnSolve
Movie RatingSolve
Multiply StringsSolve
N-Queens IISolve
N-th Tribonacci NumberSolve
New 21 GameSolve
Next Greater Element IIISolve
Nth Highest SalarySolve
Nth Magical NumberSolve
Number of 1 BitsSolve
Number of AtomsSolve
Number of Digit OneSolve
Number of Operations to Make Network ConnectedSolve
Number of People Aware of a SecretSolve
Number of Recent CallsSolve
Number of Subsequences That Satisfy the Given Sum ConditionSolve
Number of Zero-Filled SubarraysSolve
Out of Boundary PathsSolve
Palindrome Partitioning IISolve
Partition ListSolve
Path SumSolve
Path Sum IISolve
Percentage of Users Attended a ContestSolve
Perfect NumberSolve
Permutations IISolve
Plus OneSolve
Possible BipartitionSolve
Power Grid MaintenanceSolve
Power of FourSolve
Primary Department for Each EmployeeSolve
Queries Quality and PercentageSolve
Range Product Queries of PowersSolve
Range Sum Query - ImmutableSolve
Range Sum Query 2D - ImmutableSolve
Rearrange Array Elements by SignSolve
Reconstruct ItinerarySolve
Remove All Adjacent Duplicates In StringSolve
Remove All Adjacent Duplicates in String IISolve
Remove Duplicate LettersSolve
Remove Linked List ElementsSolve
Removing Stars From a StringSolve
Reordered Power of 2Solve
Reschedule Meetings for Maximum Free Time ISolve
Restaurant GrowthSolve
Reverse StringSolve
Reverse Vowels of a StringSolve
Reverse Words in a String IIISolve
Row With Maximum OnesSolve
Running Sum of 1d ArraySolve
Score of a StringSolve
Scramble StringSolve
Search in a Binary Search TreeSolve
Search in Rotated Sorted Array IISolve
Set MismatchSolve
Shortest Common SupersequenceSolve
Shortest Distance from All BuildingsSolve
Shortest PalindromeSolve
Shortest Path in Binary MatrixSolve
Shortest Path with Alternating ColorsSolve
Shortest Subarray with Sum at Least KSolve
Shortest Unsorted Continuous SubarraySolve
Smallest Missing Non-negative Integer After OperationsSolve
Smallest Number in Infinite SetSolve
Smallest Range Covering Elements from K ListsSolve
Smallest Subsequence of Distinct CharactersSolve
Sort Array By ParitySolve
Sort Characters By FrequencySolve
Sort Matrix by DiagonalsSolve
Soup ServingsSolve
Spiral Matrix IISolve
Squares of a Sorted ArraySolve
Step-By-Step Directions From a Binary Tree Node to AnotherSolve
Subarray Product Less Than KSolve
Subarray Sums Divisible by KSolve
Successful Pairs of Spells and PotionsSolve
Sum of Beauty of All SubstringsSolve
Sum of Two IntegersSolve
Sum of Unique ElementsSolve
Sum Root to Leaf NumbersSolve
Summary RangesSolve
Swap Nodes in PairsSolve
Swapping Nodes in a Linked ListSolve
Symmetric TreeSolve
Taking Maximum Energy From the Mystic DungeonSolve
The Number of Employees Which Report to Each EmployeeSolve
To Be Or Not To BeSolve
Transpose MatrixSolve
Ugly NumberSolve
Unique Binary Search Trees IISolve
Unique Paths IISolve
User Activity for the Past 30 Days ISolve
Using a Robot to Print the Lexicographically Smallest StringSolve
Valid NumberSolve
Valid Parenthesis StringSolve
Valid WordSolve
Valid Word AbbreviationSolve
Vowel SpellcheckerSolve
Ways to Express an Integer as Sum of PowersSolve
Wildcard MatchingSolve
Word PatternSolve
All Ancestors of a Node in a Directed Acyclic GraphSolve
Angle Between Hands of a ClockSolve
Apply Discount to PricesSolve
Array Prototype LastSolve
Average of Levels in Binary TreeSolve
Backspace String CompareSolve
Best Meeting PointSolve
Best Time to Buy and Sell Stock IIISolve
Best Time to Buy and Sell Stock VSolve
Binary Search Tree to Greater Sum TreeSolve
Bitwise AND of Numbers RangeSolve
Bulls and CowsSolve
Buy Two ChocolatesSolve
Cache With Time LimitSolve
Car PoolingSolve
Check if All Characters Have Equal Number of OccurrencesSolve
Check If N and Its Double ExistSolve
Cherry PickupSolve
Compare Version NumbersSolve
Concatenation of ArraySolve
Construct Binary Tree from Inorder and Postorder TraversalSolve
Contains Duplicate IIISolve
Continuous Subarray SumSolve
Convert BST to Greater TreeSolve
Count Complete Subarrays in an ArraySolve
Count Nodes Equal to Average of SubtreeSolve
Count Number of Nice SubarraysSolve
Count Subarrays of Length Three With a ConditionSolve
Count Submatrices With All OnesSolve
Count Vowel Substrings of a StringSolve
CounterSolve
Create a DataFrame from ListSolve
Defuse the BombSolve
Degree of an ArraySolve
Delete Greatest Value in Each RowSolve
Department Highest SalarySolve
Design Browser HistorySolve
Design Excel Sum FormulaSolve
Design HashMapSolve
Distribute Candies Among Children IISolve
Divisor GameSolve
Duplicate EmailsSolve
Employee Free TimeSolve
Encode and Decode StringsSolve
Excel Sheet Column NumberSolve
Final Value of Variable After Performing OperationsSolve
Find a Peak Element IISolve
Find All Duplicates in an ArraySolve
Find All Numbers Disappeared in an ArraySolve
Find Closest PersonSolve
Find Common CharactersSolve
Find in Mountain ArraySolve
Find Lucky Integer in an ArraySolve
Find Most Frequent Vowel and ConsonantSolve
Find Numbers with Even Number of DigitsSolve
Find Resultant Array After Removing AnagramsSolve
Find Subsequence of Length K With the Largest SumSolve
Find the K-th Character in String Game ISolve
Find the Lexicographically Largest String From the Box ISolve
Find the Town JudgeSolve
Find Valid Pair of Adjacent Digits in StringSolve
Finding the Users Active MinutesSolve
Fix Names in a TableSolve
Game Play Analysis ISolve
Game Play Analysis IVSolve
Gray CodeSolve
Greatest Common Divisor of StringsSolve
Hamming DistanceSolve
Human Traffic of StadiumSolve
Image SmootherSolve
Implement Queue using StacksSolve
Increasing Triplet SubsequenceSolve
Insert into a Binary Search TreeSolve
Invalid TransactionsSolve
Invalid TweetsSolve
Jump Game IIISolve
K-th Smallest in Lexicographical OrderSolve
Largest Divisible SubsetSolve
Largest Positive Integer That Exists With Its NegativeSolve
Last Day Where You Can Still CrossSolve
Last Person to Fit in the BusSolve
Last Stone Weight IISolve
Leaf-Similar TreesSolve
Lexicographical NumbersSolve
Lexicographically Smallest String After Applying OperationsSolve
Longest Common Prefix Between Adjacent Strings After RemovalsSolve
Longest Palindromic SubsequenceSolve
Longest String ChainSolve
Longest Subarray of 1's After Deleting One ElementSolve
Longest Subarray With Maximum Bitwise ANDSolve
Longest Substring with At Least K Repeating CharactersSolve
Loud and RichSolve
Make The String GreatSolve
Max StackSolve
Maximize Distance to Closest PersonSolve
Maximize the Minimum Powered CitySolve
Maximum 69 NumberSolve
Maximum Alternating Subarray SumSolve
Maximum and Minimum Sums of at Most Size K SubsequencesSolve
Maximum Beauty of an Array After Applying OperationSolve
Maximum Candies Allocated to K ChildrenSolve
Maximum Difference Between Adjacent Elements in a Circular ArraySolve
Maximum Difference Between Even and Odd Frequency ISolve
Maximum Difference by Remapping a DigitSolve
Maximum Fruits Harvested After at Most K StepsSolve
Maximum Length of Pair ChainSolve
Maximum Number of Vowels in a Substring of Given LengthSolve
Maximum Number of Words Found in SentencesSolve
Maximum Score From Removing SubstringsSolve
Maximum Size of a Set After RemovalsSolve
Maximum XOR of Two Numbers in an ArraySolve
Minimize the Maximum Adjacent Element DifferenceSolve
Minimized Maximum of Products Distributed to Any StoreSolve
Minimum Cost For TicketsSolve
Minimum Cost to Connect SticksSolve
Minimum Cost to Move Chips to The Same PositionSolve
Minimum Deletions to Make Character Frequencies UniqueSolve
Minimum Depth of Binary TreeSolve
Minimum Difficulty of a Job ScheduleSolve
Minimum Distance Between BST NodesSolve
Minimum Fuel Cost to Report to the CapitalSolve
Minimum Genetic MutationSolve
Minimum Length of String After Deleting Similar EndsSolve
Minimum Limit of Balls in a BagSolve
Minimum Moves to Equal Array ElementsSolve
Minimum Number of Arrows to Burst BalloonsSolve
Minimum Number of Groups to Create a Valid AssignmentSolve
Minimum Number of Increments on Subarrays to Form a Target ArraySolve
Minimum Number of Moves to Make PalindromeSolve
Minimum Number of Operations to Make All Array Elements Equal to 1Solve
Minimum Number of Operations to Move All Balls to Each BoxSolve
Minimum Number of Refueling StopsSolve
Minimum Number of Taps to Open to Water a GardenSolve
Minimum Operations to Equalize Binary StringSolve
Minimum Operations to Make the Array AlternatingSolve
Minimum Pair Removal to Sort Array ISolve
Minimum Rounds to Complete All TasksSolve
Minimum Sum of Four Digit Number After Splitting DigitsSolve
Most Beautiful Item for Each QuerySolve
Most Common WordSolve
My Calendar ISolve
N-ary Tree Level Order TraversalSolve
Nearest Exit from Entrance in MazeSolve
Network Delay TimeSolve
Next Greater Node In Linked ListSolve
Nim GameSolve
Not Boring MoviesSolve
Number of Distinct IslandsSolve
Number of Distinct Islands IISolve
Number of Good PathsSolve
Number of Islands IISolve
Number of Matching SubsequencesSolve
Number of Students Unable to Eat LunchSolve
Number of Substrings Containing All Three CharactersSolve
Number of Ways to Split ArraySolve
Numbers With Same Consecutive DifferencesSolve
Optimal Account BalancingSolve
Parallel CoursesSolve
Parsing A Boolean ExpressionSolve
Partition Array for Maximum SumSolve
Partition Array Into Two Arrays to Minimize Sum DifferenceSolve
Patching ArraySolve
Path Sum IIISolve
Path With Minimum EffortSolve
Permutation SequenceSolve
Product Price at a Given DateSolve
Range Sum Query 2D - MutableSolve
Relative RanksSolve
Remove Duplicates from Sorted List IISolve
Reorder Data in Log FilesSolve
Replace Elements with Greatest Element on Right SideSolve
Reschedule Meetings for Maximum Free Time IISolve
Reshape Data: MeltSolve
Restore IP AddressesSolve
Reveal Cards In Increasing OrderSolve
Reverse BitsSolve
Richest Customer WealthSolve
Robot Bounded In CircleSolve
Sales Analysis IIISolve
Shortest BridgeSolve
Shortest Path in a Grid with Obstacles EliminationSolve
Shuffle the ArraySolve
SleepSolve
Sliding Window MedianSolve
Smallest Subarrays With Maximum Bitwise ORSolve
Snapshot ArraySolve
Sort Array By Parity IISolve
Sort Items by Groups Respecting DependenciesSolve
Sorting the SentenceSolve
Strange PrinterSolve
Stream of CharactersSolve
Students and ExaminationsSolve
Subtree of Another TreeSolve
Sum of Perfect Square AncestorsSolve
Sum of Square NumbersSolve
Sum of Total Strength of WizardsSolve
The kth Factor of nSolve
The Skyline ProblemSolve
Triangle JudgementSolve
Trim a Binary Search TreeSolve
Two Sum IV - Input is a BSTSolve
Unique 3-Digit Even NumbersSolve
Unique Paths IIISolve
Valid Mountain ArraySolve
Water Bottles IISolve
Word Ladder IISolve