IBM vs Twitter Interview Questions

IBM lists 115 LeetCode interview questions while Twitter lists 53. They share 6 problems — 5% of IBM's bank and 11% of Twitter's. Focus on the overlap first, then drill into 109 IBM-only and 47 Twitter-only questions.

Read the full IBM vs Twitter preparation guide →

Overview

IBM

115 questions

Easy 33Medium 73Hard 9
Twitter

53 questions

Easy 8Medium 33Hard 12

Preparation Strategy

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

Step 2 — Company-specific depth: Add IBM-specific problems like Find the Smallest Divisor Given a Threshold, Gray Code, 3Sum and Twitter-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
IBM
33
Twitter
8
Medium
IBM
73
Twitter
33
Hard
IBM
9
Twitter
12

Top Shared Topics

6 Shared Questions

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

ProblemDifficulty
Integer to RomanMedium
Merge IntervalsMedium
Valid ParenthesesEasy
Trapping Rain WaterHard
Happy NumberEasy
LRU CacheMedium

Unique to IBM (109)

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

ProblemDifficulty
Find the Smallest Divisor Given a ThresholdMedium
Gray CodeMedium
3SumMedium
Exclusive Time of FunctionsMedium
Minimum Operations to Make Columns Strictly IncreasingEasy
Fizz BuzzEasy
Roman to IntegerEasy
Best Time to Buy and Sell StockEasy
Count Ways to Group Overlapping RangesMedium
Two SumEasy
Meeting Rooms IIMedium
Rotate ImageMedium

Unique to Twitter (47)

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

ProblemDifficulty
Regular Expression MatchingHard
Merge k Sorted ListsHard
Multiply StringsMedium
Wildcard MatchingHard
Permutation SequenceHard
Pascal's TriangleEasy
Word Break IIHard
Time Needed to Buy TicketsEasy
Max Points on a LineHard
One Edit DistanceMedium
Reverse Linked ListEasy
Implement Trie (Prefix Tree)Medium

Frequently Asked Questions

How many LeetCode questions do IBM and Twitter share?

IBM and Twitter share 6 LeetCode interview questions. 109 problems appear only in IBM's list and 47 appear only in Twitter's list.

What topics overlap most between IBM and Twitter?

The most common shared topics between IBM and Twitter are Hash Table (3 shared questions), Math (2 shared questions), String (2 shared questions), Array (2 shared questions), Stack (2 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: IBM or Twitter?

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

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

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

Explore More