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.
Overview
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
Top Shared Topics
190 Shared Questions
High-priority problems to practice for both Amazon and Microsoft.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| LRU Cache | Medium |
| Trapping Rain Water | Hard |
| 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 |
| 3Sum | Medium |
| Longest Palindromic Substring | Medium |
| Merge Intervals | Medium |
| Container With Most Water | Medium |
| Median of Two Sorted Arrays | Hard |
| Koko Eating Bananas | Medium |
| Valid Parentheses | Easy |
| Course Schedule | Medium |
| Merge k Sorted Lists | Hard |
| Longest Common Prefix | Easy |
| Rotting Oranges | Medium |
| Subarray Sum Equals K | Medium |
| Merge Sorted Array | Easy |
| Search in Rotated Sorted Array | Medium |
| Maximum Subarray | Medium |
| Longest Consecutive Sequence | Medium |
| Copy List with Random Pointer | Medium |
| Lowest Common Ancestor of a Binary Tree | Medium |
| Generate Parentheses | Medium |
| Palindrome Number | Easy |
| Word Ladder | Hard |
| Majority Element | Easy |
Showing top 30 of 190 shared problems.
Unique to Amazon (1,778)
Problems in Amazon's list that do not appear at Microsoft.
| Problem | Difficulty |
|---|---|
| Reorganize String | Medium |
| Top K Frequent Elements | Medium |
| Analyze User Website Visit Pattern | Medium |
| Coin Change | Medium |
| Task Scheduler | Medium |
| Insert Delete GetRandom O(1) | Medium |
| Pascal's Triangle | Easy |
| Asteroid Collision | Medium |
| Longest Repeating Character Replacement | Medium |
| Fruit Into Baskets | Medium |
| Identify the Largest Outlier in an Array | Medium |
| Capacity To Ship Packages Within D Days | Medium |
Unique to Microsoft (2)
Problems in Microsoft's list that do not appear at Amazon.
| Problem | Difficulty |
|---|---|
| Transform Array to All Equal Elements | Medium |
| Memoize | Medium |
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.