Katkat

Company

ByteDance interview questions

160 practice questions in the style of ByteDance's interviews, covering Software Engineering Fundamentals, Coding & Algorithms, Product Design & Strategy, Product / Decision Making, Statistics & Math, Data Manipulation (SQL/Python), Machine Learning, Behavioral & Leadership, System Design, ML System Design, Analytics & Experimentation.

Questions160

10 easy117 medium33 hard

Your progress0/160

ByteDance interview questions by the numbers

Last updated

Katkat has 160 ByteDance interview questions. The largest topics are Coding & Algorithms (44%), Software Engineering Fundamentals (16%) and System Design (11%). By difficulty: 6% easy, 73% medium and 21% hard. The most common round is Technical Screen (73%). Frequent concepts include System Design, Distributed Systems, Algorithms and Concurrency.

Difficulty

  • Easy6% · 10
  • Medium73% · 117
  • Hard21% · 33

Interview rounds

  • Technical Screen73% · 117
  • Onsite21% · 34
  • HR Screen3% · 5
  • Online Assessment3% · 4

Roles

  • Software Engineer63% · 100
  • Data Scientist12% · 19
  • Machine Learning Engineer7% · 11
  • Site Reliability Engineer6% · 10
  • Product Manager4% · 6

Frequent concepts

  • System Design10% · 16
  • Distributed Systems8% · 12
  • Algorithms6% · 10
  • Concurrency4% · 7
  • Data Structures4% · 7
  • Recursion4% · 7

Showing 1–30 of 160 results

  • This question evaluates a candidate's understanding of cache design, LRU eviction policies, time-to-live (TTL) semantics, appropriate data structures, time complexity reasoning, and concurrency control.

    ByteDanceSoftware EngineerSoftware Engineering FundamentalsOnsite
  • This problem tests string manipulation, handling of sign logic, and carrying operations for large integer arithmetic without utilizing large integer libraries.

    ByteDanceSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Evaluate TikTok's ecosystem across viewers, creators, advertisers, and merchants. Covers ecosystem flywheel, strengths, weaknesses, 12-month strategic priorities, metrics, and platform tradeoffs.

    ByteDanceProduct ManagerProduct Design & StrategyTechnical Screen
  • Practice an interval-scheduling problem where meetings may be delayed and room-number tie rules affect the final count. The prompt tests precise simulation, large-input complexity, integer safety, and careful handling of simultaneous room availability.

    ByteDanceSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This problem tests your depth in database durability mechanisms, caching strategies for consistency, and the network-level steps involved in secure HTTP request handling.

    ByteDanceBackend EngineerSoftware Engineering FundamentalsTechnical Screen
  • Balance TikTok feed monetization with user experience by treating revenue as a multi-objective optimization problem. The answer covers ad load, relevance, pacing, creative quality, creator health, advertiser ROI, retention guardrails, segmented experiments, and rollback criteria.

    ByteDanceProduct ManagerProduct / Decision MakingTechnical Screen
  • This problem tests tree traversal, hash map utilization for parent-child relationship tracking, and identification of the root node in a graph-based structure.

    ByteDanceSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Design a task scheduler supporting task insertion/update, cancellation by ID, and retrieving ready tasks up to a given time limit using a min-heap with lazy deletion.

    ByteDanceSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates skills in string parsing, tokenization, input validation, and safe integer arithmetic handling, with emphasis on enforcing format rules such as operator placement, prevention of leading zeros, and 32-bit signed integer bounds.

    ByteDanceSoftware EngineerCoding & AlgorithmsOnsite
  • This problem tests greedy algorithm design, string-based numeric comparison, and backtracking/recursive state management to construct the largest possible number under a given limit.

    ByteDanceSoftware EngineerCoding & AlgorithmsTechnical Screen
  • From a TikTok backend intern interview: compare C++ and Go across memory management, concurrency, error handling, language features and tooling, and explain when each language is the better choice for a service. It tests practical understanding of runtime trade-offs rather than syntax trivia.

    ByteDanceSoftware EngineerSoftware Engineering FundamentalsTechnical Screen
  • This question evaluates a candidate's understanding of geometric probability, continuous random variables, and spatial reasoning within probabilistic models.

    ByteDanceData ScientistStatistics & MathTechnical Screen
  • Practice a data scientist SQL interview question that calculates campaign cost and funnel rates, handles zero denominators, and filters campaigns against an average CTR benchmark. The exercise tests PostgreSQL date arithmetic, CTE organization, NULL-safe calculations, and deterministic output.

    ByteDanceData ScientistData Manipulation (SQL/Python)Technical Screen
  • A graph feasibility problem: given n courses and pairs stating which course must be completed before another, decide whether every course can be finished. It tests modeling dependencies as a directed graph, recognizing circular requirements, and handling courses that fall into separate, disconnected groups.

    ByteDanceSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Given an n x n tic-tac-toe board holding empty cells and two players' marks, decide whether the game is over because one player occupies an entire row, column or diagonal, or because the board is full with no winner. It tests complete line checks, draw detection and edge cases such as all-empty lines and a 1 x 1 board.

    ByteDanceSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question tests the ability to evaluate communication protocols based on specific architectural requirements, including bidirectional signaling, state recovery, and infrastructure overhead.

    ByteDanceSoftware EngineerSoftware Engineering FundamentalsTechnical Screen
  • This question tests the ability to distinguish between distributed data processing frameworks, storage engines, and relational databases, evaluating your understanding of trade-offs in large-scale data infrastructure.

    ByteDanceData EngineerSoftware Engineering FundamentalsHR Screen
  • This question tests the ability to map business objectives and error costs to appropriate classification metrics in a real-world system context.

    ByteDanceSoftware EngineerMachine LearningTechnical Screen
  • This problem tests the ability to implement SQL window functions for cohort analysis, define robust customer lifetime value metrics, and articulate the trade-offs between various machine learning algorithms in a production setting.

    ByteDanceData ScientistMachine LearningTechnical Screen
  • From a TikTok backend intern interview: return the elements of an m x n matrix in clockwise spiral order using only constant extra space beyond the output, without a visited marker and without modifying the matrix. It tests careful traversal logic and off-by-one handling when a single row or column remains.

    ByteDanceSoftware EngineerCoding & AlgorithmsTechnical Screen
  • From a ByteDance technical screen for a machine learning engineer role: given two sorted integer arrays, return the median of all their elements combined, averaging the two middle values when the total count is even. It tests reasoning about sorted order under a logarithmic time target and edge cases such as an empty array.

    ByteDanceMachine Learning EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates understanding of SQL aggregation and NULL semantics, window functions (ROW_NUMBER vs RANK), join behavior to avoid double-counting, and defensive handling of NULLs and divide-by-zero using COALESCE and NULLIF in a data manipulation context.

    ByteDanceData ScientistData Manipulation (SQL/Python)Technical Screen
  • This question evaluates proficiency in string processing and algorithmic reasoning for balancing parentheses, testing understanding of invariants and edge-case handling.

    ByteDanceData ScientistCoding & AlgorithmsTechnical Screen
  • This question evaluates understanding of sentence-level and token-level embedding techniques, text preprocessing, similarity metrics, edge-case handling for empty or unknown tokens, and trade-offs between pretrained sentence encoders and averaged word embeddings.

    ByteDanceMachine Learning EngineerMachine LearningTechnical Screen
  • This problem tests your ability to perform depth-first search on a binary tree and maintain state (the current path sum) during the traversal to compute a cumulative total.

    ByteDanceSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This problem tests your ability to model a geometric optimization task as a Minimum Spanning Tree (MST) problem and implement it efficiently using Kruskal's or Prim's algorithm.

    ByteDanceData EngineerCoding & AlgorithmsOnsite
  • Track the number of consecutive house segments after each requested demolition on an integer line. Each removal can eliminate an isolated segment, trim an endpoint, or split a run, so the solution must update the count efficiently across many distinct positions.

    ByteDanceSoftware EngineerCoding & AlgorithmsOnline Assessment
  • Count how many positive integers in an array have an even number of decimal digits. Respect ordinary representations without leading zeroes, count repeated values independently, and handle boundaries such as 10 and 10000 correctly.

    ByteDanceSoftware EngineerCoding & AlgorithmsOnline Assessment
  • This question evaluates SQL querying skills, including joining relational tables, date handling, aggregation, and deduplicating users across events. Commonly asked in Coding & Algorithms interviews for data scientists, it assesses practical relational database querying and analytics tasks—filtering, grouping, and counting distinct users across tables—and tests practical application of SQL rather than purely conceptual database theory; this summary is in English.

    ByteDanceData ScientistCoding & AlgorithmsTechnical Screen
  • This question evaluates understanding of graph connectivity and equivalence relations, requiring recognition of connected components from an adjacency-matrix representation of pairwise similarity.

    ByteDanceSoftware EngineerCoding & AlgorithmsTechnical Screen

ByteDance interview experiences

All 30 →
  • Research Talk, Model Questions and a Fishing Pond Coding ProblemByteDance · Machine Learning Engineer · New Grad · Technical Screen · Oct 2026

    First was a self-introduction, then I introduced my research. He said I could share slides if that would make things clearer. I happened to be preparing my proposal recently, so I shared my slides, and it definitely felt better than just talking through it. He asked some questions based on my work, normal follow-ups. Interestingly, he also brought up jev and asked whether I follow it. Then on the…

  • E-commerce Backend, One Technical Round Ending on Spiral Matrix Follow-upsByteDance · Software Engineer · Intern · Technical Screen · Sep 2026
    Rejected

    TikTok SWE Intern, E-commerce Backend. Referral. One virtual round. Rejected. Background Applied through a referral. Position and team: E-commerce Backend. Timeline 08/06 applied 08/07 received the OA 08/23 HR scheduled the interview 09/11 first technical round 09/26 got the result (rejected) Round 1, Technical (1 hr) The interviewer spoke Chinese and the whole thing was in Chinese. Self-introduc…

  • Failed the TikTok LIVE Phone Screen on Graph ColoringByteDance · Software Engineer · Technical Screen · Sep 2026
    Rejected

    The role came from a TikTok HR reach-out. There was no HR call, they only asked about my sponsorship situation over email and then scheduled a 1-hour phone interview. The interview was on HackerRank. I started with a self-introduction, then a behavioral question: tell me about a challenge. After that came a LeetCode problem, Possible Bipartition: > Split a group of n people (labeled from 1 to n)…

  • Rejected After a TikTok Trust & Safety System Design Round on a Video Moderation PipelineByteDance · Software Engineer · Technical Screen · Sep 2026
    Rejected

    Interviewed in June. Second round: system design interview, 1 hour. Project deep-dive (about 20 minutes). System Design — Video Content Moderation System Question: design a simplified video content moderation system. The interviewer scoped it very clearly: I didn't need to design the video upload part — assume there's already a system that pushes uploaded videos to you. What I needed to design wa…

  • Three Rounds and an HR Call, Then SilenceByteDance · Software Engineer · Onsite · Sep 2026
    No response

    I interviewed with TT USDS: three rounds, then an HR call, and then I never heard anything back. I don't know whether I got rejected. Round 1: two coding questions, LeetCode 3 and LeetCode 210. Round 2: a variant of LeetCode 207. I forgot how it was changed. For the rest of the time they kept asking me tech questions about monitoring, tracing, and telemetry. Round 3: system design. Design a payme…

More companies