Design an Ad Event Measurement Platform
Design a reliable event-time pipeline that ingests ad events and serves reproducible per-ad and campaign analytics despite duplicates, late data, and replay.
PracticeByteDance interview practice
FastPrep has 66 coding questions tagged ByteDance, plus 21 system design questions. Filter them by interview stage and open any one to practice it.
Question list
Sorted by how many times each question was reported. Pick a stage to see only its questions.
Showing 66 of 66 ByteDance questions.
| Question | Difficulty | Stage | Reports |
|---|---|---|---|
| Implement Multi-Head AttentionMatrixSimulation | Hard | Phone · Onsite | 5 reports · last Nov 2026 |
| Course ScheduleGraphBreadth-First Search | Medium | Phone · Onsite | 4 reports · last Dec 2026 |
| Least Recently Used CacheHash TableLinked List | Medium | Phone · Onsite | 4 reports · last Oct 2026 |
| Alien DictionaryGraphTopological Sort | Hard | Phone · Onsite | 3 reports · last Nov 2026 |
| Largest Number Below N from Reusable DigitsArrayString | Medium | Phone | 2 reports · last Nov 2026 |
| Valid ParenthesesStringStack | Easy | Phone | 2 reports · last Nov 2026 |
| Binary Tree Target-Sum PathsTreeDepth-First Search | Medium | Phone | 2 reports · last Nov 2026 |
| Lexicographically Smallest Topological OrderGraphTopological Sort | Medium | Phone · Onsite | 2 reports · last Nov 2026 |
| Dynamic Median with Additions and DeletionsHeapHash Table | Hard | Onsite | 2 reports · last Oct 2026 |
| Restore Addresses with K SegmentsStringBacktracking | Medium | Phone | 2 reports · last Sep 2026 |
| Minimum Removals for Non-Overlapping IntervalsArrayGreedy | Medium | Phone · Onsite | 2 reports · last Sep 2026 |
| Sorted Absolute-Difference Sums Across Cyclic ShiftsArraySorting | Medium | OA | 2 reports · last Aug 2026 |
| Implement QuicksortArraySorting | Medium | Phone | 1 report · last Dec 2026 |
| Largest Rectangle in HistogramArrayStack | Hard | Phone · Onsite | 1 report · last Dec 2026 |
| Reverse Linked ListLinked ListRecursion | Easy | Phone · Onsite | 1 report · last Dec 2026 |
| Count N-Queens PlacementsBacktrackingRecursion | Hard | Phone | 1 report · last Nov 2026 |
| Matrix EscapeArrayMatrix | Medium | Phone | 1 report · last Nov 2026 |
| Log Analyzer: Busiest Service in a Rolling WindowHash TableSorting | Medium | Phone | 1 report · last Nov 2026 |
| Search a Row- and Column-Sorted MatrixArrayBinary Search | Medium | Onsite | 1 report · last Nov 2026 |
| Majority ElementArrayHash Table | Easy | Phone | 1 report · last Nov 2026 |
| Longest Increasing SubsequenceArrayDynamic Programming | Medium | Phone | 1 report · last Nov 2026 |
| Maximum Number of Events That Can Be AttendedArrayGreedy | Medium | Phone | 1 report · last Nov 2026 |
| Meeting RoomsArraySorting | Easy | Phone | 1 report · last Oct 2026 |
| Meeting Rooms IIArraySorting | Medium | Phone | 1 report · last Oct 2026 |
| Shortest-Job-First Process SchedulingArraySorting | Medium | Phone | 1 report · last Oct 2026 |
| Sparse Matrix MultiplicationArrayHash Table | Medium | Phone | 1 report · last Oct 2026 |
| Possible BipartitionGraphBreadth-First Search | Medium | Phone | 1 report · last Oct 2026 |
| Serialize and Deserialize a String Key-Value StoreStringParsing | Medium | Onsite | 1 report · last Oct 2026 |
| Apply Affine Array TransformationsArrayMath | Easy | Phone | 1 report · last Oct 2026 |
| Parse a CSV RecordStringSimulation | Medium | Phone | 1 report · last Oct 2026 |
| Binary Tree Maximum Path SumTreeDynamic Programming | Medium | Onsite | 1 report · last Oct 2026 |
| Merge Overlapping IntervalsArraySorting | Medium | Onsite | 1 report · last Oct 2026 |
| Tic-Tac-Toe Move WinnersDesignMatrix | Medium | Onsite | 1 report · last Oct 2026 |
| Kth Largest Element without a HeapArray | Medium | Onsite | 1 report · last Oct 2026 |
| Maximize Fish over Limited HoursArraySorting | Hard | Phone | 1 report · last Oct 2026 |
| Implement a Heap Priority QueueHeapDesign | Medium | Phone | 1 report · last Oct 2026 |
| Implement a FIFO QueueQueueArray | Medium | Phone | 1 report · last Oct 2026 |
| Spiral Matrix TraversalArrayMatrix | Medium | Phone | 1 report · last Sep 2026 |
| Tic-Tac-Toe Game OverMatrixSimulation | Easy | Phone | 1 report · last Sep 2026 |
| Delete K Values to Balance Index SumsArrayPrefix Sum | Medium | Phone | 1 report · last Sep 2026 |
| Path Existence in an Undirected GraphGraphBreadth-First Search | Easy | Phone | 1 report · last Sep 2026 |
| Enumerate Directed Paths and CyclesBacktrackingDepth-First Search | Hard | Phone | 1 report · last Sep 2026 |
| Combination Sum II With Negative ValuesBacktrackingSorting | Medium | Phone | 1 report · last Sep 2026 |
| Design HashMapHash TableDesign | Medium | Onsite | 1 report · last Sep 2026 |
| Longest Substring With At Most Two Distinct CharactersSliding WindowHash Table | Medium | Phone | 1 report · last Sep 2026 |
| Weighted Round-Robin Seller Task SchedulerDesignQueue | Hard | Onsite | 1 report · last Sep 2026 |
| Intersect Two Sorted Interval ListsArrayIntervals | Medium | Phone | 1 report · last Aug 2026 |
| Count House Segments After Sequential DestructionArrayHash Table | Medium | OA | 1 report · last Aug 2026 |
| Count Numbers with an Even Digit CountArrayMath | Easy | OA | 1 report · last Aug 2026 |
| Search in a Rotated Sorted Array with DuplicatesArrayBinary Search | Medium | Phone | 1 report · last Aug 2026 |
| Sort Concentric Matrix Borders ClockwiseArrayMatrix | Medium | OA | 1 report · last Aug 2026 |
| Minimum Covering SubstringSliding WindowHash Table | Hard | Onsite | 1 report · last Aug 2026 |
| Minimum Stickers to Form a Target StringDynamic ProgrammingBit Manipulation | Hard | Onsite | 1 report · last Aug 2026 |
| Pythagorean Triple with Array MultiplicitySortingTwo Pointers | Medium | Onsite | 1 report · last Aug 2026 |
| Flat Comments to a Nested TreeArrayHash Table | Medium | Phone | 1 report · last Aug 2026 |
| Add Signed Character ArraysArrayString | Medium | Phone | 1 report · last Aug 2026 |
| Longest Palindromic SubstringString | Medium | Phone | 1 report · last Aug 2026 |
| Leftmost Binary Search MatchArrayBinary Search | Easy | Phone | 1 report · last Aug 2026 |
| Reverse Nodes in K-GroupLinked ListRecursion | Hard | Phone | 1 report · last Aug 2026 |
| Order Validator Rule DAGGraphTopological Sort | Hard | Phone | 1 report · last Aug 2026 |
| Count Subarrays with Sum KArrayHash Table | Medium | Phone | 1 report · last Jul 2026 |
| Longest Substring Without Repeating CharactersStringHash Table | Medium | Phone | 1 report · last Jul 2026 |
| Longest Repeating Character ReplacementStringSliding Window | Medium | Phone | 1 report · last Jul 2026 |
| QuickSelect Kth SmallestArraySorting | Medium | Phone | 1 report · last Jul 2026 |
| Search in Rotated Sorted ArrayArrayBinary Search | Medium | Phone | 1 report · last Jul 2026 |
| Most Frequent Integer with Smaller Tie-BreakArrayHash Table | Easy | Phone | 1 report · last Jul 2026 |
At a glance
FastPrep has 66 ByteDance coding interview questions: 4 questions from the online assessment (OA), 50 questions from phone screens and 20 questions from onsite rounds. A question can be reported in more than one stage. Most are medium (44 medium, 12 hard and 10 easy). The most common topics are Array, Simulation, Sorting, Hash Table and String. The latest report is from Dec 2026.
4 questions · 3 medium and 1 easy
Topics: Array, Simulation and Sorting
Latest report: Aug 2026
50 questions · 33 medium, 9 easy and 8 hard
Topics: Array, Simulation and Sorting
Latest report: Dec 2026
20 questions · 12 medium, 7 hard and 1 easy
Topics: Array, Design and Hash Table
Latest report: Dec 2026
By stage and level
01 · Preparation plan
This page owns ByteDance-tagged technical practice, while the TikTok page emphasizes its separate assessment-heavy catalog. Dependency order, interval intersections, and constrained parsing form a distinct study path. The linked design exercises can extend that work without implying the two brands share a single interview process. This is a suggested practice order, not ByteDance's interview process. Your invitation and recruiter come first.
Alien Dictionary requires turning adjacent words into graph edges. An invalid prefix ordering is a separate failure from a cycle and should be handled explicitly.
Use sorted interval intersections to derive a two-pointer invariant. Explain why advancing one input cannot skip an intersection that should be returned.
The segmented-address exercise is a useful backtracking task. Bound the remaining characters before exploring a split, while preserving every legal result.
02 · Design and project questions
Beyond coding questions, FastPrep has 21 system design questions tagged ByteDance.
Design a reliable event-time pipeline that ingests ad events and serves reproducible per-ad and campaign analytics despite duplicates, late data, and replay.
PracticeDesign the part of an ads platform that reads activity logs sent by outside partners, works out which hashed (scrambled one way) emails, phone numbers and device IDs belong to the same person, gives each person a stable ID that other systems can look up, and keeps that answer right as new logs join people together and opt-outs or bad files pull them apart.
PracticeDesign event ingestion, candidate retrieval, ranking, and serving for a bounded personalized user-item catalog.
PracticeDesign a Drive-like service for durable, chunked file storage, sharing, versions, and multi-device synchronization. Audit a first-letter photo placement plan and its database-cost drivers.
PracticeDesign a global platform that turns microservice metrics into honest health dashboards and timely, deduplicated anomaly alerts.
PracticeDesign the catalog, availability, pricing, reservation, and payment path for a high-demand movie and event ticketing platform.
PracticeCalculate repeatable currency conversions from coherent, freshness-labeled rate snapshots without moving money.
PracticeDesign a bounded-latency fraud decision and learning loop that handles new actors and rare, delayed labels.
PracticeDesign and validate one composite B-tree index for a high-volume, stably paginated order search. Defend the same equality-before-order reasoning for a focused latest-new-job query.
PracticeDesign a payment lifecycle that durably accepts hold and charge work, resolves upstream outcomes, releases unused holds, and incrementally builds parallel network-specific settlement batches.
PracticeDesign the waiting room, rate limits, exact ticket count and purchase flow for one very popular ticket on-sale, where each user can buy only once.
PracticeDesign a single-retailer shopping API whose login, session, cart, and order boundaries remain secure and retry-safe at scale.
PracticeDesign a concert and movie booking platform whose operational activity feeds a governed cloud data warehouse for timely SQL and dashboard analysis.
PracticeDesign a quota platform that reserves, meters, and reconciles agent work across tenants without overspending shared limits.
PracticeDesign a post-upload video and image moderation pipeline that combines 20–30 versioned text and vision risk scores, exposes pending and final user states, and executes auditable video or account actions.
PracticeModel hierarchical advertising campaigns, validate targeting edits, preserve immutable history, and publish consistent serving snapshots.
PracticeTrace agent tool calls, failures, exceptions, and retries through a privacy-safe, high-volume observability platform.
PracticeDesign a near-real-time service that aggregates music activity into cached country leaderboards every ten minutes.
PracticeDesign a cache-backed read service that prevents synchronized misses from overwhelming its authoritative database.
PracticeDesign a cache-aside data path that bounds stale reads and repairs cache/database divergence after partial failures.
PracticeAnalyze how several SQL query shapes use one composite B-tree index and validate the resulting plans.
Practice03 · About these questions
Each question on this page is tagged ByteDance in FastPrep's problem bank. The report count and month show how often and how recently it was reported from ByteDance interviews.
Past reports help you choose what to practice first. They can't tell you which questions, format or platform your own interview will use.
04 · FAQ
For hiring news and timelines, see the ByteDance hiring insights page.
The 66 ByteDance coding questions on FastPrep come from the online assessment (4 questions), phone screens (50 questions) and onsite rounds (20 questions). Some questions were reported in more than one stage. Stages differ by role, level and date, so check your invitation for your own process.
4 of the 66 ByteDance coding questions on FastPrep come from the online assessment. By difficulty: 3 medium and 1 easy. Common OA topics: Array, Simulation and Sorting. The latest OA report is from Aug 2026.
Most ByteDance coding questions on FastPrep are medium. By difficulty, the 66 rated questions are 44 medium, 12 hard and 10 easy.
Across 66 ByteDance coding questions, the most common topics are Array (33 questions), Simulation (16 questions), Sorting (16 questions), Hash Table (15 questions) and String (12 questions).
The most reported questions are “Implement Multi-Head Attention” (5 reports), “Course Schedule” (4 reports) and “Least Recently Used Cache” (4 reports).
Choose the company named in your role and invitation, then inspect the available practice. This page groups ByteDance-tagged coding and design assets; TikTok has a separate assessment-oriented collection. Neither the relationship between the brands nor similar exercises proves that their current hiring processes are interchangeable.
No. FastPrep is an independent interview prep site and is not affiliated with ByteDance. These are practice questions from FastPrep's problem bank, not official, private or leaked ByteDance questions.
Each question's stage comes from the reports behind it. A question can be reported from more than one stage, and the process can change by role, level, location and year, so treat the stage as a guide, not a promise.
The stage named in your invitation or recruiter message. If you don't know the stage yet, start with the stage that has the most questions, then practice explaining and testing your code out loud.
No. Report counts, stages and dates show what came up before and help you choose what to practice first. They can't predict the questions, order, timing or platform of your own interview.
Next step
Start with the stage named in your invitation. Past reports show what came up before, not what you will be asked.
Back to the question list