Google vs IBM Interview Questions

Google lists 2,305 LeetCode interview questions while IBM lists 115. They share 85 problems — 4% of Google's bank and 74% of IBM's. Focus on the overlap first, then drill into 2,220 Google-only and 30 IBM-only questions.

Read the full Google vs IBM preparation guide →

Overview

Google

2,305 questions

Easy 601Medium 1205Hard 499
IBM

115 questions

Easy 33Medium 73Hard 9

Preparation Strategy

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

Step 2 — Company-specific depth: Add Google-specific problems like Add Two Numbers, Create Hello World Function, Container With Most Water and IBM-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
IBM
33
Medium
Google
1205
IBM
73
Hard
Google
499
IBM
9

Top Shared Topics

85 Shared Questions

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

ProblemDifficulty
Two SumEasy
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
Merge Strings AlternatelyEasy
Longest Palindromic SubstringMedium
Longest Consecutive SequenceMedium
Valid ParenthesesEasy
Majority ElementEasy
Roman to IntegerEasy
Merge IntervalsMedium
Maximum SubarrayMedium
Reverse IntegerMedium
Remove Duplicates from Sorted ArrayEasy
Subarray Sum Equals KMedium
Climbing StairsEasy
Next PermutationMedium
Generate ParenthesesMedium
Spiral MatrixMedium
Meeting Rooms IIMedium
LRU CacheMedium
N-QueensHard
Letter Combinations of a Phone NumberMedium
Rotate ArrayMedium
Find the Index of the First Occurrence in a StringEasy

Showing top 30 of 85 shared problems.

Unique to Google (2,220)

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

ProblemDifficulty
Add Two NumbersMedium
Create Hello World FunctionEasy
Container With Most WaterMedium
Recyclable and Low Fat ProductsEasy
Number of IslandsMedium
Merge Two Sorted ListsEasy
Reverse Linked ListEasy
Decode StringMedium
Add Two IntegersEasy
Koko Eating BananasMedium
Remove ElementEasy
Search in Rotated Sorted ArrayMedium

Unique to IBM (30)

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

ProblemDifficulty
Minimum Operations to Make Columns Strictly IncreasingEasy
Count Ways to Group Overlapping RangesMedium
Minimum Operations to Make All Array Elements EqualMedium
Number of Divisible Triplet SumsMedium
Minimum Operations to Make Median of Array Equal to KMedium
Activity ParticipantsMedium
Maximum Profitable Triplets With Increasing Prices IMedium
Find The First Player to win K Games in a RowMedium
Count the Number of Incremovable Subarrays IIHard
Maximum Profitable Triplets With Increasing Prices IIHard
Sort the Students by Their Kth ScoreMedium
Find the Array Concatenation ValueEasy

Frequently Asked Questions

How many LeetCode questions do Google and IBM share?

Google and IBM share 85 LeetCode interview questions. 2220 problems appear only in Google's list and 30 appear only in IBM's list.

What topics overlap most between Google and IBM?

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

Which company asks harder LeetCode questions: Google or IBM?

Google has 601 Easy, 1205 Medium, and 499 Hard questions. IBM has 33 Easy, 73 Medium, and 9 Hard questions. Google has a higher proportion of Hard problems in its interview set.

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

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

Explore More