IBM vs TikTok Interview Questions

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

Read the full IBM vs TikTok preparation guide →

Overview

IBM

115 questions

Easy 33Medium 73Hard 9
TikTok

351 questions

Easy 34Medium 245Hard 72

Preparation Strategy

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

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

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

Difficulty Comparison

Easy
IBM
33
TikTok
34
Medium
IBM
73
TikTok
245
Hard
IBM
9
TikTok
72

Top Shared Topics

41 Shared Questions

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

ProblemDifficulty
3SumMedium
Integer to RomanMedium
Roman to IntegerEasy
Best Time to Buy and Sell StockEasy
Two SumEasy
Meeting Rooms IIMedium
Rotate ImageMedium
Merge IntervalsMedium
Longest Substring Without Repeating CharactersMedium
String CompressionMedium
Longest Common PrefixEasy
Valid ParenthesesEasy
Count Binary SubstringsEasy
Longest Consecutive SequenceMedium
Longest Palindromic SubstringMedium
Maximum SubarrayMedium
Spiral MatrixMedium
Count Pairs Of Similar StringsEasy
Longest Mountain in ArrayMedium
Kth Missing Positive NumberEasy
Group AnagramsMedium
Minimum Swaps to Group All 1's Together IIMedium
Climbing StairsEasy
Trapping Rain WaterHard
Next PermutationMedium
Longest Increasing SubsequenceMedium
Subarray Sum Equals KMedium
Rotate ArrayMedium
Median of Two Sorted ArraysHard
SubsetsMedium

Showing top 30 of 41 shared problems.

Unique to IBM (74)

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

ProblemDifficulty
Find the Smallest Divisor Given a ThresholdMedium
Gray CodeMedium
Exclusive Time of FunctionsMedium
Minimum Operations to Make Columns Strictly IncreasingEasy
Fizz BuzzEasy
Count Ways to Group Overlapping RangesMedium
Minimum Absolute DifferenceEasy
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
The kth Factor of nMedium

Unique to TikTok (310)

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

ProblemDifficulty
Number of IslandsMedium
Number of Distinct IslandsMedium
Course Schedule IIMedium
Course ScheduleMedium
Subarray With Elements Greater Than Varying ThresholdHard
Text JustificationHard
Decode StringMedium
Word SearchMedium
Minimum Window SubstringHard
Search in Rotated Sorted ArrayMedium
Top K Frequent ElementsMedium
Minimum Swaps to Group All 1's TogetherMedium

Frequently Asked Questions

How many LeetCode questions do IBM and TikTok share?

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

What topics overlap most between IBM and TikTok?

The most common shared topics between IBM and TikTok are Array (21 shared questions), String (10 shared questions), Two Pointers (9 shared questions), Hash Table (8 shared questions), Dynamic Programming (7 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: IBM or TikTok?

IBM has 33 Easy, 73 Medium, and 9 Hard questions. TikTok has 34 Easy, 245 Medium, and 72 Hard questions. TikTok has a higher proportion of Hard problems in its interview set.

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

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

Explore More