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.

Read the full Amazon vs Twitter preparation guide →

Overview

Amazon

1,968 questions

Easy 527Medium 1074Hard 367
Twitter

53 questions

Easy 8Medium 33Hard 12

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

Easy
Amazon
527
Twitter
8
Medium
Amazon
1074
Twitter
33
Hard
Amazon
367
Twitter
12

Top Shared Topics

41 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Trapping Rain WaterHard
Merge IntervalsMedium
Valid ParenthesesEasy
Merge k Sorted ListsHard
Rotting OrangesMedium
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
Random Pick with WeightMedium
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

Showing top 30 of 41 shared problems.

Unique to Amazon (1,927)

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

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 Twitter (12)

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

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

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.

Explore More