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
Medium
Data Scientist

Diagnose Search Issues with Relevant Metrics and Solutions

Brand-Name Search: Diagnosing Relevance and Safety Issues Brand clients report that when users search for their own brand name, the platform surfaces ...

Analytics & Experimentation
21
0
76 people solved
Jul 12, 2025
TikTok logo
TikTok
Medium
Data Scientist

Investigate Traffic Distribution Impact on Retention Decrease

A/B Test Diagnostics: Traffic Distribution and Retention Drop An A/B test changed a button color from green in control to red in treatment. The primar...

Analytics & Experimentation
94
0
176 people solved
Jul 12, 2025
TikTok logo
TikTok
Medium
Machine Learning Engineer

Describe internship and research projects

Describe internship and research projects Behavioral/Leadership Prompt: Two Projects (Internship + Research) Context You are interviewing for a Machin...

Behavioral & Leadership
11
0
83 people solved
Aug 8, 2025
TikTok logo
TikTok
Easy
Data Scientist

Implement stacks, streaming median, and upward path sum

Complete the following coding problems. State the time/space complexity and key edge cases for each. 1) MinStack Design a stack that supports: - push(...

Coding & Algorithms
10
0
118 people solved
Feb 17, 2026
TikTok logo
TikTok
Medium
Software Engineer

Describe a service performance challenge

Behavioral: Improving a Production Service's Performance Describe a challenging time you improved the performance of a production service. Include the...

Behavioral & Leadership
10
0
78 people solved
Sep 6, 2025
TikTok logo
TikTok
Easy
Software Engineer Locked

Find the longest palindromic substring

This question evaluates proficiency in string manipulation and algorithmic problem-solving, focusing on palindrome detection and substring handling wi...

Coding & Algorithms
6
0
57 people solved
Feb 12, 2026
TikTok logo
TikTok
Medium
Data Scientist

Predict Customer Churn with Machine Learning Workflow

Predict Monthly Customer Churn With an End-to-End ML Workflow A subscription platform wants to predict whether a customer will churn in the next month...

Machine Learning
20
0
55 people solved
Jul 12, 2025
TikTok logo
TikTok
Hard
Data Scientist

Design Real-Time Credit Card Fraud Detection System

Design a Real-Time Credit-Card Fraud Detection System You are designing a real-time fraud detection system for an online payments platform that proces...

Machine Learning
22
0
75 people solved
Jul 12, 2025
TikTok logo
TikTok
Hard
Machine Learning Engineer

Generate all safe queen placements on board

You are given an integer n representing the size of a chessboard (n × n). You need to place n queens on the board so that no two queens attack each ot...

Coding & Algorithms
4
0
41 people solved
Dec 8, 2025
TikTok logo
TikTok
Medium
Software Engineer

Describe career plan and teamwork approach

Answer the following behavioral questions: 1. Career planning: What are your next 1–3 year career goals, and why are you pursuing this role/team now? ...

Behavioral & Leadership
5
0
57 people solved
Dec 8, 2025
TikTok logo
TikTok
Medium
Software Engineer

Solve pair-counting and account-merging problems

Problem A — Count qualifying products You are given two integer arrays A and B, and an integer T. For each element a in A, count how many elements b i...

Coding & Algorithms
3
0
55 people solved
Dec 8, 2025
TikTok logo
TikTok
Hard
Data Scientist

Investigate visit–report correlation causality

Causal Diagnosis: Do More Ad Page Visits Cause More Reports? Context You observe a positive correlation between the number of ad page visits and the p...

Analytics & Experimentation
3
0
48 people solved
Oct 13, 2025
TikTok logo
TikTok
Hard
Data Scientist

Act when A/B result is not significant

A/B Test Planning and Decision-Making for a 60s Video Change Context: You are evaluating a product change with completion rate as the primary metric. ...

Statistics & Math
6
0
56 people solved
Oct 13, 2025
TikTok logo
TikTok
Hard
Data Scientist Locked

Causally measure traffic reduction effectiveness

This question evaluates skills in causal inference and quasi-experimental design, including specifying estimands, choosing RD and staggered DiD approa...

Analytics & Experimentation
3
0
37 people solved
Oct 13, 2025
TikTok logo
TikTok
Medium
Data Scientist

Differentiate LDA and QDA; compute boundary

Binary Gaussian Classification: LDA vs QDA You are modeling a 2D binary Gaussian classifier with features (x, y): - Class 0: mean μ0 = (0, 0), covaria...

Statistics & Math
6
0
45 people solved
Oct 13, 2025
TikTok logo
TikTok
Medium
Data Scientist

Optimize threshold using confusion matrix and costs

Calibrated Classifier on an Imbalanced Dataset (1% positives) You have a perfectly calibrated binary classifier evaluated on 10,000 held-out examples....

Statistics & Math
7
0
69 people solved
Oct 13, 2025
TikTok logo
TikTok
Medium
Data Scientist

Derive L1 vs L2 effects with correlation

Multicollinearity: Ridge vs LASSO vs Elastic Net Setup - Two standardized predictors x1 and x2 with corr(x1, x2) = 0.99. - X'X = [[100, 99], [99, 100]...

Statistics & Math
5
0
65 people solved
Oct 13, 2025
TikTok logo
TikTok
Hard
Data Scientist

Drive product decisions with causal product sense

Experimenting on a New Paywall with Likely Spillovers Context You are designing an experiment to evaluate a new paywall on a social/content app where ...

Analytics & Experimentation
7
0
65 people solved
Oct 13, 2025
TikTok logo
TikTok
Medium
Product Manager

In-App Purchase A/B Test Design & Evaluation

Product Experiment Prompt: In-App Purchase A/B Test Design and Evaluation You are testing two purchase pages in a mobile game. Page A presents a highe...

Product / Decision Making
16
0
72 people solved
Jul 4, 2025
TikTok logo
TikTok
Medium
Software Engineer

Implement list, form, and API rendering with pitfalls

Take-home: Build a Small Frontend App (List + Form + API + A11y) Goal Implement a simple web app that demonstrates core frontend skills: rendering fro...

Software Engineering Fundamentals
6
0
48 people solved
Aug 12, 2025

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