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
Software Engineer

Solve Topological Sort and Anagram Indices

1) Given a directed graph (n vertices, m edges), return a topological ordering if one exists. If the graph contains a cycle, detect it and explain how...

Coding & Algorithms
3
0
49 people solved
Aug 11, 2025
TikTok logo
TikTok
Medium
Software Engineer

Explain portfolio, design language, and delivery

Explain portfolio, design language, and delivery Prompt: Portfolio Walkthrough, Design Language, and Landing Under Constraints Context You are intervi...

Behavioral & Leadership
5
0
44 people solved
Aug 9, 2025
TikTok logo
TikTok
Medium
Data Scientist

Evaluate Cohort Posting Patterns Using Metrics and Tests

Evaluate Cohort Posting Patterns Using Metrics and Tests Assessing Whether Cohorts Have the Same or Different Posting Patterns Context You have multip...

Analytics & Experimentation
4
0
33 people solved
Aug 4, 2025
TikTok logo
TikTok
Medium
Software Engineer

Explain Java ConcurrentHashMap and queues

An interviewer asks you conceptual questions about Java's concurrency primitives. Explain in detail: 1. How Java's ConcurrentHashMap is implemented in...

Software Engineering Fundamentals
3
0
53 people solved
Nov 16, 2025
TikTok logo
TikTok
Hard
Data Scientist

Design an experiment for exploratory recommendations

Experiment Design for Exploratory Recommendations You are launching an online A/B test for a new recommendation algorithm. The goal is to increase use...

Analytics & Experimentation
4
0
36 people solved
Jul 13, 2025
TikTok logo
TikTok
Medium
Data Scientist

Resolve Stakeholder Conflicts: Actions and Outcomes Explained

Behavioral Interview: Navigating Stakeholder Conflict You are a Data Scientist delivering a product or experiment with stakeholders such as Product, E...

Behavioral & Leadership
9
0
64 people solved
Jul 12, 2025
TikTok logo
TikTok
Medium
Software EngineerIntern Locked

Reconstruct a binary tree from traversals

This question evaluates understanding of binary tree traversal properties, data structure manipulation, and algorithmic complexity involved in reconst...

Coding & Algorithms
4
0
33 people solved
Jan 11, 2026
TikTok logo
TikTok
Hard
Product Manager

TikTok Product Strategy & Case Design

Product Decision-Making and Design Prompts: TikTok PM You are interviewing for a Product Manager role. Answer the following mini-prompts. State assump...

Product / Decision Making
14
0
86 people solved
Jul 4, 2025
TikTok logo
TikTok
Medium
Product Manager

Secretary Problem – Selecting the Most Valuable Painting

Optimal Stopping Prompt: Choosing a Painting from 100 Rooms You are invited to an island with 100 rooms, each containing one painting. You may enter t...

Product / Decision Making
12
0
33 people solved
Jul 4, 2025
TikTok logo
TikTok
Medium
Software Engineer Locked

Solve linked list, string filtering, and puzzle

This multi-part question evaluates proficiency with linked-list pointer manipulation and constant-space linear-time algorithms, pattern-driven string ...

Coding & Algorithms
6
0
42 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Data Scientist

Explain motivations, background, and success metrics

Give a concise overview of your background in e‑commerce risk control (30–60 seconds). Then: (1) Why do you want to join our e‑commerce risk team spec...

Behavioral & Leadership
4
0
36 people solved
Oct 13, 2025
TikTok logo
TikTok
Medium
Data Scientist

Demonstrate leadership in cross-functional disagreement

Behavioral & Leadership (HR Screen, Data Scientist) Prompt Describe a time you disagreed with a partner team (e.g., product pushing for more aggressiv...

Behavioral & Leadership
2
0
27 people solved
Oct 13, 2025
TikTok logo
TikTok
Medium
Data Scientist

Analyze shopping funnel with joins and windows

Write SQL (PostgreSQL) to analyze a 4-step shopping funnel: view_product → add_to_cart → checkout_start → purchase. Use the schema and sample data bel...

Data Manipulation (SQL/Python)
14
0
115 people solved
Oct 13, 2025
TikTok logo
TikTok
Hard
Data Scientist

Design and evaluate a dasher bike rollout

Program Evaluation: Allow Car Dashers to Also Use Their Own Bikes/E-bikes Context DoorDash (DD) will relaunch an opt-in feature that lets existing car...

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

Interpret and validate regression with interactions

Modeling 7-day Retention with LPM and Logistic Regression Context You have user-level data with a binary outcome retained_7d (1 if the user is active ...

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

Diagnose a watch-time drop and design experiments

This question evaluates a data scientist's competency in experimental design, causal inference, metric selection and definition, segmentation, and sta...

Analytics & Experimentation
6
0
45 people solved
Oct 13, 2025
TikTok logo
TikTok
Medium
Data Scientist

Analyze DFS, BFS, and A* trade-offs

Given a weighted graph with nodes {S,A,B,C,D,G} and edges: S–A(2), S–B(5), A–C(2), B–C(1), C–D(2), D–G(1), B–G(20). Heuristic for A*: h(A)=4, h(B)=3, ...

Coding & Algorithms
4
0
62 people solved
Oct 13, 2025
TikTok logo
TikTok
Medium
Data Scientist

Choose linear regression or decision tree appropriately

Choose Between Linear Regression and a Decision Tree Under a Hinge and Interaction DGP Context You have 100,000 i.i.d. observations with features x1 (...

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

Contrast LSTM and Transformer for long sequences

This question evaluates understanding of sequence-model architectures and system-level trade-offs for long-context autoregressive language models, cov...

Machine Learning
3
0
42 people solved
Oct 13, 2025
TikTok logo
TikTok
Hard
Data Scientist

Estimate heterogeneous treatment effects with causal ML

Context You are given large-scale, logged observational data from an always-on promotion. Each record contains features X (user/context), a binary tre...

Machine Learning
4
0
47 people solved
Oct 13, 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