IBM vs Oracle Interview Questions

IBM lists 115 LeetCode interview questions while Oracle lists 314. They share 55 problems — 48% of IBM's bank and 18% of Oracle's. Focus on the overlap first, then drill into 60 IBM-only and 259 Oracle-only questions.

Read the full IBM vs Oracle preparation guide →

Overview

IBM

115 questions

Easy 33Medium 73Hard 9
Oracle

314 questions

Easy 61Medium 194Hard 59

Preparation Strategy

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

Step 2 — Company-specific depth: Add IBM-specific problems like Gray Code, Exclusive Time of Functions, Minimum Operations to Make Columns Strictly Increasing and Oracle-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
IBM
33
Oracle
61
Medium
IBM
73
Oracle
194
Hard
IBM
9
Oracle
59

Top Shared Topics

55 Shared Questions

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

ProblemDifficulty
Find the Smallest Divisor Given a ThresholdMedium
3SumMedium
Integer to RomanMedium
Roman to IntegerEasy
Best Time to Buy and Sell StockEasy
Count Ways to Group Overlapping RangesMedium
Two SumEasy
Meeting Rooms IIMedium
Rotate ImageMedium
Minimum Absolute DifferenceEasy
The kth Factor of nMedium
Merge IntervalsMedium
Longest Substring Without Repeating CharactersMedium
String CompressionMedium
Longest Common PrefixEasy
Valid ParenthesesEasy
Count Binary SubstringsEasy
Merge Strings AlternatelyEasy
Letter Combinations of a Phone NumberMedium
Longest Consecutive SequenceMedium
Longest Palindromic SubstringMedium
Merge Sorted ArrayEasy
Maximum SubarrayMedium
Spiral MatrixMedium
Count Pairs Of Similar StringsEasy
Longest Mountain in ArrayMedium
Kth Missing Positive NumberEasy
Group AnagramsMedium
Validate Binary Search TreeMedium
Subarray Product Less Than KMedium

Showing top 30 of 55 shared problems.

Unique to IBM (60)

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

ProblemDifficulty
Gray CodeMedium
Exclusive Time of FunctionsMedium
Minimum Operations to Make Columns Strictly IncreasingEasy
Fizz BuzzEasy
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
Activity ParticipantsMedium
Maximum Profitable Triplets With Increasing Prices IMedium
Find The First Player to win K Games in a RowMedium
Count Vowel Strings in RangesMedium

Unique to Oracle (259)

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

ProblemDifficulty
Number of IslandsMedium
Top K Frequent ElementsMedium
Sliding Window MaximumHard
Merge k Sorted ListsHard
Minimum One Bit Operations to Make Integers ZeroHard
LFU CacheHard
Search in Rotated Sorted ArrayMedium
Asteroid CollisionMedium
Remove All Adjacent Duplicates in String IIMedium
Container With Most WaterMedium
Reverse Linked ListEasy
Min StackMedium

Frequently Asked Questions

How many LeetCode questions do IBM and Oracle share?

IBM and Oracle share 55 LeetCode interview questions. 60 problems appear only in IBM's list and 259 appear only in Oracle's list.

What topics overlap most between IBM and Oracle?

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

Which company asks harder LeetCode questions: IBM or Oracle?

IBM has 33 Easy, 73 Medium, and 9 Hard questions. Oracle has 61 Easy, 194 Medium, and 59 Hard questions. Oracle has a higher proportion of Hard problems in its interview set.

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

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

Explore More