Amazon vs Twitter Interview Questions
Amazon lists 1,968 LeetCode interview questions while Twitter lists 53. They share 41 problems — 2% of Amazon's bank and 77% of Twitter's. Focus on the overlap first, then drill into 1,927 Amazon-only and 12 Twitter-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 41 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Amazon and Twitter.
Step 2 — Company-specific depth: Add Amazon-specific problems like Two Sum, Number of Islands, Longest Substring Without Repeating Characters and Twitter-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: Twitter skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
41 Shared Questions
High-priority problems to practice for both Amazon and Twitter.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Trapping Rain Water | Hard |
| Merge Intervals | Medium |
| Valid Parentheses | Easy |
| Merge k Sorted Lists | Hard |
| Rotting Oranges | Medium |
| Insert Delete GetRandom O(1) | Medium |
| Pascal's Triangle | Easy |
| Reverse Linked List | Easy |
| Regular Expression Matching | Hard |
| Integer to Roman | Medium |
| Word Break II | Hard |
| Happy Number | Easy |
| Lowest Common Ancestor of a Binary Search Tree | Medium |
| Random Pick with Weight | Medium |
| Trapping Rain Water II | Hard |
| Design Twitter | Medium |
| Implement Trie (Prefix Tree) | Medium |
| Wildcard Matching | Hard |
| Alien Dictionary | Hard |
| Number of Connected Components in an Undirected Graph | Medium |
| Permutation Sequence | Hard |
| Multiply Strings | Medium |
| Kth Smallest Element in a Sorted Matrix | Medium |
| Minimum Genetic Mutation | Medium |
| Max Points on a Line | Hard |
| Flatten Nested List Iterator | Medium |
| Remove All Occurrences of a Substring | Medium |
| The Skyline Problem | Hard |
| Invalid Tweets | Easy |
Showing top 30 of 41 shared problems.
Unique to Amazon (1,927)
Problems in Amazon's list that do not appear at Twitter.
| 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 Twitter (12)
Problems in Twitter's list that do not appear at Amazon.
| Problem | Difficulty |
|---|---|
| One Edit Distance | Medium |
| Flatten 2D Vector | Medium |
| Tweet Counts Per Frequency | Medium |
| Count Student Number in Departments | Medium |
| Rectangles Area | Medium |
| Tree Node | Medium |
| Number of Black Blocks | Medium |
| Masking Personal Information | Medium |
| Design Authentication Manager | Medium |
| Minimum Elements to Add to Form a Given Sum | Medium |
| Count Sub Islands | Medium |
| Largest Plus Sign | Medium |
Frequently Asked Questions
How many LeetCode questions do Amazon and Twitter share?
Amazon and Twitter share 41 LeetCode interview questions. 1927 problems appear only in Amazon's list and 12 appear only in Twitter's list.
What topics overlap most between Amazon and Twitter?
The most common shared topics between Amazon and Twitter are Array (12 shared questions), String (10 shared questions), Hash Table (9 shared questions), Math (7 shared questions), Design (5 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Amazon or Twitter?
Amazon has 527 Easy, 1074 Medium, and 367 Hard questions. Twitter has 8 Easy, 33 Medium, and 12 Hard questions. Twitter has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Amazon and Twitter?
Start with the 41 shared problems since they cover what both companies ask most often. Then add 20 Amazon-specific and 12 Twitter-specific questions to round out your prep.