Amazon vs Microsoft Interview Questions

Amazon lists 1,968 LeetCode interview questions while Microsoft lists 192. They share 190 problems — 10% of Amazon's bank and 99% of Microsoft's. Focus on the overlap first, then drill into 1,778 Amazon-only and 2 Microsoft-only questions.

Read the full Amazon vs Microsoft preparation guide →

Overview

Amazon

1,968 questions

Easy 527Medium 1074Hard 367
Microsoft

192 questions

Easy 55Medium 109Hard 28

Preparation Strategy

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

Step 2 — Company-specific depth: Add Amazon-specific problems like Reorganize String, Top K Frequent Elements, Analyze User Website Visit Pattern and Microsoft-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Amazon
527
Microsoft
55
Medium
Amazon
1074
Microsoft
109
Hard
Amazon
367
Microsoft
28

Top Shared Topics

190 Shared Questions

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

ProblemDifficulty
Two SumEasy
LRU CacheMedium
Trapping Rain WaterHard
Number of IslandsMedium
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
Group AnagramsMedium
Add Two NumbersMedium
3SumMedium
Longest Palindromic SubstringMedium
Merge IntervalsMedium
Container With Most WaterMedium
Median of Two Sorted ArraysHard
Koko Eating BananasMedium
Valid ParenthesesEasy
Course ScheduleMedium
Merge k Sorted ListsHard
Longest Common PrefixEasy
Rotting OrangesMedium
Subarray Sum Equals KMedium
Merge Sorted ArrayEasy
Search in Rotated Sorted ArrayMedium
Maximum SubarrayMedium
Longest Consecutive SequenceMedium
Copy List with Random PointerMedium
Lowest Common Ancestor of a Binary TreeMedium
Generate ParenthesesMedium
Palindrome NumberEasy
Word LadderHard
Majority ElementEasy

Showing top 30 of 190 shared problems.

Unique to Amazon (1,778)

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

ProblemDifficulty
Reorganize StringMedium
Top K Frequent ElementsMedium
Analyze User Website Visit PatternMedium
Coin ChangeMedium
Task SchedulerMedium
Insert Delete GetRandom O(1)Medium
Pascal's TriangleEasy
Asteroid CollisionMedium
Longest Repeating Character ReplacementMedium
Fruit Into BasketsMedium
Identify the Largest Outlier in an ArrayMedium
Capacity To Ship Packages Within D DaysMedium

Unique to Microsoft (2)

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

ProblemDifficulty
Transform Array to All Equal ElementsMedium
MemoizeMedium

Frequently Asked Questions

How many LeetCode questions do Amazon and Microsoft share?

Amazon and Microsoft share 190 LeetCode interview questions. 1778 problems appear only in Amazon's list and 2 appear only in Microsoft's list.

What topics overlap most between Amazon and Microsoft?

The most common shared topics between Amazon and Microsoft are Array (18 shared questions), Hash Table (9 shared questions), String (7 shared questions), Two Pointers (5 shared questions), Dynamic Programming (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Amazon or Microsoft?

Amazon has 527 Easy, 1074 Medium, and 367 Hard questions. Microsoft has 55 Easy, 109 Medium, and 28 Hard questions. Amazon has a higher proportion of Hard problems in its interview set.

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

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

Explore More