Amazon — 180 Days
Problem List
Longest Substring Without Repeating Characters
Best Time To Buy And Sell Stock
Lowest Common Ancestor Of A Binary Tree
Maximum Frequency After Subarray Operation
Search In Rotated Sorted Array
Find First And Last Position Of Element In Sorted Array
Analyze User Website Visit Pattern
Single Element In A Sorted Array
Remove Duplicates From Sorted Array
Capacity To Ship Packages Within D Days
Letter Combinations Of A Phone Number
Longest Repeating Character Replacement
Minimum Number Of Primes To Sum To Target
Kth Largest Element In An Array
Largest Rectangle In Histogram
Binary Tree Level Order Traversal
Best Time To Buy And Sell Stock Ii
Serialize And Deserialize Binary Tree
Binary Tree Zigzag Level Order Traversal
Populating Next Right Pointers In Each Node
Maximum K To Sort A Permutation
Minimum Time To Complete All Deliveries
Find The Index Of The First Occurrence In A String
Construct Binary Tree From Preorder And Inorder Traversal
Employees Earning More Than Their Managers
All Nodes Distance K In Binary Tree
Maximum Profit In Job Scheduling
Remove Duplicates From Sorted Array Ii
Two Sum Ii Input Array Is Sorted
First Unique Character In A String
Recyclable And Low Fat Products
Frequency Of The Most Frequent Element
Maximize Ysum By Picking A Triplet Of Distinct Xvalues
Process String With Special Operations I
Number Of Connected Components In An Undirected Graph
Vertical Order Traversal Of A Binary Tree
Check If Array Is Sorted And Rotated
Find The Median Of The Uniqueness Array
Remove Nth Node From End Of List
Convert Sorted Array To Binary Search Tree
Evaluate Reverse Polish Notation
Find K Pairs With Smallest Sums
Managers With At Least 5 Direct Reports
Peak Index In A Mountain Array
Maximum Number Of Events That Can Be Attended
Replace Employee Id With The Unique Identifier
Maximum Number Of Vowels In A Substring Of Given Length
Remove Duplicates From Sorted List
Longest Increasing Subsequence
Count Square Submatrices With All Ones
Maximum Points You Can Obtain From Cards
Longest Continuous Subarray With Absolute Diff Less Than Or Equal To Limit
Furthest Building You Can Reach
Average Time Of Process Per Machine
Substring With Concatenation Of All Words
Lowest Common Ancestor Of A Binary Search Tree
Longest Harmonious Subsequence
Cheapest Flights Within K Stops
Subarrays With K Different Integers
Maximum Subarray Sum With One Deletion
Minimum Number Of Days To Make M Bouquets
Min Cost To Connect All Points
Maximum Difference Between Increasing Elements
Find All Possible Recipes From Given Supplies
Minimum Difference In Sums After Removal Of Elements
Amount Of Time For Binary Tree To Be Infected
Lexicographically Minimum String After Removing Stars
Find The Minimum Area To Cover All Ones Ii
Find Minimum In Rotated Sorted Array
Intersection Of Two Linked Lists
Insert Delete Getrandom O1 Duplicates Allowed
Smallest Range Covering Elements From K Lists
Kth Largest Element In A Stream
Maximize Distance To Closest Person
Minimum Add To Make Parentheses Valid
Customers Who Bought All Products
Critical Connections In A Network
Find N Unique Integers Sum Up To Zero
Magnetic Force Between Two Balls
Customer Who Visited But Did Not Make Any Transactions
Lowest Common Ancestor Of A Binary Tree Iii
Minimum Cost To Reach Destination In Time
Kth Smallest Product Of Two Sorted Arrays
Rearrange Array Elements By Sign
Number Of Zero Filled Subarrays
Using A Robot To Print The Lexicographically Smallest String
Range Product Queries Of Powers
Maximum Sum Of Distinct Subarrays With Length K
Minimize The Maximum Difference Of Pairs
Minimum Operations To Make The Integer Zero
Ways To Express An Integer As Sum Of Powers
Count Elements With Maximum Frequency
Find The Number Of Ways To Place People I
Find The Minimum Area To Cover All Ones I
Reschedule Meetings For Maximum Free Time I
Maximize Subarrays After Removing One Conflicting Pair
Lexicographically Smallest Permutation Greater Than Target
Flatten Binary Tree To Linked List
Design Add And Search Words Data Structure
Binary Tree Vertical Order Traversal
Shortest Distance From All Buildings
K Th Smallest In Lexicographical Order
Flip String To Monotone Increasing
Construct Binary Search Tree From Preorder Traversal
Next Greater Node In Linked List
Remove All Adjacent Duplicates In String
Smallest Subsequence Of Distinct Characters
Shortest Path In Binary Matrix
User Activity For The Past 30 Days I
Find The Smallest Divisor Given A Threshold
Number Of Operations To Make Network Connected
How Many Numbers Are Smaller Than The Current Number
Maximum Sum Bst In Binary Tree
Percentage Of Users Attended A Contest
Maximum Number Of Events That Can Be Attended Ii
Primary Department For Each Employee
Minimum Difference Between Highest And Lowest Of K Scores
Step By Step Directions From A Binary Tree Node To Another
Find Triangular Sum Of An Array
Successful Pairs Of Spells And Potions
Number Of People Aware Of A Secret
Smallest Missing Non Negative Integer After Operations
Minimum Equal Sum Of Two Arrays After Replacing Zeros
Find Missing And Repeated Values
Taking Maximum Energy From The Mystic Dungeon
Maximum Total Damage With Spell Casting
Delete Nodes From Linked List Present In Array
Count The Number Of Substrings With Dominant Ones
Find The Original Typed String I
Find The Original Typed String Ii
Maximum Frequency Of An Element After Performing Operations I
Length Of Longest V Shaped Diagonal Segment
Maximum Unique Subarray Sum After Deletion
Find The Minimum Amount Of Time To Brew Potions
Maximum Total From Optimal Activation Order
Increasing Triplet Subsequence
Longest Substring With At Least K Repeating Characters
Flatten A Multilevel Doubly Linked List
Shortest Unsorted Continuous Subarray
Design Search Autocomplete System
Search In A Binary Search Tree
Insert Into A Binary Search Tree
Maximum Length Of Repeated Subarray
Find Smallest Letter Greater Than Target
All Paths From Source To Target
Shortest Subarray With Sum At Least K
Most Stones Removed With Same Row Or Column
Distribute Coins In Binary Tree
Minimum Score Triangulation Of Polygon
Lexicographically Smallest Equivalent String
Shortest Path With Alternating Colors
Remove All Adjacent Duplicates In String Ii
Queries Quality And Percentage
Minimum Insertion Steps To Make A String Palindrome
Convert Integer To The Sum Of Two No Zero Integers
Check If N And Its Double Exist
Kids With The Greatest Number Of Candies
Max Difference You Can Get From Changing An Integer
Number Of Subsequences That Satisfy The Given Sum Condition
Count Submatrices With All Ones
Number Of Sub Arrays With Odd Sum
Minimum Operations To Reduce X To Zero
Swapping Nodes In A Linked List
The Number Of Employees Which Report To Each Employee
Minimum Number Of People To Teach
Minimum Number Of Operations To Move All Balls To Each Box
Sum Of Beauty Of All Substrings
Minimum Operations To Make The Array Alternating
Minimum Time To Complete Trips
Find All K Distant Indices In An Array
Count Hills And Valleys In An Array
Count Number Of Rectangles Containing Each Point
Count Unreachable Pairs Of Nodes In An Undirected Graph
Smallest Number In Infinite Set
Maximum Tastiness Of Candy Basket
Minimum Operations To Reduce An Integer To 0
Find The Maximum Achievable Number
Longest Non Decreasing Subarray From Two Arrays
Divisible And Non Divisible Sums Difference
Divide Array Into Arrays With Max Difference
Find The Maximum Length Of Valid Subsequence I
Find The Maximum Length Of Valid Subsequence Ii
Find The K Th Character In String Game Ii
Make Array Elements Equal To Zero
Maximum Number Of Distinct Elements After Operations
Search In Rotated Sorted Array Ii
Remove Duplicates From Sorted List Ii
Construct Binary Tree From Inorder And Postorder Traversal
Best Time To Buy And Sell Stock Iii
Different Ways To Add Parentheses
Longest Increasing Path In A Matrix
Maximum Xor Of Two Numbers In An Array
Convert Binary Search Tree To Sorted Doubly Linked List
N Ary Tree Level Order Traversal
Number Of Segments In A String
Find All Duplicates In An Array
Minimum Number Of Arrows To Burst Balloons
Minimum Moves To Equal Array Elements
Longest Palindromic Subsequence
Friend Requests Ii Who Has The Most Friends
Average Of Levels In Binary Tree
Longest Continuous Increasing Subsequence
Number Of Matching Subsequences
Reveal Cards In Increasing Order
Binary Search Tree To Greater Sum Tree
Greatest Common Divisor Of Strings
Minimum Cost To Connect Sticks
Sort Items By Groups Respecting Dependencies
Minimum Cost To Move Chips To The Same Position
Count Number Of Nice Subarrays
Count Servers That Communicate
Shortest Path In A Grid With Obstacles Elimination
Find Numbers With Even Number Of Digits
Minimum Number Of Taps To Open To Water A Garden
Angle Between Hands Of A Clock
Number Of Substrings Containing All Three Characters
Find Lucky Integer In An Array
Longest Subarray Of 1s After Deleting One Element
Maximum Nesting Depth Of The Parentheses
Lexicographically Smallest String After Applying Operations
Minimum Deletions To Make Character Frequencies Unique
Number Of Students Unable To Eat Lunch
Maximum Score From Removing Substrings
Minimum Length Of String After Deleting Similar Ends
Minimum Limit Of Balls In A Bag
Finding The Users Active Minutes
Check If All The Integers In A Range Are Covered
Nearest Exit From Entrance In Maze
Painting A Grid With Three Different Colors
Last Day Where You Can Still Cross
Final Value Of Variable After Performing Operations
Maximum Alternating Subarray Sum
Find The Minimum And Maximum Number Of Nodes Between Critical Points
Count Vowel Substrings Of A String
Minimized Maximum Of Products Distributed To Any Store
Most Beautiful Item For Each Query
Find Subsequence Of Length K With The Largest Sum
Maximum Fruits Harvested After At Most K Steps
Maximum Number Of Words Found In Sentences
Minimum Sum Of Four Digit Number After Splitting Digits
All Ancestors Of A Node In A Directed Acyclic Graph
Maximum Candies Allocated To K Children
Minimum Rounds To Complete All Tasks
Count Nodes Equal To Average Of Subtree
Find Resultant Array After Removing Anagrams
Sum Of Total Strength Of Wizards
Smallest Subarrays With Maximum Bitwise Or
Longest Subarray With Maximum Bitwise And
Largest Positive Integer That Exists With Its Negative
Minimum Fuel Cost To Report To The Capital
Delete Greatest Value In Each Row
Maximum Difference By Remapping A Digit
Maximum Beauty Of An Array After Applying Operation
Count Complete Subarrays In An Array
Distribute Candies Among Children Ii
Maximum Size Of A Set After Removals
Minimum Amount Of Damage Dealt To Bob
Find The K Th Character In String Game I
Minimize The Maximum Adjacent Element Difference
Count Subarrays Of Length Three With A Condition
Find The Lexicographically Largest String From The Box I
Maximum Difference Between Adjacent Elements In A Circular Array
Maximum And Minimum Sums Of At Most Size K Subsequences
Find Valid Pair Of Adjacent Digits In String
Reschedule Meetings For Maximum Free Time Ii
Maximum Difference Between Even And Odd Frequency I
Minimum Pair Removal To Sort Array I
Find Most Frequent Vowel And Consonant
Minimum Operations To Convert All Elements To Zero
Longest Common Prefix Between Adjacent Strings After Removals
Minimum Operations To Equalize Binary String
Sum Of Perfect Square Ancestors
Back to Amazon • LeetCode Index