Apple vs IBM Interview Questions

Apple lists 300 LeetCode interview questions while IBM lists 115. They share 41 problems — 14% of Apple's bank and 36% of IBM's. Focus on the overlap first, then drill into 259 Apple-only and 74 IBM-only questions.

Read the full Apple vs IBM preparation guide →

Overview

Apple

300 questions

Easy 76Medium 178Hard 46
IBM

115 questions

Easy 33Medium 73Hard 9

Preparation Strategy

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

Step 2 — Company-specific depth: Add Apple-specific problems like Number of Islands, Design Hit Counter, Reverse Linked List and IBM-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Apple
76
IBM
33
Medium
Apple
178
IBM
73
Hard
Apple
46
IBM
9

Top Shared Topics

41 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Two SumEasy
Merge IntervalsMedium
Best Time to Buy and Sell StockEasy
Longest Common PrefixEasy
Rotate ArrayMedium
Group AnagramsMedium
Valid ParenthesesEasy
Longest Substring Without Repeating CharactersMedium
Product of Array Except SelfMedium
Rotate ImageMedium
Spiral MatrixMedium
Maximum SubarrayMedium
Reverse IntegerMedium
Meeting Rooms IIMedium
Trapping Rain WaterHard
Subarray Sum Equals KMedium
Subarray Product Less Than KMedium
Median of Two Sorted ArraysHard
Climbing StairsEasy
Merge Sorted ArrayEasy
Word BreakMedium
String CompressionMedium
Find the Index of the First Occurrence in a StringEasy
3SumMedium
Longest Consecutive SequenceMedium
Remove Duplicates from Sorted ArrayEasy
Count the Number of Incremovable Subarrays IIHard
Task SchedulerMedium
Longest Palindromic SubstringMedium

Showing top 30 of 41 shared problems.

Unique to Apple (259)

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

ProblemDifficulty
Number of IslandsMedium
Design Hit CounterMedium
Reverse Linked ListEasy
Valid SudokuMedium
Top K Frequent ElementsMedium
Course Schedule IIMedium
Course ScheduleMedium
Valid PalindromeEasy
Reverse Words in a StringMedium
Kth Largest Element in an ArrayMedium
Best Time to Buy and Sell Stock IIMedium
Merge k Sorted ListsHard

Unique to IBM (74)

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

ProblemDifficulty
Find the Smallest Divisor Given a ThresholdMedium
Gray CodeMedium
Integer to RomanMedium
Minimum Operations to Make Columns Strictly IncreasingEasy
Count Ways to Group Overlapping RangesMedium
Minimum Absolute DifferenceEasy
Minimum Operations to Make All Array Elements EqualMedium
Number of Divisible Triplet SumsMedium
Minimum Operations to Make Median of Array Equal to KMedium
The kth Factor of nMedium
Activity ParticipantsMedium
Maximum Profitable Triplets With Increasing Prices IMedium

Frequently Asked Questions

How many LeetCode questions do Apple and IBM share?

Apple and IBM share 41 LeetCode interview questions. 259 problems appear only in Apple's list and 74 appear only in IBM's list.

What topics overlap most between Apple and IBM?

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

Which company asks harder LeetCode questions: Apple or IBM?

Apple has 76 Easy, 178 Medium, and 46 Hard questions. IBM has 33 Easy, 73 Medium, and 9 Hard questions. Apple has a higher proportion of Hard problems in its interview set.

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

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

Explore More