ByteDance interview practice

ByteDance interview questions

87 questions; coding questions sorted by reports.

FastPrep has 66 coding questions tagged ByteDance, plus 21 system design questions. Filter them by interview stage and open any one to practice it.

Questions
87 (66 coding, 21 design and project)
By stage
Online Assessment 4 · Phone Screen 50 · Onsite 20
Updated

Question list

All 66 ByteDance coding questions

Sorted by how many times each question was reported. Pick a stage to see only its questions.

Showing 66 of 66 ByteDance questions.

QuestionDifficultyStageReports
Implement Multi-Head AttentionMatrixSimulationHardPhone · Onsite5 reports · last Nov 2026
Course ScheduleGraphBreadth-First SearchMediumPhone · Onsite4 reports · last Dec 2026
Least Recently Used CacheHash TableLinked ListMediumPhone · Onsite4 reports · last Oct 2026
Alien DictionaryGraphTopological SortHardPhone · Onsite3 reports · last Nov 2026
Largest Number Below N from Reusable DigitsArrayStringMediumPhone2 reports · last Nov 2026
Valid ParenthesesStringStackEasyPhone2 reports · last Nov 2026
Binary Tree Target-Sum PathsTreeDepth-First SearchMediumPhone2 reports · last Nov 2026
Lexicographically Smallest Topological OrderGraphTopological SortMediumPhone · Onsite2 reports · last Nov 2026
Dynamic Median with Additions and DeletionsHeapHash TableHardOnsite2 reports · last Oct 2026
Restore Addresses with K SegmentsStringBacktrackingMediumPhone2 reports · last Sep 2026
Minimum Removals for Non-Overlapping IntervalsArrayGreedyMediumPhone · Onsite2 reports · last Sep 2026
Sorted Absolute-Difference Sums Across Cyclic ShiftsArraySortingMediumOA2 reports · last Aug 2026
Implement QuicksortArraySortingMediumPhone1 report · last Dec 2026
Largest Rectangle in HistogramArrayStackHardPhone · Onsite1 report · last Dec 2026
Reverse Linked ListLinked ListRecursionEasyPhone · Onsite1 report · last Dec 2026
Count N-Queens PlacementsBacktrackingRecursionHardPhone1 report · last Nov 2026
Matrix EscapeArrayMatrixMediumPhone1 report · last Nov 2026
Log Analyzer: Busiest Service in a Rolling WindowHash TableSortingMediumPhone1 report · last Nov 2026
Search a Row- and Column-Sorted MatrixArrayBinary SearchMediumOnsite1 report · last Nov 2026
Majority ElementArrayHash TableEasyPhone1 report · last Nov 2026
Longest Increasing SubsequenceArrayDynamic ProgrammingMediumPhone1 report · last Nov 2026
Maximum Number of Events That Can Be AttendedArrayGreedyMediumPhone1 report · last Nov 2026
Meeting RoomsArraySortingEasyPhone1 report · last Oct 2026
Meeting Rooms IIArraySortingMediumPhone1 report · last Oct 2026
Shortest-Job-First Process SchedulingArraySortingMediumPhone1 report · last Oct 2026
Sparse Matrix MultiplicationArrayHash TableMediumPhone1 report · last Oct 2026
Possible BipartitionGraphBreadth-First SearchMediumPhone1 report · last Oct 2026
Serialize and Deserialize a String Key-Value StoreStringParsingMediumOnsite1 report · last Oct 2026
Apply Affine Array TransformationsArrayMathEasyPhone1 report · last Oct 2026
Parse a CSV RecordStringSimulationMediumPhone1 report · last Oct 2026
Binary Tree Maximum Path SumTreeDynamic ProgrammingMediumOnsite1 report · last Oct 2026
Merge Overlapping IntervalsArraySortingMediumOnsite1 report · last Oct 2026
Tic-Tac-Toe Move WinnersDesignMatrixMediumOnsite1 report · last Oct 2026
Kth Largest Element without a HeapArrayMediumOnsite1 report · last Oct 2026
Maximize Fish over Limited HoursArraySortingHardPhone1 report · last Oct 2026
Implement a Heap Priority QueueHeapDesignMediumPhone1 report · last Oct 2026
Implement a FIFO QueueQueueArrayMediumPhone1 report · last Oct 2026
Spiral Matrix TraversalArrayMatrixMediumPhone1 report · last Sep 2026
Tic-Tac-Toe Game OverMatrixSimulationEasyPhone1 report · last Sep 2026
Delete K Values to Balance Index SumsArrayPrefix SumMediumPhone1 report · last Sep 2026
Path Existence in an Undirected GraphGraphBreadth-First SearchEasyPhone1 report · last Sep 2026
Enumerate Directed Paths and CyclesBacktrackingDepth-First SearchHardPhone1 report · last Sep 2026
Combination Sum II With Negative ValuesBacktrackingSortingMediumPhone1 report · last Sep 2026
Design HashMapHash TableDesignMediumOnsite1 report · last Sep 2026
Longest Substring With At Most Two Distinct CharactersSliding WindowHash TableMediumPhone1 report · last Sep 2026
Weighted Round-Robin Seller Task SchedulerDesignQueueHardOnsite1 report · last Sep 2026
Intersect Two Sorted Interval ListsArrayIntervalsMediumPhone1 report · last Aug 2026
Count House Segments After Sequential DestructionArrayHash TableMediumOA1 report · last Aug 2026
Count Numbers with an Even Digit CountArrayMathEasyOA1 report · last Aug 2026
Search in a Rotated Sorted Array with DuplicatesArrayBinary SearchMediumPhone1 report · last Aug 2026
Sort Concentric Matrix Borders ClockwiseArrayMatrixMediumOA1 report · last Aug 2026
Minimum Covering SubstringSliding WindowHash TableHardOnsite1 report · last Aug 2026
Minimum Stickers to Form a Target StringDynamic ProgrammingBit ManipulationHardOnsite1 report · last Aug 2026
Pythagorean Triple with Array MultiplicitySortingTwo PointersMediumOnsite1 report · last Aug 2026
Flat Comments to a Nested TreeArrayHash TableMediumPhone1 report · last Aug 2026
Add Signed Character ArraysArrayStringMediumPhone1 report · last Aug 2026
Longest Palindromic SubstringStringMediumPhone1 report · last Aug 2026
Leftmost Binary Search MatchArrayBinary SearchEasyPhone1 report · last Aug 2026
Reverse Nodes in K-GroupLinked ListRecursionHardPhone1 report · last Aug 2026
Order Validator Rule DAGGraphTopological SortHardPhone1 report · last Aug 2026
Count Subarrays with Sum KArrayHash TableMediumPhone1 report · last Jul 2026
Longest Substring Without Repeating CharactersStringHash TableMediumPhone1 report · last Jul 2026
Longest Repeating Character ReplacementStringSliding WindowMediumPhone1 report · last Jul 2026
QuickSelect Kth SmallestArraySortingMediumPhone1 report · last Jul 2026
Search in Rotated Sorted ArrayArrayBinary SearchMediumPhone1 report · last Jul 2026
Most Frequent Integer with Smaller Tie-BreakArrayHash TableEasyPhone1 report · last Jul 2026

At a glance

ByteDance interview process

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.

  • Online Assessment

    4 questions · 3 medium and 1 easy

    Topics: Array, Simulation and Sorting

    Latest report: Aug 2026

  • Phone Screen

    50 questions · 33 medium, 9 easy and 8 hard

    Topics: Array, Simulation and Sorting

    Latest report: Dec 2026

  • Onsite

    20 questions · 12 medium, 7 hard and 1 easy

    Topics: Array, Design and Hash Table

    Latest report: Dec 2026

By stage and level

ByteDance questions by stage and level

01 · Preparation plan

Build a graph-and-interval technical preparation path.

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.

  1. 01

    Infer only justified ordering constraints

    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.

    • Compare the first differing characters.
    • Retain characters with no outgoing edges.
    • Test invalid prefixes and contradictory constraints.
    Practice: Alien Dictionary
  2. 02

    Advance the interval that ends first

    Use sorted interval intersections to derive a two-pointer invariant. Explain why advancing one input cannot skip an intersection that should be returned.

    • Clarify closed versus open endpoints.
    • Test touching and nested intervals.
    • Separate output size from auxiliary memory.
    Practice: Intersect Two Sorted Interval Lists
  3. 03

    Prune a constrained parser carefully

    The segmented-address exercise is a useful backtracking task. Bound the remaining characters before exploring a split, while preserving every legal result.

    • List segment length and value restrictions.
    • Check leading-zero behavior from the prompt.
    • Explain why each pruning rule is safe.
    Practice: Restore Addresses with K Segments

02 · Design and project questions

21 ByteDance design and project questions

Beyond coding questions, FastPrep has 21 system design questions tagged ByteDance.

System designLast reported Dec 2026

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.

Practice
System designLast reported Dec 2026

Design Identity Resolution from Third-Party Logs

Design 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.

Practice
System designLast reported Nov 2026

Design a Personalized Recommendation System

Design event ingestion, candidate retrieval, ranking, and serving for a bounded personalized user-item catalog.

Practice
System designLast reported Nov 2026

Design a Cloud File Storage System

Design 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.

Practice
System designLast reported Nov 2026

Design a Global Service Metrics Monitoring and Alerting Platform

Design a global platform that turns microservice metrics into honest health dashboards and timely, deduplicated anomaly alerts.

Practice
System designLast reported Nov 2026

Design a Ticket Booking System

Design the catalog, availability, pricing, reservation, and payment path for a high-demand movie and event ticketing platform.

Practice
System designLast reported Oct 2026

Design a Currency Conversion Service

Calculate repeatable currency conversions from coherent, freshness-labeled rate snapshots without moving money.

Practice
System designLast reported Oct 2026

Design Fraud-Risk Scoring for Protected Actions

Design a bounded-latency fraud decision and learning loop that handles new actors and rare, delayed labels.

Practice
System designLast reported Oct 2026

Relational Query Index Design

Design 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.

Practice
System designLast reported Oct 2026

Payment Hold, Charge, and Settlement

Design a payment lifecycle that durably accepts hold and charge work, resolves upstream outcomes, releases unused holds, and incrementally builds parallel network-specific settlement batches.

Practice
System designLast reported Oct 2026

Design a Ticket Booking System for High-Demand Sales

Design 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.

Practice
System designLast reported Oct 2026

Design an Authenticated Shopping Platform

Design a single-retailer shopping API whose login, session, cart, and order boundaries remain secure and retry-safe at scale.

Practice
System designLast reported Sep 2026

Design an Event Booking and Analytics Platform

Design a concert and movie booking platform whose operational activity feeds a governed cloud data warehouse for timely SQL and dashboard analysis.

Practice
System designLast reported Sep 2026

Design Multi-Tenant Agent Quota Accounting

Design a quota platform that reserves, meters, and reconciles agent work across tenants without overspending shared limits.

Practice
System designLast reported Sep 2026

Design a Multimedia Content Moderation Platform

Design 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.

Practice
System designLast reported Sep 2026

Design an Advertiser Campaign Configuration Platform

Model hierarchical advertising campaigns, validate targeting edits, preserve immutable history, and publish consistent serving snapshots.

Practice
System designLast reported Sep 2026

Design Observability for AI Agent Tool Calls

Trace agent tool calls, failures, exceptions, and retries through a privacy-safe, high-volume observability platform.

Practice
System designLast reported Aug 2026

Design a Top Songs by Country Leaderboard

Design a near-real-time service that aggregates music activity into cached country leaderboards every ten minutes.

Practice
System designLast reported Aug 2026

Cache Avalanche Resilience

Design a cache-backed read service that prevents synchronized misses from overwhelming its authoritative database.

Practice
System designLast reported Aug 2026

Cache-Aside Consistency Recovery

Design a cache-aside data path that bounds stale reads and repairs cache/database divergence after partial failures.

Practice
System designLast reported Aug 2026

SQL Index Eligibility Analysis

Analyze how several SQL query shapes use one composite B-tree index and validate the resulting plans.

Practice

03 · About these questions

Where these ByteDance questions come from

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.

  • Only questions tagged ByteDance appear on this page.
  • Each coding question shows its stage and last report date when known.
  • These are not official, private or leaked ByteDance questions.

04 · FAQ

ByteDance interview questions: FAQ

For hiring news and timelines, see the ByteDance hiring insights page.

01What are the stages of the ByteDance interview?

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.

02What does the ByteDance OA look like?

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.

03How hard is the ByteDance interview?

Most ByteDance coding questions on FastPrep are medium. By difficulty, the 66 rated questions are 44 medium, 12 hard and 10 easy.

04What topics come up in ByteDance coding interviews?

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).

05What are the most asked ByteDance interview questions?

The most reported questions are “Implement Multi-Head Attention” (5 reports), “Course Schedule” (4 reports) and “Least Recently Used Cache” (4 reports).

06Should I use the ByteDance page or the TikTok page?

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.

07Is FastPrep affiliated with ByteDance?

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.

08How do you know which stage a ByteDance question is from?

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.

09Which ByteDance interview stage should I practice first?

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.

10Can this page tell me exactly what my ByteDance interview will ask?

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

Pick a question. Solve it end to end.

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