Tiktok Coding & Algorithms Interview Questions
Practice 301 real interview questions from Tiktok. Covers Coding & Algorithms, Analytics & Experimentation, Behavioral & Leadership, Data Manipulation (SQL/Python). For roles including Data Scientist, Software Engineer, Machine Learning Engineer, Product Manager.

"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."
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...
Define Ultra success metrics and detect suspicious transactions
You work on a fintech product with these existing tables (UTC timestamps). You may only use these tables/columns; if a metric cannot be measured direc...
Design a model to choose dynamic K
Problem You are building a recommender system with a two-stage ranking pipeline: 1. Candidate retrieval (recall): fetch top-K candidates for a request...
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...
Design multimodal deployment under compute limits
You need to answer a set of questions related to multimodal model deployment and post-training optimization in an interview. Provide systematic explan...
Design video captioning under compute limits
Scenario You are deploying a multimodal large model that generates captions for videos. Part A — Deployment under compute / VRAM constraints - The mod...
Write self-attention and cross-entropy pseudocode
You are asked to explain core Transformer / deep learning components. Part A — Self-attention pseudocode Write clear pseudocode (not full code) for sc...
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 common interview coding problems
You are given several independent coding tasks (typical of SWE/MLE interview rounds). For each task, design an algorithm and describe the time/space c...
Solve two grid problems (islands + min-cost path)
You are given two separate coding questions. Problem A: Count distinct islands (translation-equivalent) Given an m x n binary grid grid (0 = water, 1 ...
Design a distributed key-value store
Scenario Design a distributed key-value (KV) store. Requirements Functional - API: - Get(key) -> value | not_found - Put(key, value) (optionally w...
Explain overfitting, dropout, normalization, RL post-training
Machine Learning fundamentals Answer the following: 1. What is overfitting? How can it be mitigated in machine learning? 2. Narrowing to deep learning...
Find the longest palindromic substring
Problem Given a string s, return the longest contiguous substring of s that is a palindrome (reads the same forward and backward). Input - s: a non-em...
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(...
Choose tools for scalable distributed systems
You are asked systems/design-concepts questions based on real product scenarios. For each scenario below: 1) Identify the main requirements (latency, ...
Implement stack variants and path-sum check
Coding tasks Solve the following algorithmic problems. 1) MinStack Design a stack supporting: - push(x), pop(), top() - getMin() returning the minimum...
Parse a nested list from a string
Given a string that encodes a nested list (ArrayList-like notation), parse it into an in-memory nested list structure. Input format - The string conta...
Design a content moderation system
Design a content moderation system for a large-scale product where users can submit content (e.g., text posts, images, videos, comments, or messages)....
Explain how Kafka works
Prompt Explain how Apache Kafka works at a high level and then in more detail. Cover at least: - Core entities: broker, topic, partition, producer, co...
Solve three string/stack/backtracking problems
You are given three independent coding tasks (solve each one). Unless otherwise stated, implement a function with the described input/output. Problem ...