Amazon LeetCode Problems

100 most frequently asked LeetCode problems in Amazon technical interviews

Difficulty breakdown: 19 Easy, 60 Medium, 21 Hard

Ace Your Amazon Interview

Don't just study these problems — get real-time AI assistance during your actual interview with Interview Solver.

ProblemDiff
Identify the Largest Outlier in an Array
100%
M
Two Sum
86%
E
Task Scheduler
85%
M
Number of Islands
82%
M
LRU Cache
81%
M
Trapping Rain Water
74%
H
Minimum Array Sum
74%
M
Group Anagrams
72%
M
Reorganize String
72%
M
Design an Array Statistics Tracker
72%
H
Best Time to Buy and Sell Stock
69%
E
Analyze User Website Visit Pattern
69%
M
Merge k Sorted Lists
67%
H
Copy List with Random Pointer
67%
M
Top K Frequent Elements
67%
M
Valid Parentheses
64%
E
Merge Intervals
64%
M
Merge Sorted Array
64%
E
Kth Largest Element in an Array
64%
M
Basic Calculator II
64%
M
Minimum Difference in Sums After Removal of Elements
64%
H
3Sum
60%
M
Jump Game
60%
M
LFU Cache
60%
H
Subarray Sum Equals K
60%
M
Merge Strings Alternately
60%
E
Make String a Subsequence Using Cyclic Increments
60%
M
Median of Two Sorted Arrays
56%
H
Zigzag Conversion
56%
M
Letter Combinations of a Phone Number
56%
M
Minimum Window Substring
56%
H
Word Ladder
56%
H
Course Schedule
56%
M
Basic Calculator
56%
H
Coin Change
56%
M
All Nodes Distance K in Binary Tree
56%
M
Two Best Non-Overlapping Events
56%
M
Add Two Numbers
51%
M
Longest Palindromic Substring
51%
M
Palindrome Number
51%
E
Longest Common Prefix
51%
E
Remove Duplicates from Sorted Array
51%
E
Spiral Matrix
51%
M
Implement Queue using Stacks
51%
E
Meeting Rooms II
51%
M
Integer to English Words
51%
H
Insert Delete GetRandom O(1)
51%
M
First Unique Character in a String
51%
E
Flood Fill
51%
E
K Closest Points to Origin
51%
M
Rotting Oranges
51%
M
Capacity To Ship Packages Within D Days
51%
M
Lowest Common Ancestor of a Binary Tree III
51%
M
Create Hello World Function
51%
E
Longest Substring Without Repeating Characters
45%
M
Regular Expression Matching
45%
H
Generate Parentheses
45%
M
Find First and Last Position of Element in Sorted Array
45%
M
Maximum Subarray
45%
M
Largest Rectangle in Histogram
45%
H
Best Time to Buy and Sell Stock II
45%
M
Word Ladder II
45%
H
Reverse Words in a String
45%
M
Find Peak Element
45%
M
House Robber
45%
M
Palindrome Linked List
45%
E
Lowest Common Ancestor of a Binary Tree
45%
M
Product of Array Except Self
45%
M
Sliding Window Maximum
45%
H
Trips and Users
45%
H
Find Median from Data Stream
45%
H
Find K Pairs with Smallest Sums
45%
M
Koko Eating Bananas
45%
M
Subarrays with K Different Integers
45%
H
Maximum Profit in Job Scheduling
45%
H
Find Longest Self-Contained Substring
45%
H
Reverse Integer
36%
M
Integer to Roman
36%
M
Remove Nth Node From End of List
36%
M
Merge Two Sorted Lists
36%
E
Reverse Nodes in k-Group
36%
H
Find the Index of the First Occurrence in a String
36%
E
Search in Rotated Sorted Array
36%
M
Valid Sudoku
36%
M
Combination Sum
36%
M
Pow(x, n)
36%
M
Minimum Path Sum
36%
M
Climbing Stairs
36%
E
Word Search
36%
M
Remove Duplicates from Sorted Array II
36%
M
Binary Tree Zigzag Level Order Traversal
36%
M
Maximum Depth of Binary Tree
36%
E
Populating Next Right Pointers in Each Node
36%
M
Pascal's Triangle
36%
E
Longest Consecutive Sequence
36%
M
Gas Station
36%
M
Word Break
36%
M
Majority Element
36%
E
Best Time to Buy and Sell Stock IV
36%
H
Binary Tree Right Side View
36%
M