IBM vs Samsung Interview Questions

IBM lists 115 LeetCode interview questions while Samsung lists 65. They share 18 problems — 16% of IBM's bank and 28% of Samsung's. Focus on the overlap first, then drill into 97 IBM-only and 47 Samsung-only questions.

Read the full IBM vs Samsung preparation guide →

Overview

IBM

115 questions

Easy 33Medium 73Hard 9
Samsung

65 questions

Easy 12Medium 36Hard 17

Preparation Strategy

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

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

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

Difficulty Comparison

Easy
IBM
33
Samsung
12
Medium
IBM
73
Samsung
36
Hard
IBM
9
Samsung
17

Top Shared Topics

18 Shared Questions

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

ProblemDifficulty
3SumMedium
Best Time to Buy and Sell StockEasy
Two SumEasy
Rotate ImageMedium
Merge IntervalsMedium
Longest Common PrefixEasy
Valid ParenthesesEasy
Longest Palindromic SubstringMedium
Merge Sorted ArrayEasy
Maximum SubarrayMedium
Subarray Product Less Than KMedium
Trapping Rain WaterHard
Next PermutationMedium
Longest Increasing SubsequenceMedium
Rotate ArrayMedium
Median of Two Sorted ArraysHard
Generate ParenthesesMedium
LRU CacheMedium

Unique to IBM (97)

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

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

Unique to Samsung (47)

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

ProblemDifficulty
Burst BalloonsHard
Number of IslandsMedium
Vertical Order Traversal of a Binary TreeHard
Partition Array Into Two Arrays to Minimize Sum DifferenceHard
Minimum Cost of a Path With Special RoadsMedium
Minimize Deviation in ArrayHard
Number of Paths with Max ScoreHard
Count Prefix and Suffix Pairs IIHard
Mark Elements on Array by Performing QueriesMedium
Substring with Concatenation of All WordsHard
Guess Number Higher or LowerEasy
Maximum Product of Two Elements in an ArrayEasy

Frequently Asked Questions

How many LeetCode questions do IBM and Samsung share?

IBM and Samsung share 18 LeetCode interview questions. 97 problems appear only in IBM's list and 47 appear only in Samsung's list.

What topics overlap most between IBM and Samsung?

The most common shared topics between IBM and Samsung are Array (13 shared questions), Two Pointers (6 shared questions), Dynamic Programming (6 shared questions), String (4 shared questions), Sorting (3 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: IBM or Samsung?

IBM has 33 Easy, 73 Medium, and 9 Hard questions. Samsung has 12 Easy, 36 Medium, and 17 Hard questions. Samsung has a higher proportion of Hard problems in its interview set.

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

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

Explore More