Microsoft vs Twitter Interview Questions
Microsoft lists 192 LeetCode interview questions while Twitter lists 53. They share 13 problems — 7% of Microsoft's bank and 25% of Twitter's. Focus on the overlap first, then drill into 179 Microsoft-only and 40 Twitter-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 13 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Microsoft and Twitter.
Step 2 — Company-specific depth: Add Microsoft-specific problems like Two Sum, Merge Sorted Array, 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
13 Shared Questions
High-priority problems to practice for both Microsoft and Twitter.
| Problem | Difficulty |
|---|---|
| Trapping Rain Water | Hard |
| Merge Intervals | Medium |
| Valid Parentheses | Easy |
| Merge k Sorted Lists | Hard |
| Integer to Roman | Medium |
| Happy Number | Easy |
| Regular Expression Matching | Hard |
| LRU Cache | Medium |
| Reverse Linked List | Easy |
| Rotting Oranges | Medium |
| Wildcard Matching | Hard |
| Multiply Strings | Medium |
| Lowest Common Ancestor of a Binary Search Tree | Medium |
Unique to Microsoft (179)
Problems in Microsoft's list that do not appear at Twitter.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Merge Sorted Array | Easy |
| Longest Substring Without Repeating Characters | Medium |
| Add Two Numbers | Medium |
| Longest Palindromic Substring | Medium |
| Single Element in a Sorted Array | Medium |
| Median of Two Sorted Arrays | Hard |
| 3Sum | Medium |
| Maximum Subarray | Medium |
| Group Anagrams | Medium |
| Search in Rotated Sorted Array | Medium |
| Reverse Nodes in k-Group | Hard |
Unique to Twitter (40)
Problems in Twitter's list that do not appear at Microsoft.
| Problem | Difficulty |
|---|---|
| Permutation Sequence | Hard |
| Pascal's Triangle | Easy |
| Word Break II | Hard |
| Time Needed to Buy Tickets | Easy |
| Max Points on a Line | Hard |
| One Edit Distance | Medium |
| Implement Trie (Prefix Tree) | Medium |
| The Skyline Problem | Hard |
| Flatten 2D Vector | Medium |
| Alien Dictionary | Hard |
| Best Meeting Point | Hard |
| Design Skiplist | Hard |
Frequently Asked Questions
How many LeetCode questions do Microsoft and Twitter share?
Microsoft and Twitter share 13 LeetCode interview questions. 179 problems appear only in Microsoft's list and 40 appear only in Twitter's list.
What topics overlap most between Microsoft and Twitter?
The most common shared topics between Microsoft and Twitter are String (5 shared questions), Array (3 shared questions), Dynamic Programming (3 shared questions), Linked List (3 shared questions), Hash Table (3 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Microsoft or Twitter?
Microsoft has 55 Easy, 109 Medium, and 28 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 Microsoft and Twitter?
Start with the 13 shared problems since they cover what both companies ask most often. Then add 20 Microsoft-specific and 20 Twitter-specific questions to round out your prep.