ByteDance Interview Prep (2-1 / 2-2 / 3-1)

ByteDance and TikTok share a hiring ladder and a lot of process, but the ByteDance-branded loops skew differently: more infrastructure, platform, data, and backend teams, and less consumer product surface. That shifts the questions. The fundamentals segment goes deeper into storage, networking, and concurrency, and the design round, when you get one, is more likely to be a cache, a queue, or a scheduler than a feed.

The filter people underestimate is the resume screen. ByteDance matches candidates to specific teams and reads projects closely, so a generic CV stalls before the online assessment. The filter people correctly fear is the OA itself: three problems, usually two medium and one hard, with tight time limits that reject brute-force solutions on hidden tests rather than on correctness.

One caveat on the question data further down this page. ByteDance’s reported pool is small, and it skews easier than the rounds candidates describe, because the harder assessment problems tend to be custom or contest-style and never get matched to a LeetCode entry. Use the pool for pattern coverage and set your difficulty target from the reported round format instead.


Interview Process

Stage Duration Focus
Resume Screen — Heavily weighted; projects are matched to a specific team
Online Assessment 90-120 min 3 problems, commonly 2 medium and 1 hard
Technical Round 1 60 min 15-20 min fundamentals, then 1-2 coding problems
Technical Round 2 60 min Coding plus a detailed project deep dive
Technical Round 3 60 min System design for mid-level and above
HR Round 30-45 min ByteStyles values, motivation, compensation

Mid-level loops are coding-dominated. Design is a smaller slice here than at Google or Amazon: at the lower levels it may not appear at all, and when it does it often shares the round with more coding. Senior loops invert that and add a round on architecture and past technical ownership.

Rounds are usually conducted over Lark (Feishu) rather than a standard video tool, and like TikTok they are scheduled one at a time after positive feedback. Expect the whole loop to run a few weeks, with some candidates reporting much faster turnarounds when a team is urgently staffing.


What ByteDance Actually Tests

Derived from 63 reported ByteDance-tagged problems. Difficulty mix:

Difficulty Count Share
Easy 4 6%
Medium 51 81%
Hard 8 13%

The list skews Easy and Medium. Speed and clean code matter more here than exotic algorithms.

Where those problems fall by pattern:

Rank Pattern Problems Share of list
1 Dynamic Programming 12 19%
2 Stack & Monotonic Stack 7 11%
3 Trees 6 10%
4 Graphs 5 8%
5 Arrays & Hashing 5 8%
6 Sliding Window & Two Pointers 5 8%
7 Design (Coding) 4 6%
8 Backtracking 4 6%
9 Heap / Priority Queue 3 5%
10 Linked List 3 5%

ByteDance Signature Problems

These rank high on ByteDance’s list but are reported by few other companies — the questions that are distinctively theirs rather than generic interview classics. The last column is how many of the 142 companies on this site report each one.

# Problem Pattern Difficulty Also asked at Link
1 Remove Duplicate Letters Monotonic Stack + Greedy Medium 12 of 142 Solve →
2 Smallest Subsequence of Distinct Characters Monotonic Stack + Greedy Medium 8 of 142 LeetCode →
3 Shortest Bridge BFS + DFS Medium 15 of 142 Solve →
4 Maximum Width of Binary Tree Binary Tree + BFS Medium 8 of 142 Solve →
5 Accounts Merge Union-Find + BFS Medium 17 of 142 LeetCode →
6 Design Memory Allocator Design Medium 16 of 142 LeetCode →
7 Number of Good Leaf Nodes Pairs DP on Trees + Binary Tree Medium 3 of 142 Solve →
8 Minimum Area Rectangle Geometry Medium 7 of 142 LeetCode →
9 Remove Zero Sum Consecutive Nodes from Linked List Linked List Medium 6 of 142 LeetCode →
10 Minimum Swaps to Group All 1’s Together II Sliding Window Medium 8 of 142 LeetCode →
11 Product of the Last K Numbers Data Stream + Prefix Sum Medium 9 of 142 LeetCode →
12 Sort List Merge Sort + Divide and Conquer Medium 9 of 142 Solve →
13 Linked List Cycle II Floyd Cycle + Linked List Medium 12 of 142 LeetCode →
14 Shortest Distance from All Buildings BFS Hard 11 of 142 Solve →

If you are short on time, these carry more ByteDance-specific signal per hour than the universal top-100 lists.


System Design (HLD) Problems Asked at ByteDance

# Problem Difficulty Link
1 Message Queue Advanced Read →
2 Distributed Key-Value Store Advanced Read →
3 Distributed Cache Intermediate Read →
4 Rate Limiter Beginner Read →
5 Distributed Job Scheduler Advanced Read →
6 Metrics and Monitoring System Intermediate Read →
7 Chat System (Lark / Feishu) Intermediate Read →
8 Unique ID Generator Beginner Read →
9 Web Crawler (Content Ingestion) Intermediate Read →
10 Video Streaming and Delivery Advanced Read →

DSA Problems Asked at ByteDance

59 problems across 12 pattern groups. Each group is allocated in proportion to its real share of ByteDance’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.

Dynamic Programming

State definition is the whole battle. Say the recurrence out loud before you write the table. All 12 on the list.

# Problem Pattern Difficulty Link
1 First Day Where You Have Been in All the Rooms DP Medium LeetCode →
2 Maximal Square DP Medium Solve →
3 House Robber DP Medium Solve →
4 Regular Expression Matching DP Hard Solve →
5 Best Time to Buy and Sell Stock DP Easy Solve →
6 Longest Common Subsequence LCS + DP Medium Solve →
7 Longest Increasing Subsequence LIS + Binary Search Medium Solve →
8 Maximum Subarray Divide and Conquer + DP Medium Solve →
9 Climbing Stairs Memoization + DP Easy Solve →
10 Jump Game Greedy + DP Medium Solve →
11 Trapping Rain Water Monotonic Stack + Two Pointers Hard Solve →
12 Unique Paths Combinatorics + DP Medium Solve →

Stack & Monotonic Stack

Nearest-greater, parsing, and span problems. The monotonic variant is the one people miss. All 7 on the list.

# Problem Pattern Difficulty Link
13 Remove Duplicate Letters Monotonic Stack + Greedy Medium Solve →
14 Smallest Subsequence of Distinct Characters Monotonic Stack + Greedy Medium LeetCode →
15 Basic Calculator II Stack Medium Solve →
16 Basic Calculator Stack Hard Solve →
17 Decode String Stack Medium Solve →
18 Remove K Digits Monotonic Stack + Greedy Medium Solve →
19 Valid Parentheses Bracket Sequences + Stack Easy Solve →

Trees

Recursion discipline: what you return up, what you pass down. Follow-ups usually push from recursive to iterative. All 6 on the list.

# Problem Pattern Difficulty Link
20 Maximum Width of Binary Tree Binary Tree + BFS Medium Solve →
21 Binary Tree Right Side View Binary Tree + BFS Medium Solve →
22 Binary Tree Zigzag Level Order Traversal Binary Tree + BFS Medium Solve →
23 Delete Node in a BST BST + Binary Tree Medium LeetCode →
24 Number of Good Leaf Nodes Pairs DP on Trees + Binary Tree Medium Solve →
25 Sliding Window Maximum Range Query + Monotonic Queue Hard Solve →

Graphs

Traversal, connectivity, ordering, and shortest paths. The hardest bucket to fake — either you have drilled it or you have not. All 5 on the list.

# Problem Pattern Difficulty Link
26 Number of Islands Union-Find + BFS Medium Solve →
27 Course Schedule DAG + Topological Sort Medium Solve →
28 Word Ladder Bidirectional Search + BFS Hard Solve →
29 Accounts Merge Union-Find + BFS Medium LeetCode →
30 Clone Graph Graph + BFS Medium LeetCode →

Sliding Window & Two Pointers

Linear-time scans over arrays and strings. High volume, low variance — these should be automatic. All 5 on the list.

# Problem Pattern Difficulty Link
31 3Sum Closest Two Pointers Medium Solve →
32 Linked List Cycle II Floyd Cycle + Linked List Medium LeetCode →
33 Longest Repeating Character Replacement Sliding Window Medium Solve →
34 Minimum Swaps to Group All 1’s Together II Sliding Window Medium LeetCode →
35 Sort List Merge Sort + Divide and Conquer Medium Solve →

Arrays & Hashing

Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. All 5 on the list.

# Problem Pattern Difficulty Link
36 Shortest Bridge BFS + DFS Medium Solve →
37 Two Sum Hash Table + Array Easy Solve →
38 Rotting Oranges BFS Medium Solve →
39 Shortest Distance from All Buildings BFS Hard Solve →
40 Subarray Sum Equals K Prefix Sum Medium Solve →

Backtracking

Enumerate with pruning. Interviewers look for a clean choose, explore, unchoose loop and a real complexity bound. All 4 on the list.

# Problem Pattern Difficulty Link
41 Combination Sum Backtracking Medium Solve →
42 Restore IP Addresses Backtracking Medium Solve →
43 Combination Sum II Backtracking Medium Solve →
44 Subsets Backtracking + Bit Manipulation Medium Solve →

Design (Coding)

Build a data structure to a spec. Graded on API shape and the complexity of each operation, not just correctness. All 4 on the list.

# Problem Pattern Difficulty Link
45 LRU Cache Doubly Linked List + Design Medium Solve →
46 Design Memory Allocator Design Medium LeetCode →
47 Insert Delete GetRandom O(1) Randomized + Design Medium LeetCode →
48 Product of the Last K Numbers Data Stream + Prefix Sum Medium LeetCode →

Heap / Priority Queue

Top-k, streaming medians, and scheduling. Usually the difference between a passing and a timing-out solution. All 3 on the list.

# Problem Pattern Difficulty Link
49 Top K Frequent Elements Quickselect + Bucket Sort Medium Solve →
50 Kth Largest Element in an Array Quickselect + Divide and Conquer Medium Solve →
51 Merge k Sorted Lists Tournament Sort + Merge Sort Hard Solve →

Half of these are binary search on the answer, not on an array. Learn to spot the monotonic predicate. All 3 on the list.

# Problem Pattern Difficulty Link
52 Search in Rotated Sorted Array Binary Search Medium Solve →
53 Find Peak Element Binary Search Medium Solve →
54 Single Element in a Sorted Array Binary Search Medium Solve →

Linked List

Pointer surgery under time pressure. Draw the nodes before you write the reassignments. All 3 on the list.

# Problem Pattern Difficulty Link
55 Add Two Numbers Linked List Medium Solve →
56 Remove Zero Sum Consecutive Nodes from Linked List Linked List Medium LeetCode →
57 Reverse Linked List II Linked List Medium LeetCode →

Prefix structures and substring matching. Common wherever autocomplete or search is part of the product. All 2 on the list.

# Problem Pattern Difficulty Link
58 Find the Length of the Longest Common Prefix Trie Medium Solve →
59 Longest Palindromic Substring Manacher + Two Pointers Medium Solve →

ByteDance’s Favourite Patterns (Ranked)

Rank Pattern Frequency Problems on list Start with
1 Dynamic Programming Very High 12 (19%) First Day Where You Have Been in All the Rooms, Maximal Square, House Robber
2 Stack & Monotonic Stack High 7 (11%) Remove Duplicate Letters, Smallest Subsequence of Distinct Characters, Basic Calculator II
3 Trees High 6 (10%) Maximum Width of Binary Tree, Binary Tree Right Side View, Binary Tree Zigzag Level Order Traversal
4 Graphs Medium-High 5 (8%) Number of Islands, Course Schedule, Word Ladder
5 Sliding Window & Two Pointers Medium-High 5 (8%) 3Sum Closest, Linked List Cycle II, Longest Repeating Character Replacement
6 Arrays & Hashing Medium-High 5 (8%) Shortest Bridge, Two Sum, Rotting Oranges
7 Backtracking Medium 4 (6%) Combination Sum, Restore IP Addresses, Combination Sum II
8 Design (Coding) Medium 4 (6%) LRU Cache, Design Memory Allocator, Insert Delete GetRandom O(1)
9 Heap / Priority Queue Medium 3 (5%) Top K Frequent Elements, Kth Largest Element in an Array, Merge k Sorted Lists
10 Binary Search Medium 3 (5%) Search in Rotated Sorted Array, Find Peak Element, Single Element in a Sorted Array

How to read this: the top three rows are where your preparation hours should go. A candidate fluent in Dynamic Programming, Stack & Monotonic Stack, Trees covers the bulk of what ByteDance actually asks. The rest is insurance for the one round that goes somewhere unexpected.


The Fundamentals Segment: What Gets Asked Before the Coding Problem

Most ByteDance technical rounds spend the first fifteen to twenty minutes on rapid CS fundamentals. Answers are expected to be short and precise, not essays. The areas below come up repeatedly across reported loops, and infra and platform teams push deeper on the first three.

Area Typical ground covered
Databases Index structure and when an index is not used, transaction isolation levels, sharding keys, primary versus replica reads
Caching Eviction policies, write-through versus write-back, cache stampede, consistency with the source of truth
Concurrency Threads versus processes, locks versus lock-free, deadlock conditions, thread pool sizing, memory visibility
Networking TCP handshake and teardown, TCP versus UDP trade-offs, HTTP keep-alive, what a load balancer actually changes
Operating systems Virtual memory and paging, context switch cost, how an OS schedules, file descriptors
Language runtime Garbage collection behaviour in your language, object layout, value versus reference semantics

The pattern to prepare for is a follow-up chain rather than a single question: “what does this index do”, then “when would the query planner skip it”, then “how would you fix that”. Two or three levels deep on each area is enough.


HR Round and ByteStyles Questions

# Question
1 Tell me about a project where you went well beyond what was asked of you.
2 Tell me about a time you gave direct critical feedback to a colleague.
3 Tell me about a time you rebuilt something rather than patching it.
4 Tell me about a technical opinion you held that turned out to be wrong.
5 Describe the most ambiguous problem you have been handed and how you scoped it.
6 Tell me about a time you had to learn an unfamiliar system quickly to unblock delivery.
7 What is the highest-impact thing you shipped last year, and how did you measure it?
8 Why ByteDance, and which products or teams interest you specifically?

ByteDance’s ByteStyles values lean toward candour, ambition, and resisting process for its own sake. Stories that show you raised a hard problem early, or pushed back with evidence, land better than stories about smooth consensus. The HR round also handles compensation, so have a number ready.


14-Day Prep Plan

Built from the pattern ranking above, so the heaviest topics get the most time.

Day Focus Problems
1 Dynamic Programming (part 1) First Day Where You Have Been in All the Rooms, Maximal Square, House Robber
2 Dynamic Programming (part 2) Regular Expression Matching, Best Time to Buy and Sell Stock, Longest Common Subsequence
3 Stack & Monotonic Stack (part 1) Remove Duplicate Letters, Smallest Subsequence of Distinct Characters, Basic Calculator II
4 Stack & Monotonic Stack (part 2) Basic Calculator, Decode String, Remove K Digits
5 Trees (part 1) Maximum Width of Binary Tree, Binary Tree Right Side View, Binary Tree Zigzag Level Order Traversal
6 Trees (part 2) Delete Node in a BST, Number of Good Leaf Nodes Pairs, Sliding Window Maximum
7 Graphs Number of Islands, Course Schedule, Word Ladder
8 Sliding Window & Two Pointers 3Sum Closest, Linked List Cycle II, Longest Repeating Character Replacement
9 Arrays & Hashing Shortest Bridge, Two Sum, Rotting Oranges
10 Backtracking Combination Sum, Restore IP Addresses, Combination Sum II
11 Design (Coding) LRU Cache, Design Memory Allocator, Insert Delete GetRandom O(1)
12 Mock round Two problems in 45 minutes, timed, no hints. Simulate the real round.
13 Revision Redo the problems you failed or needed a hint on.
14 Light review + rest Re-read your pattern notes. Sleep early.

Tips for ByteDance Interviews

  1. Solve for the time limit, not just correctness. The OA rejects solutions that pass logically but exceed the limit on large hidden tests. Know the complexity you need before you start typing.
  2. Expect no warm-up problem. Rounds commonly open at medium and go up. There is no easy opener to settle your nerves, so get the pacing from timed practice instead.
  3. Drill the fundamentals segment separately. Index selection, transaction isolation, how a hash map handles collisions and resizing, TCP versus UDP, process versus thread, cache eviction. These are asked quickly and answered in a sentence or two.
  4. Make your CV team-specific. ByteDance screens resumes against a particular team before anything else. Lead with the infrastructure, data, or backend work that matches the posting rather than a general summary.
  5. Know your own projects at architecture depth. The project deep dive goes several questions past the surface: why that datastore, what the throughput was, what broke in production, what you would change now.
  6. For infra design prompts, start from the failure story. Replication, leader election, backpressure, and what the system does when a dependency is slow rather than down. That framing suits ByteDance infra rounds better than a feature walkthrough.
  7. Ask which level the loop is calibrated to. 2-1 and 2-2 loops are mostly coding; 3-1 and above add real design weight. Preparing for the wrong one wastes most of your time.

Other Company Prep


Round counts, durations, and level mapping reflect commonly reported candidate experiences rather than published ByteDance documentation. The loop varies significantly by team, level, and region, and some reported loops run shorter or longer than the table above. Confirm the format with your recruiter.