TikTok interview practice
TikTok interview questions
86 questions; coding questions sorted by reports.FastPrep has 86 coding questions tagged TikTok. Filter them by interview stage and open any one to practice it.
- Questions
- 86 coding
- By stage
- Online Assessment 81 · Phone Screen 2 · Onsite 3
- Updated
Question list
All 86 TikTok coding questions
Sorted by how many times each question was reported. Pick a stage to see only its questions.
Showing 86 of 86 TikTok questions.
| Question | Difficulty | Stage | Reports |
|---|---|---|---|
| TikTok Shopping SpreeGreedySorting | Easy | OA | 4 reports · last Mar 2025 |
| Count Subarrays with at Least K Equal-Fruit PairsArraySliding Window | Medium | OA | 3 reports · last Oct 2026 |
| Count Subarrays Matching a Comparison PatternArrayString | Medium | OA | 2 reports · last Nov 2026 |
| Product Minus Sum of DigitsMathSimulation | Easy | OA | 2 reports · last Aug 2026 |
| Optimize TikTok Reels ViewingGreedyHeap | Medium | OA | 2 reports · last Aug 2026 |
| Format TextStringSimulation | Medium | OA | 2 reports · last Jul 2026 |
| TikTok Video Relevance AdjustmentBinary SearchArray | Medium | OA | 2 reports · last Mar 2025 |
| Viral Content BalancerStringHash Table | Hard | OA | 2 reports · last Jan 2025 |
| Center of the Largest Perfect X-ShapeArrayMatrix | Medium | OA | 1 report · last Nov 2026 |
| Count Suffix Word PairsArrayString | Medium | OA | 1 report · last Nov 2026 |
| Minimum Cost of Every K-Capable Model SetGreedySorting | Medium | OA | 1 report · last Nov 2026 |
| Longest Substring Without Repeating CharactersStringSliding Window | Medium | Phone | 1 report · last Oct 2026 |
| Next Greater Indices and Maximum GapArrayStack | Medium | Phone | 1 report · last Oct 2026 |
| Shell Command Counts with History ReferencesArraySimulation | Easy | OA | 1 report · last Oct 2026 |
| Count 2x2 Submatrices by Black CellsArrayHash Table | Medium | OA | 1 report · last Aug 2026 |
| Find All Local PeaksArraySimulation | Easy | OA | 1 report · last Aug 2026 |
| Count Case-Insensitive TripletsStringSimulation | Easy | OA | 1 report · last Aug 2026 |
| LRU Cache with TTL ExpirationDesignHash Table | Hard | Onsite | 1 report · last May 2026 |
| Maximum Candies with At Most Two Types in a LineSliding WindowHash Table | Easy | Onsite | 1 report · last May 2026 |
| Top-K KOLs by Total LikesHash TableHeap | Easy | Onsite | 1 report · last May 2026 |
| Compute Walking DistanceArraySorting | Easy | OA | 1 report · last Mar 2026 |
| Count Sawtooth SubarraysArrayDynamic Programming | Easy | OA | 1 report · last Mar 2026 |
| Memory AllocatorArraySimulation | Medium | OA | 1 report · last Mar 2026 |
| TikTok Shopping SpreeHeapGreedy | Easy | OA | 1 report · last Mar 2025 |
| Match and SwipeStackMath | Medium | OA | 1 report · last Feb 2025 |
| Max LikesDynamic ProgrammingHash Table | Medium | OA | 1 report · last Feb 2025 |
| Changing UsernameStringDynamic Programming | Medium | OA | 1 report · last Feb 2025 |
| Playlist PartitioningGreedyBinary Search | Medium | OA | 1 report · last Feb 2025 |
| Equalize Server LatencyTreeGreedy | Medium | OA | 1 report · last Feb 2025 |
| Maximum Positive FeedbackStringPrefix Sum | Medium | OA | 1 report · last Feb 2025 |
| Viral Content BalancerStringHash Table | Medium | OA | 1 report · last Jan 2025 |
| TikTok Spam FilterStringHash Table | Easy | OA | 1 report · last Jan 2025 |
| TikTok Twin PairsStringHash Table | Easy | OA | 1 report · last Jan 2025 |
| TikTok Reel Impact (TikTok AMS)Heap | Medium | OA | 1 report · last Dec 2024 |
| Interesting Watch SequenceDynamic ProgrammingBinary Search | Medium | OA | 1 report · last Dec 2024 |
| Maximize CollaborationArrayDynamic Programming | Hard | OA | 1 report · last Nov 2024 |
| TikTok Video ProcessingDynamic ProgrammingHash Table | Easy | OA | 1 report · last Nov 2024 |
| Maximize Throughput (AMS)GraphGreedy | Medium | OA | 1 report · last Nov 2024 |
| String Challenge (Generic)Dynamic ProgrammingString | Hard | OA | 1 report · last Nov 2024 |
| TikTok UserDynamic ProgrammingMath | Hard | OA | 1 report · last Nov 2024 |
| Video ID Generation (Generic)StringSliding Window | Medium | OA | 1 report · last Oct 2024 |
| TikTok Balanced ClipsDynamic ProgrammingString | Medium | OA | 1 report · last Oct 2024 |
| TikTok Server Network OptimizationGraphSorting | Medium | OA | 1 report · last Oct 2024 |
| Clean Up CaptionsStringHash Table | Easy | OA | 1 report · last Oct 2024 |
| TikRouter DeliversSortingGreedy | Easy | OA | 1 report · last Oct 2024 |
| Influencers SquadArraySorting | Easy | OA | 1 report · last Oct 2024 |
| Maximize EngagementArraySorting | Easy | OA | 1 report · last Oct 2024 |
| Tiktok Viral ChallengeStringSliding Window | Medium | OA | 1 report · last Sep 2024 |
| TikTok Server OptimizationArraySliding Window | Medium | OA | 1 report · last Sep 2024 |
| TikTok Credits Distribution ChallengeArrayDynamic Programming | Medium | OA | 1 report · last Sep 2024 |
| Count Good SubsegmentsArrayTwo Pointers | Medium | OA | 1 report · last Sep 2024 |
| Get Minimum CostHeapGreedy | Easy | OA | 1 report · last Sep 2024 |
| Maximize Efficiency with TikTokArraySorting | Easy | OA | 1 report · last Sep 2024 |
| TikTok: Secondary InfluencersTreeBreadth-First Search | Medium | OA | 1 report · last Sep 2024 |
| Social Media FeedSortingString | Easy | OA | 1 report · last Sep 2024 |
| Number of Substrings Without VowelsStringMath | Easy | OA | 1 report · last Aug 2024 |
| Minimum Days to Target EngagementGreedySorting | Hard | OA | 1 report · last Aug 2024 |
| URL BuilderStringSimulation | Easy | OA | 1 report · last Aug 2024 |
| TikTok Circular Clip AnalysisStringHash Table | Medium | OA | 1 report · last Aug 2024 |
| Find Minimum Number of TransitionsArrayGreedy | Easy | OA | 1 report · last Aug 2024 |
| Find Pair with Maximum GCDMathArray | Medium | OA | 1 report · last Aug 2024 |
| Max Shared CategoriesMathArray | Easy | OA | 1 report · last Aug 2024 |
| Minimizing Transitions in TikTok Content StorageArrayGreedy | Medium | OA | 1 report · last Aug 2024 |
| Optimizing TikTok Collectible PacksArrayMath | Medium | OA | 1 report · last Aug 2024 |
| TikTok Metrics AnalysisArrayBinary Search | Medium | OA | 1 report · last Aug 2024 |
| Eating CandiesArrayTwo Pointers | Easy | OA | 1 report · last Aug 2024 |
| Exchange CupsArraySorting | Medium | OA | 1 report · last Aug 2024 |
| Maximum Shown SegmentsArraySorting | Medium | OA | 1 report · last Apr 2024 |
| Ball Arrangement for Maximum Engagement 🐾GreedySorting | Hard | OA | 1 report · last Apr 2024 |
| Authentication System 🐹Hash TableDesign | Medium | OA | 1 report · last Mar 2024 |
| Server Investment 🐳ArrayGreedy | Medium | OA | 1 report · last Mar 2024 |
| Maximize Consecutive Dance Moves 🩰StringSliding Window | Medium | OA | 1 report · last Mar 2024 |
| Minimum Buckets 🐰ArrayGreedy | Medium | OA | 1 report · last Mar 2024 |
| The Three Knights 🎠CombinatoricsMath | Hard | OA | 1 report · last Mar 2024 |
| URL Hashing 🐩StringSimulation | Easy | OA | 1 report · last Mar 2024 |
| Longest Concave SubsequenceDynamic ProgrammingArray | Hard | OA | 1 report · last Feb 2024 |
| Minimum Inversions 🍑ArrayBit Manipulation | Hard | OA | 1 report · last Feb 2024 |
| Minimum Product SumArraySorting | Medium | OA | 1 report · last Feb 2024 |
| Maximum XOR SuffixBit ManipulationGreedy | Medium | OA | 1 report · last Feb 2024 |
| Spend it AllArraySimulation | Easy | OA | 1 report · last Feb 2024 |
| Subsequences of ThreeArraySorting | Medium | OA | 1 report · last Feb 2024 |
| Load BalancerHeapSimulation | Medium | OA | 1 report · last Feb 2024 |
| Longest ORSliding WindowBit Manipulation | Medium | OA | 1 report · last Feb 2024 |
| Minimum CyclesArrayGreedy | Medium | OA | 1 report · last Feb 2024 |
| Segment QueriesSegment TreeHash Table | Hard | OA | 1 report · last Feb 2024 |
| Stars and BarsStringPrefix Sum | Medium | OA | 1 report · last Feb 2024 |
At a glance
TikTok interview process
FastPrep has 86 TikTok coding interview questions: 81 questions from the online assessment (OA), 2 questions from phone screens and 3 questions from onsite rounds. Most are medium (48 medium, 27 easy and 11 hard). The most common topics are Array, Greedy, String, Hash Table and Sorting. The latest report is from Nov 2026.
Online Assessment
81 questions · 46 medium, 25 easy and 10 hard
Topics: Array, Greedy and String
Latest report: Nov 2026
Phone Screen
2 questions · 2 medium
Topics: Array, Hash Table and Sliding Window
Latest report: Oct 2026
Onsite
3 questions · 2 easy and 1 hard
Topics: Hash Table, Design and Heap
Latest report: May 2026
TikTok interview experiences
- TikTok AI Infra Intern LLM Round 2: 1 Experience
- TikTok AI Infra Intern DeepSpeed Round: 1 Experience
- TikTok AI Infra Intern Kernel Round: 1 Experience
- TikTok AI Infra Intern Interviews, 3 Rounds: 1 Experience
- TikTok AI Infra Intern Interview Timeline: 1 Experience
- TikTok AI Infra Intern Onsite Round 2: 1 Experience
- TikTok AI Infra Intern Onsite Round 1: 1 Experience
- TikTok AI Infra Intern GPU Serving Onsite: 1 Experience
By stage and level
TikTok questions by stage and level
01 · Preparation plan
Build a reliable simulation-first assessment routine.
TikTok's public set is assessment-heavy, with many array and simulation exercises. The useful preparation pattern is to turn each rule into an explicit state transition, then eliminate unnecessary scanning. Keep this page's TikTok-tagged practice separate from ByteDance's differently tagged technical catalog. This is a suggested practice order, not TikTok's interview process. Your invitation and recruiter come first.
- 01
Translate allocation rules into state
Begin with package allocation and write down how each operation changes the distribution center. The aim is a faithful model before attempting a faster implementation.
- List what each operation reads and changes.
- Test exhausted capacity and repeated allocation requests.
- Compare a simple simulation with the required complexity.
- 02
Track completion order
Use event-check completion times to distinguish arrival order, queue order, and output order. A small hand-worked trace often exposes mistakes that random examples miss.
- Annotate the queue after every event.
- Test simultaneous arrivals and idle periods where applicable.
- Verify that each completion is recorded once.
- 03
Count only affected grid windows
The black-block exercise connects local changes to small matrix neighborhoods. Derive which 2-by-2 windows a cell can affect instead of rescanning the entire board.
- Enumerate candidate window origins around one cell.
- Discard out-of-bounds windows before counting.
- Check corner, edge, and repeated-cell behavior.
02 · About these questions
Where these TikTok questions come from
Each question on this page is tagged TikTok in FastPrep's problem bank. The report count and month show how often and how recently it was reported from TikTok interviews.
Past reports help you choose what to practice first. They can't tell you which questions, format or platform your own interview will use.
- Only questions tagged TikTok appear on this page.
- Each coding question shows its stage and last report date when known.
- These are not official, private or leaked TikTok questions.
03 · FAQ
TikTok interview questions: FAQ
For hiring news and timelines, see the TikTok hiring insights page.
01What are the stages of the TikTok interview?
The 86 TikTok coding questions on FastPrep come from the online assessment (81 questions), phone screens (2 questions) and onsite rounds (3 questions). Stages differ by role, level and date, so check your invitation for your own process.
02What does the TikTok OA look like?
81 of the 86 TikTok coding questions on FastPrep come from the online assessment. By difficulty: 46 medium, 25 easy and 10 hard. Common OA topics: Array, Greedy and String. The latest OA report is from Nov 2026.
03How hard is the TikTok interview?
Most TikTok coding questions on FastPrep are medium. By difficulty, the 86 rated questions are 48 medium, 27 easy and 11 hard.
04What topics come up in TikTok coding interviews?
Across 86 TikTok coding questions, the most common topics are Array (36 questions), Greedy (25 questions), String (23 questions), Hash Table (20 questions) and Sorting (18 questions).
05What are the most asked TikTok interview questions?
The most reported questions are “TikTok Shopping Spree” (4 reports), “Count Subarrays with at Least K Equal-Fruit Pairs” (3 reports) and “Count Subarrays Matching a Comparison Pattern” (2 reports).
06Is this an exact TikTok CodeSignal simulation?
No. Some catalog records explicitly name CodeSignal, while others have different or unproven platform metadata. The exercises help with timed implementation and testing, but they do not reproduce a current assessment, score, duration, or question order. Your invitation determines the platform and permitted tools.
07Is FastPrep affiliated with TikTok?
No. FastPrep is an independent interview prep site and is not affiliated with TikTok. These are practice questions from FastPrep's problem bank, not official, private or leaked TikTok questions.
08How do you know which stage a TikTok question is from?
Each question's stage comes from the reports behind it. A question can be reported from more than one stage, and the process can change by role, level, location and year, so treat the stage as a guide, not a promise.
09Which TikTok interview stage should I practice first?
The stage named in your invitation or recruiter message. If you don't know the stage yet, start with the stage that has the most questions, then practice explaining and testing your code out loud.
10Can this page tell me exactly what my TikTok interview will ask?
No. Report counts, stages and dates show what came up before and help you choose what to practice first. They can't predict the questions, order, timing or platform of your own interview.
Next step
Pick a question. Solve it end to end.
Start with the stage named in your invitation. Past reports show what came up before, not what you will be asked.
Back to the question list