TikTok Interview Questions

TikTok Coding & Algorithms Interview Questions

Practice 291 real TikTok interview questions for 2026 — TikTok interview questions drawn from actual interviews with detailed solutions to support focused interview preparation. This collection emphasizes coding and system-design skills first (Coding & Algorithms, System Design), then moves to analytics, experimentation, SQL/Python, machine learning, and behavioral topics. Expect live coding (arrays, strings, trees, DP), mid-level system-design rounds that probe scale and video-recommendation tradeoffs, product-analytics and A/B discussion, and role-specific takeaways for data and ML roles. Prep by practicing medium-to-hard coding problems, sketching scalable architectures, rehearsing STAR stories tied to impact, and building short SQL/Python notebooks that reproduce common TikTok metrics. For role-specific patterns: Software Engineer rounds repeatedly test string/DP/stack problems, nested-list parsing, tree and linked-list manipulations, and designing scalable testable APIs. Data Scientists focus on metric definition and decomposition, fraud and precision/recall tradeoffs, live-creator and Watch-Time SQL, recommendation-bias and misinformation analysis, streaming-median and path-sum style algorithmic tasks, and multimodal deployment constraints. Machine Learning Engineers see dynamic-K models, video-captioning and multimodal embedding design under compute limits, attention/KV-cache topics, and ML diagnostics. Product Managers get flow critiques, A/B test design, monetization and anti-cheat product cases.

291 Questions 1 Company03.01.2026
Showing 20 results
Role
TikTok logo
TikTok
Hard
Data Scientist

Diagnose a sudden metric spike or drop

Investigate a 3-Day Jump in Checkout Conversion Rate (CCR) Context On 2025-06-12, the daily Checkout Conversion Rate (CCR) increased from 3.2% to 4.5%...

Analytics & Experimentation
8
0
120 people solved
Oct 13, 2025
TikTok logo
TikTok
Hard
Software EngineerIntern Locked

What skills are needed for AI infra roles?

This question evaluates familiarity with AI infrastructure and LLM serving, including systems and performance engineering, model inference mechanisms,...

ML System Design
10
0
78 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Design a content moderation system

This question evaluates a candidate's competency in designing large-scale content moderation systems, covering distributed architecture, scalability a...

System Design
6
0
105 people solved
Jan 22, 2026
TikTok logo
TikTok
Hard
Software Engineer

Design and explain your project architecture

Question Pick one of your recent projects and walk an interviewer through its architecture end-to-end. Sketch a high-level diagram, then go deep on th...

System Design
6
0
106 people solved
Aug 13, 2025
TikTok logo
TikTok
Medium
Software Engineer

Explain gap and project contributions

Behavioral/Technical Screen: Recent Work and Project Deep-Dive Context You are in a technical screen for a Software Engineer role. The interviewer wan...

Behavioral & Leadership
7
0
81 people solved
Sep 6, 2025
TikTok logo
TikTok
Medium
Machine Learning Engineer

Explain Transformer, GPT vs BERT, and PR metrics

Answer the following conceptual questions: 1. Transformer architecture - Describe the main components of a Transformer block and what each part doe...

Software Engineering Fundamentals
5
0
57 people solved
Dec 15, 2025
TikTok logo
TikTok
Hard
Machine Learning Engineer Locked

Answer ML fundamentals and diagnostics questions

This question evaluates proficiency with confusion-matrix metrics (recall and false positive rate), ensemble learning trade-offs, decision-tree split/...

Machine Learning
10
0
76 people solved
Jan 22, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Find a valid course order from prerequisites

This question evaluates understanding of graph algorithms, topological ordering, dependency resolution, and cycle detection within the Coding & Algori...

Coding & Algorithms
5
0
51 people solved
Jan 20, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Implement AUC-ROC, softmax, and logistic regression

This question evaluates practical implementation skills for core machine learning components—computing AUC-ROC (including ROC point generation and han...

Machine Learning
8
0
67 people solved
Jan 22, 2026
TikTok logo
TikTok
Medium
Machine Learning Engineer Locked

Design training for multimodal embedding model

This question evaluates proficiency in end-to-end multimodal embedding system design, including model architecture, supervision and loss strategies, e...

ML System Design
4
0
55 people solved
Jan 22, 2026
TikTok logo
TikTok
Easy
Data Scientist Locked

Define and critique a user activity metric

This question evaluates a candidate's ability to design and critique user-activity metrics, covering event-level instrumentation, metric validity, and...

Analytics & Experimentation
6
0
72 people solved
Nov 15, 2025
TikTok logo
TikTok
Easy
Software Engineer Locked

Plan QA testing for a new feature

This question evaluates competency in QA test planning, test strategy and prioritization, cross-functional coordination with development and product, ...

Software Engineering Fundamentals
3
0
43 people solved
Feb 12, 2026
TikTok logo
TikTok
Hard
Data Scientist

Measure Billboard Campaign Effectiveness and Engagement Quantification

Measure Billboard Campaign Effectiveness and Engagement Quantification A consumer social platform places billboards in train stations to drive traffic...

Analytics & Experimentation
75
0
281 people solved
Jul 12, 2025
TikTok logo
TikTok
Hard
Data Scientist

Design robust metrics for a feature launch

A/B Test Metrics and Guardrails for Quick Reply (1-week) Context You are adding a Quick Reply feature (suggested reply chips in the DM composer) to a ...

Analytics & Experimentation
2
0
48 people solved
Oct 13, 2025
TikTok logo
TikTok
Medium
Software Engineer Locked

Answer core Python, CS, DB, and testing questions

This multi-part prompt evaluates core software engineering competencies including Python fundamentals (OOP, object/model behavior, iterators/generator...

Software Engineering Fundamentals
2
0
38 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Match payments to invoices with fallback rules

This question evaluates a candidate's ability to design robust record-matching logic that handles identifier-based matches, fallback heuristics, and n...

Coding & Algorithms
6
0
57 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Minimize total factory cost with distance penalties

This question evaluates dynamic programming and sequence optimization skills, focusing on modeling cumulative build costs with adjacency distance pena...

Coding & Algorithms
5
0
38 people solved
Jan 6, 2026
TikTok logo
TikTok
Hard
Data Scientist Locked

Detect and suppress bad sellers robustly

This question evaluates a candidate's competence in designing end-to-end machine learning risk systems, including label strategy and triage, feature e...

Machine Learning
4
0
50 people solved
Oct 13, 2025
TikTok logo
TikTok
Hard
Data Scientist

Explain and tune XGBoost; prevent overfitting

XGBoost Tree Booster: Objective, Hyperparameters, Tuning for Imbalanced Detection, and Post-training Use Context: You are building a binary classifier...

Machine Learning
4
0
63 people solved
Oct 13, 2025
TikTok logo
TikTok
Medium
Software Engineer Locked

Design a distributed key-value store

This question evaluates understanding of distributed systems concepts such as data partitioning, replication, consistency models, fault tolerance, sca...

System Design
6
0
75 people solved
Jan 22, 2026

Frequently Asked Questions

How difficult are TikTok interview questions across roles and levels?
TikTok interview questions are generally medium-to-hard and scale with role and seniority. Entry-level software and data roles usually see medium LeetCode-style problems plus basic systems or SQL checks, while mid and senior candidates face harder algorithmic problems, system design conversations that focus on video delivery and recommendation tradeoffs, and deeper product-metric reasoning. Data scientist interviews combine SQL, statistics, and real-world metric design; machine learning roles probe attention, deployment, and model-scaling constraints. Timed online assessments and hiring-committee reviews raise the bar for correctness, clarity, and tradeoff justification, so expect pressure to code accurately and explain decisions cleanly.
What is the typical TikTok interview process and which roles see which question categories?
The typical process starts with a recruiter screen, usually followed by an online assessment for technical roles, then one or more live technical interviews, and a final hiring-committee review. Software engineers encounter coding and, for mid/senior levels, system design focusing on video infrastructure and global latency. Data scientists face SQL, product-metric design, experimentation, and fraud or trust-and-safety scenarios. Machine learning engineers see modelling, attention/FlashAttention concepts, and deployment constraints. Product managers get product cases, A/B test design, and privacy tradeoffs. Behavioral and leadership questions appear in all tracks to assess ownership and cross-functional collaboration.
How long should I prepare for a TikTok interview and how should I structure my timeline?
Most candidates benefit from a 6-to-8-week focused plan that balances algorithm practice, system and product study, and role-specific work. Start with foundational algorithms and timed coding practice in weeks one to three, add system design and architecture rehearsals in weeks three to five if you are applying for mid/senior engineering, and dedicate parallel time to role-specific skills: SQL and experimentation for data scientists, attention and deployment constraints for ML engineers, and product-case frameworks for PMs. In the final two weeks, emphasize mock interviews, clean-up of portfolio or take-home projects, and behavioral storytelling using concrete impact examples.
What are the key subtopics I should master for TikTok interviews by role?
For Data Scientist roles, focus on metric definition and decomposition, fraud detection tradeoffs of precision versus recall, SQL window functions and streaming/real-time analytics, and A/B test design and diagnostics. Software Engineers should master strings, dynamic programming, stacks, parsing nested structures, common tree and linked-list manipulations, and scalable system choices for video and recommendation services. Machine Learning Engineers must know attention mechanisms, memory/kv cache patterns, RoPE/positional encodings, multimodal embedding training under compute limits, and overfitting diagnostics. Product Managers should be fluent in product strategy, experiment design, retention mechanics, and privacy implications.
What standout tips and common pitfalls should I remember when preparing for TikTok interviews?
Prioritize clear problem restatement, concrete examples, and early test cases when coding; interviewers value incremental, correct solutions over clever but opaque shortcuts. Quantify product impact when discussing metrics and choose evaluation criteria that match business goals rather than technical purity. For ML roles, emphasize validation strategy and production constraints like latency and memory. Avoid common pitfalls: ignoring edge cases, skipping complexity analysis, overengineering systems without operational considerations, and treating behavioral answers as rehearsed scripts instead of specific, outcome-focused stories demonstrating ownership and collaboration.

Explore more TikTok interview questions

Jump straight to TikTok questions for a specific role or category.

By role
By category
In-depth guides
Across all companies