IBM vs LinkedIn Interview Questions

IBM lists 115 LeetCode interview questions while LinkedIn lists 141. They share 21 problems — 18% of IBM's bank and 15% of LinkedIn's. Focus on the overlap first, then drill into 94 IBM-only and 120 LinkedIn-only questions.

Read the full IBM vs LinkedIn preparation guide →

Overview

IBM

115 questions

Easy 33Medium 73Hard 9
LinkedIn

141 questions

Easy 25Medium 90Hard 26

Preparation Strategy

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

Step 2 — Company-specific depth: Add IBM-specific problems like Find the Smallest Divisor Given a Threshold, Gray Code, 3Sum and LinkedIn-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
IBM
33
LinkedIn
25
Medium
IBM
73
LinkedIn
90
Hard
IBM
9
LinkedIn
26

Top Shared Topics

21 Shared Questions

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

ProblemDifficulty
Exclusive Time of FunctionsMedium
Integer to RomanMedium
Fizz BuzzEasy
Best Time to Buy and Sell StockEasy
Two SumEasy
Number of Divisible Triplet SumsMedium
Find Pivot IndexEasy
Merge IntervalsMedium
Longest Substring Without Repeating CharactersMedium
Valid ParenthesesEasy
Letter Combinations of a Phone NumberMedium
Longest Palindromic SubstringMedium
Merge Sorted ArrayEasy
Maximum SubarrayMedium
Validate Binary Search TreeMedium
Product of Array Except SelfMedium
Next PermutationMedium
Intersection of Two ArraysEasy
Median of Two Sorted ArraysHard
LRU CacheMedium
Task SchedulerMedium

Unique to IBM (94)

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

ProblemDifficulty
Find the Smallest Divisor Given a ThresholdMedium
Gray CodeMedium
3SumMedium
Minimum Operations to Make Columns Strictly IncreasingEasy
Roman to IntegerEasy
Count Ways to Group Overlapping RangesMedium
Meeting Rooms IIMedium
Rotate ImageMedium
Minimum Absolute DifferenceEasy
Minimum Operations to Make All Array Elements EqualMedium
Minimum Operations to Make Median of Array Equal to KMedium
The kth Factor of nMedium

Unique to LinkedIn (120)

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

ProblemDifficulty
Max StackHard
Nested List Weight Sum IIMedium
All O`one Data StructureHard
Word LadderHard
Find the CelebrityMedium
Nested List Weight SumMedium
Design Authentication ManagerMedium
Find Leaves of Binary TreeMedium
Shortest Word Distance IIMedium
Max Consecutive Ones IIIMedium
Number of IslandsMedium
Maximum Product SubarrayMedium

Frequently Asked Questions

How many LeetCode questions do IBM and LinkedIn share?

IBM and LinkedIn share 21 LeetCode interview questions. 94 problems appear only in IBM's list and 120 appear only in LinkedIn's list.

What topics overlap most between IBM and LinkedIn?

The most common shared topics between IBM and LinkedIn are Array (13 shared questions), Hash Table (8 shared questions), String (6 shared questions), Sorting (4 shared questions), Two Pointers (4 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: IBM or LinkedIn?

IBM has 33 Easy, 73 Medium, and 9 Hard questions. LinkedIn has 25 Easy, 90 Medium, and 26 Hard questions. LinkedIn has a higher proportion of Hard problems in its interview set.

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

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

Explore More