Amazon vs IBM Interview Questions

Amazon lists 1,968 LeetCode interview questions while IBM lists 115. They share 91 problems — 5% of Amazon's bank and 79% of IBM's. Focus on the overlap first, then drill into 1,877 Amazon-only and 24 IBM-only questions.

Read the full Amazon vs IBM preparation guide →

Overview

Amazon

1,968 questions

Easy 527Medium 1074Hard 367
IBM

115 questions

Easy 33Medium 73Hard 9

Preparation Strategy

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

Step 2 — Company-specific depth: Add Amazon-specific problems like Number of Islands, Add Two Numbers, Reorganize String and IBM-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Amazon
527
IBM
33
Medium
Amazon
1074
IBM
73
Hard
Amazon
367
IBM
9

Top Shared Topics

91 Shared Questions

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

ProblemDifficulty
Two SumEasy
LRU CacheMedium
Trapping Rain WaterHard
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
Group AnagramsMedium
3SumMedium
Longest Palindromic SubstringMedium
Merge IntervalsMedium
Median of Two Sorted ArraysHard
Valid ParenthesesEasy
Longest Common PrefixEasy
Subarray Sum Equals KMedium
Merge Sorted ArrayEasy
Maximum SubarrayMedium
Longest Consecutive SequenceMedium
Generate ParenthesesMedium
Palindrome NumberEasy
Majority ElementEasy
Product of Array Except SelfMedium
Climbing StairsEasy
Letter Combinations of a Phone NumberMedium
Spiral MatrixMedium
Rotate ImageMedium
Next PermutationMedium
Task SchedulerMedium
Remove Duplicates from Sorted ArrayEasy
Meeting Rooms IIMedium
Roman to IntegerEasy
SubsetsMedium

Showing top 30 of 91 shared problems.

Unique to Amazon (1,877)

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

ProblemDifficulty
Number of IslandsMedium
Add Two NumbersMedium
Reorganize StringMedium
Container With Most WaterMedium
Koko Eating BananasMedium
Course ScheduleMedium
Merge k Sorted ListsHard
Rotting OrangesMedium
Search in Rotated Sorted ArrayMedium
Top K Frequent ElementsMedium
Copy List with Random PointerMedium
Lowest Common Ancestor of a Binary TreeMedium

Unique to IBM (24)

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

Frequently Asked Questions

How many LeetCode questions do Amazon and IBM share?

Amazon and IBM share 91 LeetCode interview questions. 1877 problems appear only in Amazon's list and 24 appear only in IBM's list.

What topics overlap most between Amazon and IBM?

The most common shared topics between Amazon and IBM are Array (21 shared questions), Hash Table (10 shared questions), String (8 shared questions), Two Pointers (7 shared questions), Sorting (7 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Amazon or IBM?

Amazon has 527 Easy, 1074 Medium, and 367 Hard questions. IBM has 33 Easy, 73 Medium, and 9 Hard questions. Amazon has a higher proportion of Hard problems in its interview set.

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

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

Explore More