Google vs Microsoft Interview Questions

Google lists 2,305 LeetCode interview questions while Microsoft lists 192. They share 190 problems — 8% of Google's bank and 99% of Microsoft's. Focus on the overlap first, then drill into 2,115 Google-only and 2 Microsoft-only questions.

Read the full Google vs Microsoft preparation guide →

Overview

Google

2,305 questions

Easy 601Medium 1205Hard 499
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 Google and Microsoft.

Step 2 — Company-specific depth: Add Google-specific problems like Decode String, Pascal's Triangle, Minimum Number of Increments on Subarrays to Form a Target Array and Microsoft-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Google
601
Microsoft
55
Medium
Google
1205
Microsoft
109
Hard
Google
499
Microsoft
28

Top Shared Topics

190 Shared Questions

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

ProblemDifficulty
Two SumEasy
Add Two NumbersMedium
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
Longest Common PrefixEasy
Palindrome NumberEasy
Merge Sorted ArrayEasy
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
3SumMedium
Create Hello World FunctionEasy
Merge Strings AlternatelyEasy
Longest Palindromic SubstringMedium
Longest Consecutive SequenceMedium
Container With Most WaterMedium
Recyclable and Low Fat ProductsEasy
Valid ParenthesesEasy
Majority ElementEasy
Roman to IntegerEasy
Merge IntervalsMedium
Number of IslandsMedium
Maximum SubarrayMedium
Reverse IntegerMedium
Remove Duplicates from Sorted ArrayEasy
Subarray Sum Equals KMedium
Climbing StairsEasy
Merge Two Sorted ListsEasy
Next PermutationMedium
Generate ParenthesesMedium
Spiral MatrixMedium

Showing top 30 of 190 shared problems.

Unique to Google (2,115)

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

ProblemDifficulty
Decode StringMedium
Pascal's TriangleEasy
Minimum Number of Increments on Subarrays to Form a Target ArrayHard
Concatenation of ArrayEasy
Top K Frequent ElementsMedium
Viewers Turned StreamersHard
Logger Rate LimiterEasy
Longest Repeating Character ReplacementMedium
Russian Doll EnvelopesHard
Longest Increasing SubsequenceMedium
Power of TwoEasy
Number of Visible People in a QueueHard

Unique to Microsoft (2)

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

ProblemDifficulty
Transform Array to All Equal ElementsMedium
MemoizeMedium

Frequently Asked Questions

How many LeetCode questions do Google and Microsoft share?

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

What topics overlap most between Google and Microsoft?

The most common shared topics between Google and Microsoft are Array (17 shared questions), Two Pointers (8 shared questions), String (7 shared questions), Hash Table (6 shared questions), Dynamic Programming (6 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Google or Microsoft?

Google has 601 Easy, 1205 Medium, and 499 Hard questions. Microsoft has 55 Easy, 109 Medium, and 28 Hard questions. Google has a higher proportion of Hard problems in its interview set.

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

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

Explore More