ByteDance
A strict one-round-at-a-time funnel: a resume deep dive opens every round, then LeetCode-medium coding with your own test cases, system design, and a hiring-manager round. Teams differ sharply in bar and format.
Typical loop
- 1Recruiter call, sometimes skipped
- 2Round one: project deep dive, then one or two coding problems
- 3Round two: more coding, or system design
- 4Round three: hiring manager, behavioral plus another problem
- 5Team match with HR
Questions
Callback's practice questions and the LeetCode questions ByteDance has been asking, filtered together.
Practice questions
System Design · Token bucket, sliding window, and where the counters live.
System Design · The classic: encoding, storage, and redirects at scale.
Design a Distributed Job Scheduler
System Design · A job store as the source of truth, dispatchers that claim due runs with a unique key, leased workers, and a reaper — then the policies a template answer forgets.
Design a Personalized Recommendation System
System Design · Logging to feature store to candidate generation to ranking to re-ranking, with cold start, evaluation and an A/B plan; the full pipeline for a streaming home feed.
Design a Content Moderation System
System Design · Uploads flow through cheap filters, per-modality models and a human review queue; decisions are auditable, and past content can be replayed when the rules change.
Design a Payment System With Holds and Settlement
System Design · A payment-intent state machine, a real-time hold followed by batch settlement, idempotency keys so retries never charge twice, and a ledger that reconciles after bank timeouts.
Design Ticket Booking for a High-Demand On-Sale
System Design · Two separate problems: absorbing the burst at the moment sales open, and never selling the same seat twice, with holds that expire when payment does not arrive.
System Design · Fifty thousand listen events a second become a top-ten list per country that refreshes every ten minutes and is read from a small cached object.
Design Recent Like Counts and Trending Posts
System Design · Three reads over a 60-second window at a million likes a second: an exact count for one post from per-second buckets, and global and per-region top lists from a stream job.
System Design · Bids arrive over REST, are ordered per auction through a partitioned log, update a durable state machine, and are pushed to watchers over server-sent events.
Design a Synchronized Live Comment Overlay
System Design · Comments that fly across a video in step with playback: timeline-indexed storage for recorded video, fan-out over push connections for live, and sampling when a room is too busy to show everything.
Design a Video-Keyword Association Review System
System Design · Batches of 50 videos against 1,000 keywords, edited over time: versioned submissions, resumable uploads, and recomputing only the pairs that a change touches.
Design an AI-Driven QA Pipeline
System Design · From a requirements document to test cases, data, scripts, execution and a report, with role-specific agents that hand artifacts to one another, human checkpoints, and a CI environment that has no GPU.
Design a RAG-Based Agent System
System Design · An agent that retrieves, calls tools and answers: the ingestion and retrieval path, the tool loop with state and limits, tracing for failed tool calls, and how its quality is measured.
Prevent a Cache Stampede on a Hot Key
System Design · When a very popular cache entry expires, thousands of requests miss at once and all hit the database: let one caller rebuild, serve the old value meanwhile, and refresh before expiry.
System Design · TCP gives an ordered, reliable byte stream at the cost of setup and head-of-line blocking; UDP sends independent datagrams and leaves the rest to the application.
System Design · SYN, SYN-ACK, ACK: each side proves it can send and receive and the two exchange starting sequence numbers; closing takes four segments.
HTTP/1.1, HTTP/2, HTTP/3 and gRPC
System Design · HTTP/2 multiplexes streams on one TCP connection, HTTP/3 moves to QUIC over UDP to remove transport head-of-line blocking, and gRPC is typed RPC over HTTP/2.
A Request's Path Into a Kubernetes Cluster
System Design · DNS, load balancer, ingress, Service virtual IP, pod: with what a node and a pod are, ClusterIP versus NodePort, DNS caching, and where to look when the answer is a 5xx.
System Design · Partitions give order, consumer groups give scale, and committing offsets before or after processing decides between at-most-once and at-least-once; exactly-once needs idempotence or transactions.
System Design · Each process gets its own address space mapped page by page onto physical memory or disk, which is how programs can use more memory than the machine has.
REST, WebSocket or Server-Sent Events?
System Design · Request and response, a two-way persistent socket, or a one-way server stream over HTTP: pick by who needs to talk and how often, as for an agent that streams its answer.
System Design · During a network partition a distributed store must choose between answering with possibly stale data and refusing to answer; it is a statement about partitions, not a permanent pick of two from three.
System Design · From the filesystem that is full, to the directory, to the file, to the process, including the case where the space is held by a deleted file that is still open.
System Design · Scope the problem with metrics, find the slow hop with traces, then test one hypothesis per layer: saturation, a dependency, the database, or a recent change.
Asked on LeetCode
107 questions · all time
- LRU CachemediumHash TableLinked ListDesignDoubly-Linked Listfrequency 100.0
- Remove Duplicate LettersmediumStringStackGreedyMonotonic Stackfrequency 85.1
- Smallest Subsequence of Distinct CharactersmediumStringStackGreedyMonotonic Stackfrequency 82.6
- First Day Where You Have Been in All the RoomsmediumArrayDynamic Programmingfrequency 79.9
- Number of IslandsmediumArrayDepth-First SearchBreadth-First SearchUnion-Find+1frequency 79.9
- Course SchedulemediumDepth-First SearchBreadth-First SearchGraph TheoryTopological Sort+1frequency 76.8
- Basic Calculator IImediumMathStringStackfrequency 69.0
- Combination SummediumArrayBacktrackingfrequency 69.0
- Maximal SquaremediumArrayDynamic ProgrammingMatrixfrequency 69.0
- Merge IntervalsmediumArraySortingQuicksortfrequency 69.0
- Shortest BridgemediumArrayDepth-First SearchBreadth-First SearchMatrixfrequency 69.0
- House RobbermediumArrayDynamic Programmingfrequency 63.8
- Regular Expression MatchinghardStringDynamic ProgrammingRecursionfrequency 63.8
- Top K Frequent ElementsmediumArrayHash TableDivide and ConquerSorting+4frequency 63.8
- Two SumeasyArrayHash Tablefrequency 63.8
- Word LadderhardHash TableStringBreadth-First SearchBidirectional Searchfrequency 63.8
- Accounts MergemediumArrayHash TableStringDepth-First Search+3frequency 57.1
- Add Two NumbersmediumLinked ListMathRecursionfrequency 57.1
- Basic CalculatorhardMathStringStackRecursionfrequency 57.1
- Best Time to Buy and Sell StockeasyArrayDynamic Programmingfrequency 57.1
- Decode StringmediumStringStackRecursionfrequency 57.1
- Design Memory AllocatormediumArrayHash TableDesignSimulationfrequency 57.1
- Longest Common SubsequencemediumStringDynamic ProgrammingLongest Common Subsequencefrequency 57.1
- Longest Increasing SubsequencemediumArrayBinary SearchDynamic ProgrammingLongest Increasing Subsequencefrequency 57.1
- Maximum SubarraymediumArrayDivide and ConquerDynamic Programmingfrequency 57.1
- Maximum Width of Binary TreemediumTreeDepth-First SearchBreadth-First SearchBinary Treefrequency 57.1
- Multiply StringsmediumMathStringSimulationfrequency 57.1
- Restore IP AddressesmediumStringBacktrackingfrequency 57.1
- Rotting OrangesmediumArrayBreadth-First SearchMatrixfrequency 57.1
- Search in Rotated Sorted ArraymediumArrayBinary Searchfrequency 57.1
- 3Sum ClosestmediumArrayTwo PointersSortingfrequency 47.8
- Binary Tree Right Side ViewmediumTreeDepth-First SearchBreadth-First SearchBinary Treefrequency 47.8
- Binary Tree Zigzag Level Order TraversalmediumTreeBreadth-First SearchBinary Treefrequency 47.8
- Climbing StairseasyMathDynamic ProgrammingMemoizationfrequency 47.8
- Clone GraphmediumHash TableDepth-First SearchBreadth-First SearchGraph Theoryfrequency 47.8
- Combination Sum IImediumArrayBacktrackingfrequency 47.8
- Delete Node in a BSTmediumTreeBinary Search TreeBinary Treefrequency 47.8
- Find Peak ElementmediumArrayBinary Searchfrequency 47.8
- Find the Length of the Longest Common PrefixmediumArrayHash TableStringTriefrequency 47.8
- Insert Delete GetRandom O(1)mediumArrayHash TableMathDesign+1frequency 47.8
- Jump GamemediumArrayDynamic ProgrammingGreedyfrequency 47.8
- Kth Largest Element in an ArraymediumArrayDivide and ConquerSortingHeap (Priority Queue)+1frequency 47.8
- Linked List Cycle IImediumHash TableLinked ListTwo PointersFloyd's Cycle Finding Algorithmfrequency 47.8
- Longest Palindromic SubstringmediumTwo PointersStringDynamic ProgrammingManacherfrequency 47.8
- Longest Repeating Character ReplacementmediumHash TableStringSliding Windowfrequency 47.8
- Merge k Sorted ListshardLinked ListDivide and ConquerHeap (Priority Queue)Merge Sort+1frequency 47.8
- Minimum Area RectanglemediumArrayHash TableMathGeometry+1frequency 47.8
- Minimum Swaps to Group All 1's Together IImediumArraySliding Windowfrequency 47.8
- Number of Good Leaf Nodes PairsmediumTreeDepth-First SearchBinary TreeDP on Treesfrequency 47.8
- Product of the Last K NumbersmediumArrayMathDesignData Stream+1frequency 47.8