TikTok Coding Interview Questions

We track 351 coding questions asked at TikTok, tagged with the algorithms and concepts they test. The most common: Array, String, Hash Table, Dynamic Programming, Depth-First Search.

Browse all 351 TikTok questions →

Concept mix

Each question's weight is split evenly across its concepts, so the shares sum to 100%.

How many questions involve each concept

Share of all 351 tracked TikTok questions that touch each concept. Questions usually involve several, so these overlap.

Where TikTok differs from the average company

Concept weight at TikTok relative to the average across all companies we track. Green means TikTok leans on it harder than most.

TikTok specialties

Concepts that show up at TikTok but are rarely asked elsewhere. They are easy to get blindsided by.

Difficulty mix

Level split of the 351 tracked TikTok questions.

  • Junior10% (36)
  • Mid/Senior69% (241)
  • Staff21% (74)

Every concept in TikTok interviews

ConceptQuestions% of questionsShare of mix
Array18352.1%18.8%
String8624.5%9.0%
Hash Table6819.4%5.7%
Dynamic Programming6418.2%6.9%
Depth-First Search4412.5%3.3%
Math4212.0%4.9%
Breadth-First Search4111.7%3.2%
Binary Search3610.3%3.5%
Sorting3610.3%2.7%
Two Pointers3510.0%3.8%
Greedy339.4%3.2%
Stack329.1%3.1%
Matrix308.5%2.5%
Binary Tree277.7%2.1%
Tree277.7%2.1%
Backtracking236.6%2.5%
Heap (Priority Queue)236.6%1.6%
Sliding Window205.7%1.8%
Linked List185.1%2.5%
Design164.6%1.2%
Monotonic Stack164.6%1.2%
Prefix Sum164.6%1.5%
Graph Theory133.7%0.9%
Union-Find133.7%0.9%
Divide and Conquer123.4%0.8%
Simulation123.4%1.2%
Trie123.4%1.0%
Recursion113.1%1.3%
Counting102.8%0.7%
Bit Manipulation82.3%0.6%
Memoization61.7%0.3%
Topological Sort61.7%0.4%
Binary Search Tree41.1%0.3%
Bitmask41.1%0.2%
Enumeration41.1%0.5%
Ordered Set41.1%0.3%
Randomized41.1%0.3%
Segment Tree41.1%0.2%
Queue30.9%0.2%
Binary Indexed Tree20.6%0.1%
Bucket Sort20.6%0.1%
Data Stream20.6%0.1%
Database20.6%0.6%
Doubly-Linked List20.6%0.2%
Hash Function20.6%0.1%
Merge Sort20.6%0.1%
Monotonic Queue20.6%0.1%
Quickselect20.6%0.1%
Shortest Path20.6%0.1%
Combinatorics10.3%0.1%
Geometry10.3%0.2%
Interactive10.3%0.1%
Sweep Line10.3%0.0%
Minimum Spanning Tree10.3%0.1%
Number Theory10.3%0.2%
Probability and Statistics10.3%0.1%
Rejection Sampling10.3%0.1%
Rolling Hash10.3%0.1%
Sort10.3%0.1%
String Matching10.3%0.1%
Suffix Array10.3%0.1%

Practice a TikTok interview

Take a realistic AI-led mock interview with questions TikTok actually asks, with live voice and real feedback.

Start a mock interview

Your first interview is free · no credit card required