IBM vs NVIDIA Interview Questions

IBM lists 115 LeetCode interview questions while NVIDIA lists 136. They share 30 problems — 26% of IBM's bank and 22% of NVIDIA's. Focus on the overlap first, then drill into 85 IBM-only and 106 NVIDIA-only questions.

Read the full IBM vs NVIDIA preparation guide →

Overview

IBM

115 questions

Easy 33Medium 73Hard 9
NVIDIA

136 questions

Easy 32Medium 89Hard 15

Preparation Strategy

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

Step 2 — Company-specific depth: Add IBM-specific problems like Find the Smallest Divisor Given a Threshold, Gray Code, Exclusive Time of Functions and NVIDIA-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
IBM
33
NVIDIA
32
Medium
IBM
73
NVIDIA
89
Hard
IBM
9
NVIDIA
15

Top Shared Topics

30 Shared Questions

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

ProblemDifficulty
3SumMedium
Fizz BuzzEasy
Best Time to Buy and Sell StockEasy
Two SumEasy
Rotate ImageMedium
Minimum Absolute DifferenceEasy
Merge IntervalsMedium
Longest Substring Without Repeating CharactersMedium
String CompressionMedium
Longest Common PrefixEasy
Valid ParenthesesEasy
Maximum Sum of Distinct Subarrays With Length KMedium
Longest Consecutive SequenceMedium
Longest Palindromic SubstringMedium
Merge Sorted ArrayEasy
Maximum SubarrayMedium
Spiral MatrixMedium
Group AnagramsMedium
Climbing StairsEasy
Trapping Rain WaterHard
Product of Array Except SelfMedium
Longest Increasing SubsequenceMedium
Subarray Sum Equals KMedium
Median of Two Sorted ArraysHard
Find The Original Array of Prefix XorMedium
Generate ParenthesesMedium
Minimum Operations to Reduce an Integer to 0Medium
Find the Duplicate NumberMedium
LRU CacheMedium
Task SchedulerMedium

Unique to IBM (85)

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

ProblemDifficulty
Find the Smallest Divisor Given a ThresholdMedium
Gray CodeMedium
Exclusive Time of FunctionsMedium
Integer to RomanMedium
Minimum Operations to Make Columns Strictly IncreasingEasy
Roman to IntegerEasy
Count Ways to Group Overlapping RangesMedium
Meeting Rooms IIMedium
Minimum Operations to Make All Array Elements EqualMedium
Number of Divisible Triplet SumsMedium
Find Pivot IndexEasy
Minimum Operations to Make Median of Array Equal to KMedium

Unique to NVIDIA (106)

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

ProblemDifficulty
Special Binary StringHard
Merge k Sorted ListsHard
Last Stone WeightEasy
Maximize Greatness of an ArrayMedium
Number of IslandsMedium
Maximum Number of Visible PointsHard
Restore IP AddressesMedium
Search in Rotated Sorted ArrayMedium
Reverse BitsEasy
Missing NumberEasy
Dot Product of Two Sparse VectorsMedium
Task Scheduler IIMedium

Frequently Asked Questions

How many LeetCode questions do IBM and NVIDIA share?

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

What topics overlap most between IBM and NVIDIA?

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

Which company asks harder LeetCode questions: IBM or NVIDIA?

IBM has 33 Easy, 73 Medium, and 9 Hard questions. NVIDIA has 32 Easy, 89 Medium, and 15 Hard questions. NVIDIA has a higher proportion of Hard problems in its interview set.

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

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

Explore More