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.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Design training for multimodal embedding model
You need to train a multimodal LLM-based system that produces multimodal embeddings (e.g., a shared vector space where text, images, and optionally au...
Compute minimum path sum in a triangle
Given a triangle of integers represented as a list of rows, find the minimum path sum from the top to the bottom. - From row r and index c, you may mo...
Implement local maxima, bagging, and k-means
Solve the following programming tasks. 1) Find all “local maxima” in a streaming temperature array You are cleaning sensor data for temperature-fluctu...
Solve common string/DP/stack problems
You are given four independent coding tasks. For each task, describe your approach and analyze time and space complexity. Task 1: Longest substring wi...
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...
Solve string grouping and tree right-view problems
Problem 1: Group words that are anagrams You are given an array of strings words. Two strings are anagrams if they contain the same characters with th...
Delete nodes in linked list and binary tree
You are asked to solve two short coding tasks. You may assume standard node definitions: - Singly linked list node: val, next - Binary tree node: val,...
Digital Marketing Campaign ROI Analysis
Allocate Budget Between Two TikTok Ad Creatives (Mobile Games) Context You are evaluating two TikTok ad creatives (Creative A and Creative B), each pr...
Find high-value crypto users and top-CTR product
You are given three tables (timezone: UTC). Assume create_date, transaction_time, and event_time are timestamps. Tables users - user_id BIGINT PRIMARY...
TikTok Product Strategy & Case Design
Product Decision-Making and Design Prompts Context: You are interviewing for a Product Manager role. Answer the following mini-prompts. Where relevant...
Explain project choices, metrics, and AI usage
Behavioral / Project deep-dive You’ll be asked to walk through a recent project you worked on (preferably one with meaningful technical and business i...
Compare SQL counts, windows, and NULL semantics
You’re given two tables. users(id INT, country STRING, created_at DATE) rows: 1 | US | 2025-08-28 2 | US | 2025-08-30 3 | IN | 2025-08-29 4 | BR | 202...
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...
Verify business accounts with progressive KYC rules
You are implementing a simplified KYC verification pipeline for onboarding business accounts. Each account contains these text fields: - business_name...
Reverse nodes in even-length linked-list groups
Problem Given the head of a singly linked list, you will traverse the list in contiguous groups of increasing size: the 1st group has size 1, the 2nd ...
Compute pipeline order from dependencies
You are given a set of pipelines and a list of directed dependency pairs (A, B) meaning pipeline A depends on pipeline B and therefore B must run befo...
Segment a message with width-constrained suffixes
Given a message string s and an integer width W, split s into consecutive segments and append a suffix "i/n" to each segment indicating its 1-indexed ...
Find length of longest common subsequence
Given two strings s and t, return the length of their longest common subsequence. A subsequence is obtained by deleting zero or more characters withou...
Behavioral Fit & Leadership at TikTok
Behavioral Interview Prompts — Product Manager (TikTok) Context You are preparing for a Product Manager interview with a focus on behavioral and leade...
Prove conversion ads value via incrementality
Measuring Incremental Lift of Conversion-Optimized Ads Context An e-commerce advertiser is running conversion-optimized ads and requests rigorous proo...