Microsoft vs TikTok Interview Questions

Microsoft lists 192 LeetCode interview questions while TikTok lists 351. They share 114 problems — 59% of Microsoft's bank and 32% of TikTok's. Focus on the overlap first, then drill into 78 Microsoft-only and 237 TikTok-only questions.

Read the full Microsoft vs TikTok preparation guide →

Overview

Microsoft

192 questions

Easy 55Medium 109Hard 28
TikTok

351 questions

Easy 34Medium 245Hard 72

Preparation Strategy

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

Step 2 — Company-specific depth: Add Microsoft-specific problems like Merge Sorted Array, Single Element in a Sorted Array, Palindrome Number 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
Microsoft
55
TikTok
34
Medium
Microsoft
109
TikTok
245
Hard
Microsoft
28
TikTok
72

Top Shared Topics

114 Shared Questions

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

ProblemDifficulty
Two SumEasy
Longest Substring Without Repeating CharactersMedium
Add Two NumbersMedium
Longest Palindromic SubstringMedium
Trapping Rain WaterHard
Merge IntervalsMedium
Median of Two Sorted ArraysHard
Valid ParenthesesEasy
3SumMedium
Maximum SubarrayMedium
Group AnagramsMedium
Search in Rotated Sorted ArrayMedium
Reverse Nodes in k-GroupHard
Merge Two Sorted ListsEasy
Roman to IntegerEasy
Spiral MatrixMedium
Climbing StairsEasy
Container With Most WaterMedium
Rotate ImageMedium
Merge k Sorted ListsHard
Sort ColorsMedium
Longest Common PrefixEasy
Number of IslandsMedium
Word SearchMedium
Generate ParenthesesMedium
Find Peak ElementMedium
Best Time to Buy and Sell StockEasy
Move ZeroesEasy
K-th Smallest in Lexicographical OrderHard
Minimum Size Subarray SumMedium

Showing top 30 of 114 shared problems.

Unique to Microsoft (78)

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

ProblemDifficulty
Merge Sorted ArrayEasy
Single Element in a Sorted ArrayMedium
Palindrome NumberEasy
Remove Duplicates from Sorted ArrayEasy
Create Hello World FunctionEasy
Set Matrix ZeroesMedium
Reverse IntegerMedium
Letter Combinations of a Phone NumberMedium
Minimum Edge Reversals So Every Node Is ReachableHard
Max Consecutive OnesEasy
Recyclable and Low Fat ProductsEasy
Remove ElementEasy

Unique to TikTok (237)

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

ProblemDifficulty
Longest Increasing SubsequenceMedium
Number of Distinct IslandsMedium
Subarray With Elements Greater Than Varying ThresholdHard
Decode StringMedium
Top K Frequent ElementsMedium
Minimum Swaps to Group All 1's TogetherMedium
Coin ChangeMedium
Making A Large IslandHard
Maximum Value at a Given Index in a Bounded ArrayMedium
Maximum SwapMedium
Longest Happy StringMedium
Basic Calculator IIMedium

Frequently Asked Questions

How many LeetCode questions do Microsoft and TikTok share?

Microsoft and TikTok share 114 LeetCode interview questions. 78 problems appear only in Microsoft's list and 237 appear only in TikTok's list.

What topics overlap most between Microsoft and TikTok?

The most common shared topics between Microsoft and TikTok are Array (18 shared questions), String (8 shared questions), Two Pointers (6 shared questions), Dynamic Programming (6 shared questions), Hash Table (4 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Microsoft or TikTok?

Microsoft has 55 Easy, 109 Medium, and 28 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 Microsoft and TikTok?

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

Explore More