LinkedIn vs Microsoft Interview Questions

LinkedIn lists 141 LeetCode interview questions while Microsoft lists 192. They share 52 problems — 37% of LinkedIn's bank and 27% of Microsoft's. Focus on the overlap first, then drill into 89 LinkedIn-only and 140 Microsoft-only questions.

Read the full LinkedIn vs Microsoft preparation guide →

Overview

LinkedIn

141 questions

Easy 25Medium 90Hard 26
Microsoft

192 questions

Easy 55Medium 109Hard 28

Preparation Strategy

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

Step 2 — Company-specific depth: Add LinkedIn-specific problems like Max Stack, Nested List Weight Sum II, All O`one Data Structure and Microsoft-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
LinkedIn
25
Microsoft
55
Medium
LinkedIn
90
Microsoft
109
Hard
LinkedIn
26
Microsoft
28

Top Shared Topics

52 Shared Questions

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

ProblemDifficulty
Word LadderHard
Maximum SubarrayMedium
Max Consecutive Ones IIIMedium
Valid ParenthesesEasy
Number of IslandsMedium
Can Place FlowersEasy
Search in Rotated Sorted ArrayMedium
Pow(x, n)Medium
Find First and Last Position of Element in Sorted ArrayMedium
Serialize and Deserialize Binary TreeHard
Minimum Window SubstringHard
Maximum Depth of Binary TreeEasy
Letter Combinations of a Phone NumberMedium
Kth Largest Element in an ArrayMedium
Lowest Common Ancestor of a Binary TreeMedium
Lowest Common Ancestor of a Binary Search TreeMedium
Isomorphic StringsEasy
Symmetric TreeEasy
Merge IntervalsMedium
Longest Valid ParenthesesHard
Evaluate Reverse Polish NotationMedium
House RobberMedium
LRU CacheMedium
Binary Tree Level Order TraversalMedium
Merge Two Sorted ListsEasy
Permutations IIMedium
PermutationsMedium
Two SumEasy
Binary Tree Zigzag Level Order TraversalMedium
Merge k Sorted ListsHard

Showing top 30 of 52 shared problems.

Unique to LinkedIn (89)

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

ProblemDifficulty
Max StackHard
Nested List Weight Sum IIMedium
All O`one Data StructureHard
Find the CelebrityMedium
Nested List Weight SumMedium
Design Authentication ManagerMedium
Find Leaves of Binary TreeMedium
Shortest Word Distance IIMedium
Maximum Product SubarrayMedium
Insert Delete GetRandom O(1)Medium
Binary Tree Upside DownMedium
Partition to K Equal Sum SubsetsMedium

Unique to Microsoft (140)

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

ProblemDifficulty
Add Two NumbersMedium
Trapping Rain WaterHard
Single Element in a Sorted ArrayMedium
3SumMedium
Group AnagramsMedium
Reverse Nodes in k-GroupHard
Roman to IntegerEasy
Spiral MatrixMedium
Climbing StairsEasy
Container With Most WaterMedium
Rotate ImageMedium
Palindrome NumberEasy

Frequently Asked Questions

How many LeetCode questions do LinkedIn and Microsoft share?

LinkedIn and Microsoft share 52 LeetCode interview questions. 89 problems appear only in LinkedIn's list and 140 appear only in Microsoft's list.

What topics overlap most between LinkedIn and Microsoft?

The most common shared topics between LinkedIn and Microsoft are Array (13 shared questions), String (7 shared questions), Breadth-First Search (7 shared questions), Tree (7 shared questions), Binary Tree (7 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: LinkedIn or Microsoft?

LinkedIn has 25 Easy, 90 Medium, and 26 Hard questions. Microsoft has 55 Easy, 109 Medium, and 28 Hard questions. LinkedIn has a higher proportion of Hard problems in its interview set.

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

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

Explore More