call(back)

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

  1. 1Recruiter call, sometimes skipped
  2. 2Round one: project deep dive, then one or two coding problems
  3. 3Round two: more coding, or system design
  4. 4Round three: hiring manager, behavioral plus another problem
  5. 5Team match with HR

Questions

Callback's practice questions and the LeetCode questions ByteDance has been asking, filtered together.

Practice questions

Design a Rate Limiter

System Design · Token bucket, sliding window, and where the counters live.

mediumSign in to star problems

Design a URL Shortener

System Design · The classic: encoding, storage, and redirects at scale.

mediumSign in to star problems

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.

hardSign in to star problems

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.

hardSign in to star problems

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.

hardSign in to star problems

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.

hardSign in to star problems

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.

hardSign in to star problems

Design Top Songs by Country

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.

mediumSign in to star problems

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.

hardSign in to star problems

Design a Real-Time Auction

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.

hardSign in to star problems

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.

mediumSign in to star problems

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.

mediumSign in to star problems

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.

mediumSign in to star problems

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.

mediumSign in to star problems

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.

mediumSign in to star problems

TCP vs UDP

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.

easySign in to star problems

The TCP Three-Way Handshake

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.

easySign in to star problems

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.

easySign in to star problems

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.

easySign in to star problems

Kafka Delivery Semantics

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.

easySign in to star problems

Virtual Memory

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.

easySign in to star problems

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.

easySign in to star problems

The CAP Theorem

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.

easySign in to star problems

The Disk Is Full: Triage

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.

easySign in to star problems

The Backend Is Slow: Triage

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.

easySign in to star problems

Asked on LeetCode

107 questions · all time