Amazon vs X Interview Questions

Amazon lists 1,968 LeetCode interview questions while X lists 51. They share 39 problems — 2% of Amazon's bank and 76% of X's. Focus on the overlap first, then drill into 1,929 Amazon-only and 12 X-only questions.

Overview

Amazon

1,968 questions

Easy 527Medium 1074Hard 367
X

51 questions

Easy 8Medium 31Hard 12

Preparation Strategy

Step 1 — Shared core: Solve the 39 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Amazon and X.

Step 2 — Company-specific depth: Add Amazon-specific problems like Two Sum, Number of Islands, Longest Substring Without Repeating Characters and X-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: X skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
Amazon
527
X
8
Medium
Amazon
1074
X
31
Hard
Amazon
367
X
12

Top Shared Topics

39 Shared Questions

High-priority problems to practice for both Amazon and X.

ProblemDifficulty
LRU CacheMedium
Trapping Rain WaterHard
Merge IntervalsMedium
Valid ParenthesesEasy
Merge k Sorted ListsHard
Insert Delete GetRandom O(1)Medium
Pascal's TriangleEasy
Reverse Linked ListEasy
Regular Expression MatchingHard
Integer to RomanMedium
Word Break IIHard
Happy NumberEasy
Lowest Common Ancestor of a Binary Search TreeMedium
Trapping Rain Water IIHard
Design TwitterMedium
Implement Trie (Prefix Tree)Medium
Wildcard MatchingHard
Alien DictionaryHard
Number of Connected Components in an Undirected GraphMedium
Permutation SequenceHard
Multiply StringsMedium
Kth Smallest Element in a Sorted MatrixMedium
Minimum Genetic MutationMedium
Max Points on a LineHard
Flatten Nested List IteratorMedium
Remove All Occurrences of a SubstringMedium
The Skyline ProblemHard
Invalid TweetsEasy
Minimum Cost to Connect SticksMedium
Investments in 2016Medium

Showing top 30 of 39 shared problems.

Unique to Amazon (1,929)

Problems in Amazon's list that do not appear at X.

ProblemDifficulty
Two SumEasy
Number of IslandsMedium
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
Group AnagramsMedium
Add Two NumbersMedium
Reorganize StringMedium
3SumMedium
Longest Palindromic SubstringMedium
Container With Most WaterMedium
Median of Two Sorted ArraysHard
Koko Eating BananasMedium

Unique to X (12)

Problems in X's list that do not appear at Amazon.

ProblemDifficulty
Tweet Counts Per FrequencyMedium
One Edit DistanceMedium
Count Student Number in DepartmentsMedium
Rectangles AreaMedium
Number of Black BlocksMedium
Masking Personal InformationMedium
Tree NodeMedium
Design Authentication ManagerMedium
Count Sub IslandsMedium
Minimum Elements to Add to Form a Given SumMedium
Flatten 2D VectorMedium
Largest Plus SignMedium

Frequently Asked Questions

How many LeetCode questions do Amazon and X share?

Amazon and X share 39 LeetCode interview questions. 1929 problems appear only in Amazon's list and 12 appear only in X's list.

What topics overlap most between Amazon and X?

The most common shared topics between Amazon and X are Array (11 shared questions), String (10 shared questions), Hash Table (9 shared questions), Heap (Priority Queue) (6 shared questions), Math (6 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Amazon or X?

Amazon has 527 Easy, 1074 Medium, and 367 Hard questions. X has 8 Easy, 31 Medium, and 12 Hard questions. X has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Amazon and X?

Start with the 39 shared problems since they cover what both companies ask most often. Then add 20 Amazon-specific and 12 X-specific questions to round out your prep.

Explore More