Interview Intel · TikTok

TikTok coding interview
questions, leaked.

180 problems reported across recent TikTok interviews. Top patterns: array, string, dynamic programming. The list below is what most candidates actually saw, plus the honest play if you can't grind all of it.

Founder's read

TikTok's coding interview is array-heavy and medium-tier brutal. Out of 180 reported problems, 120 are medium difficulty, and arrays dominate at 100 problems, followed by strings at 50. You're walking into LRU Cache, Merge Intervals, Course Schedule, and Trapping Rain Water. These aren't one-liners. If you hit a wall on a hard problem mid-assessment, StealthCoder runs invisible during screen share and surfaces a working solution in seconds, no proctor visibility. That safety net matters when you're burned out halfway through.

Tracked problems
180
Easy
19/ 11%
Medium
120/ 67%
Hard
41/ 23%

Top problems at TikTok

leaked_problems.csv50 rows
#ProblemDiffFrequency
01LRU CacheMEDIUM
96.0
02Merge IntervalsMEDIUM
89.6
03Course ScheduleMEDIUM
0.0
04Longest Increasing SubsequenceMEDIUM
0.0
05Making A Large IslandHARD
0.0
06Longest Substring Without Repeating CharactersMEDIUM
84.8
07Trapping Rain WaterHARD
82.2
08Minimum Window SubstringHARD
76.9
09Merge k Sorted ListsHARD
76.9
10Word SearchMEDIUM
76.0
11Search in Rotated Sorted ArrayMEDIUM
75.1
12Number of IslandsMEDIUM
0.0
13Meeting Rooms IIMEDIUM
0.0
14Valid Parenthesis StringMEDIUM
0.0
15Top K Frequent ElementsMEDIUM
0.0
16Kth Missing Positive NumberEASY
0.0
17Split Message Based on LimitHARD
0.0
18Max Area of IslandMEDIUM
0.0
19N-QueensHARD
73.1
20Longest Palindromic SubstringMEDIUM
73.1
21Restore IP AddressesMEDIUM
72.1
223SumMEDIUM
71.0
23Combination SumMEDIUM
71.0
24Word LadderHARD
69.8
25Sqrt(x)EASY
68.6
26Text JustificationHARD
67.4
27Best Time to Buy and Sell StockEASY
67.4
28Valid ParenthesesEASY
66.0
29Spiral MatrixMEDIUM
64.6
30Find Peak ElementMEDIUM
64.6
31Two SumEASY
64.6
32Binary Tree Maximum Path SumHARD
64.6
33Sort ColorsMEDIUM
64.6
34Construct Binary Tree from Preorder and Inorder TraversalMEDIUM
63.0
35Word Break IIHARD
63.0
36Maximum SubarrayMEDIUM
61.4
37PermutationsMEDIUM
61.4
38Edit DistanceMEDIUM
61.4
39Generate ParenthesesMEDIUM
61.4
40Combination Sum IIMEDIUM
61.4
41Find First and Last Position of Element in Sorted ArrayMEDIUM
59.6
42Regular Expression MatchingHARD
57.6
43Container With Most WaterMEDIUM
57.6
44Word BreakMEDIUM
57.6
45Reverse Nodes in k-GroupHARD
57.6
46Longest Consecutive SequenceMEDIUM
55.5
47Jump GameMEDIUM
55.5
48Best Time to Buy and Sell Stock IIMEDIUM
55.5
49Group AnagramsMEDIUM
53.2
50Merge Sorted ArrayEASY
53.2

Frequencies derived from public community-tagged interview reports. Click a row to view on LeetCode.

The hedge

You have a week, maybe less. You can't out-grind the list above. StealthCoder runs invisibly during the actual TikTok OA. The proctor cannot see it. Screen share cannot detect it. Made by a working Amazon engineer who got tired of watching qualified friends bomb OAs they'd solve cold in an IDE.

Get StealthCoder
Topic distribution
What this means

Arrays and strings account for roughly 84 percent of the problem set. Dynamic programming hits 38 problems, hash tables 37, and graph traversal (DFS/BFS combined) sits around 50. The jump from medium to hard is steep: Trapping Rain Water needs monotonic stack thinking, Making A Large Island requires union find or optimized DFS, and Merge k Sorted Lists demands heap or merge-sort logic. Start with array and string fundamentals, move into sliding-window (Longest Substring Without Repeating, Minimum Window Substring), then hammer dynamic programming and graph patterns. If you haven't internalized two-pointers or binary search under pressure, StealthCoder is your hedge for the live OA when pattern recognition fails.

Companies with similar patterns

If you prepped for TikTok, these companies recycle ~60% of the same topics.

The honest play

You've seen the list. Now make sure you pass TikTok.

Memorizing every problem above in a week is a fantasy. StealthCoder is the hedge: an AI overlay that's invisible during screen share. It reads the problem on screen and surfaces a working solution in under 2 seconds. Made by a working Amazon engineer who got tired of watching qualified friends bomb OAs they'd solve cold in an IDE. Works on HackerRank, CodeSignal, CoderPad, and Karat.

TikTok interview FAQ

How much of TikTok's interview is actually arrays?+

Arrays appear in roughly 55 percent of the 180 reported problems, often paired with other patterns like sorting, two-pointers, or binary search. Strings are second at 28 percent. If you can't handle array manipulation and searching efficiently, you're starting behind. Drill those first.

Is dynamic programming optional or required?+

Dynamic programming shows up in 38 reported problems, and several of the hardest ones combine it with other patterns. Longest Increasing Subsequence, Trapping Rain Water, and Valid Parenthesis String all need DP thinking. It's not optional. Plan 40 percent of your prep time there.

What's the hardest problem category I should expect?+

41 of 180 are hard. Merge k Sorted Lists, Trapping Rain Water, and Making A Large Island are typical difficulty. They mix multiple patterns: heap work, monotonic stacks, union find, or optimized DFS. Medium problems can also require clean algorithmic thinking, so don't assume hard means novel.

Should I practice hash-table problems separately?+

Hash tables appear in 37 problems but often embedded in medium-difficulty strings and arrays. LRU Cache, Top K Frequent Elements, and Longest Substring Without Repeating all need hash-table fluency. Practice them as part of sliding-window and design problem flows, not in isolation.

How many graph problems will I see?+

DFS and BFS combined account for roughly 50 problems. Course Schedule, Number of Islands, and Making A Large Island are common. Graph traversal is core to their interview. If topological sort or union find feel unfamiliar, block dedicated time before your OA.

Problem frequencies sourced from public community-maintained interview-report repos. Problems, ratings, and trademarks are property of LeetCode and TikTok. StealthCoder is not affiliated with TikTok.