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
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
Top Shared Topics
39 Shared Questions
High-priority problems to practice for both Amazon and X.
Showing top 30 of 39 shared problems.
Unique to Amazon (1,929)
Problems in Amazon's list that do not appear at X.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Number of Islands | Medium |
| Longest Substring Without Repeating Characters | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Group Anagrams | Medium |
| Add Two Numbers | Medium |
| Reorganize String | Medium |
| 3Sum | Medium |
| Longest Palindromic Substring | Medium |
| Container With Most Water | Medium |
| Median of Two Sorted Arrays | Hard |
| Koko Eating Bananas | Medium |
Unique to X (12)
Problems in X's list that do not appear at Amazon.
| Problem | Difficulty |
|---|---|
| Tweet Counts Per Frequency | Medium |
| One Edit Distance | Medium |
| Count Student Number in Departments | Medium |
| Rectangles Area | Medium |
| Number of Black Blocks | Medium |
| Masking Personal Information | Medium |
| Tree Node | Medium |
| Design Authentication Manager | Medium |
| Count Sub Islands | Medium |
| Minimum Elements to Add to Form a Given Sum | Medium |
| Flatten 2D Vector | Medium |
| Largest Plus Sign | Medium |
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.