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.

Read the full Microsoft vs Twitter preparation guide →

Overview

Microsoft

192 questions

Easy 55Medium 109Hard 28
Twitter

53 questions

Easy 8Medium 33Hard 12

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

Easy
Microsoft
55
Twitter
8
Medium
Microsoft
109
Twitter
33
Hard
Microsoft
28
Twitter
12

Top Shared Topics

13 Shared Questions

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

ProblemDifficulty
Trapping Rain WaterHard
Merge IntervalsMedium
Valid ParenthesesEasy
Merge k Sorted ListsHard
Integer to RomanMedium
Happy NumberEasy
Regular Expression MatchingHard
LRU CacheMedium
Reverse Linked ListEasy
Rotting OrangesMedium
Wildcard MatchingHard
Multiply StringsMedium
Lowest Common Ancestor of a Binary Search TreeMedium

Unique to Microsoft (179)

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

ProblemDifficulty
Two SumEasy
Merge Sorted ArrayEasy
Longest Substring Without Repeating CharactersMedium
Add Two NumbersMedium
Longest Palindromic SubstringMedium
Single Element in a Sorted ArrayMedium
Median of Two Sorted ArraysHard
3SumMedium
Maximum SubarrayMedium
Group AnagramsMedium
Search in Rotated Sorted ArrayMedium
Reverse Nodes in k-GroupHard

Unique to Twitter (40)

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

ProblemDifficulty
Permutation SequenceHard
Pascal's TriangleEasy
Word Break IIHard
Time Needed to Buy TicketsEasy
Max Points on a LineHard
One Edit DistanceMedium
Implement Trie (Prefix Tree)Medium
The Skyline ProblemHard
Flatten 2D VectorMedium
Alien DictionaryHard
Best Meeting PointHard
Design SkiplistHard

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.

Explore More