What ByteDance says about its hiring process, which LeetCode problems its company tag lists most, and a worked LRU Cache answer to practise from.
The ByteDance interview questions tracked on LeetCode are mostly medium-difficulty problems, with a design-a-data-structure question at the top. In a July 2026 snapshot of LeetCode's ByteDance company tag, 50 of 63 problems are Medium, 9 Hard and 4 Easy, and LRU Cache has the highest frequency score. Number of Islands, Course Schedule, Merge Intervals, Basic Calculator II and a pair of monotonic-stack problems follow. ByteDance itself says the process varies by team and role, usually includes an assessment or test for technical roles plus several interview rounds, and takes about a month from resume to offer. This page covers what ByteDance publishes, what the tag data shows, and how to practise.
If you are preparing for several companies at once, our overview of the software engineer interview process shows which rounds most employers share and where they differ.
What ByteDance says about its hiring process
ByteDance's careers site describes three steps: apply, interview, offer. The interview step is "a series of phone, video, or onsite interviews" with your recruiter and potential coworkers, and the site suggests talking to your recruiter beforehand about what the team needs (Applying to ByteDance).
The FAQ adds the details that matter for planning:
- It varies. The FAQ says the process "varies depending on the team and the role". An assessment, test or task is common, "usually for technical roles", along with several rounds of interviews. Your recruiter tells you the specific process.
- About a month. From submitting a resume to receiving an offer, the process "usually lasts one month". Interviews run on a rolling basis.
- Reapplying. ByteDance recommends a six-month gap between applications for the same role.
- English resume. The FAQ asks for resumes in English.
The interview tips page says assessments can be virtual or in person and may take a few hours. It does not describe coding rounds, and ByteDance publishes no question list. Everything more specific below comes from candidate reports and LeetCode's company tags, so treat it as a pattern, not a promise.
What candidates report about the rounds
ByteDance's careers site links to a separate TikTok careers site, lifeattiktok.com, and the detailed public write-ups we found describe TikTok engineering interviews. They overlap on online coding and several rounds, but differ on the exact structure:
- interviewing.io's TikTok guide lists a 30-minute recruiter call, then rounds you pass one at a time: a 30-minute technical screen, a harder one-hour technical screen, a one-hour system design round and a one-hour behavioral round. It reports HackerRank as the coding environment, a process of about five weeks, interviews that can fall in Chinese business hours, and that AI use is "strictly prohibited" in interviews (interviewing.io).
- Aced (formerly Exponent) describes one or two HackerRank coding challenges, two to three technical rounds, and final interviews with the hiring manager and HR, with coding questions of "medium to hard difficulty" (Aced).
- A TikTok talent acquisition leader, interviewed by SheCanCode, said candidates take one or two coding tests depending on the strength of their CV, run in a live environment, in whichever language they are strongest in (SheCanCode).
The practical reading: expect an online coding assessment or screen, at least two live coding rounds, system design if you are past new-grad level, and a behavioral round. Ask your recruiter which of these your team uses; ByteDance's own FAQ says they will tell you.
What LeetCode's ByteDance tag shows
LeetCode shows company tags to Premium subscribers. A public GitHub repository publishes a snapshot of them dated 12 July 2026 (ByteDance list, TikTok list). We went through both files. Four things stand out.
1. The ByteDance tag is small and mostly old. It holds 63 problems, but only four are in its last-six-months file: LRU Cache, Number of Islands, Single Element in a Sorted Array and Longest Increasing Subsequence. There is no 30-day or three-month file for ByteDance at all.
2. Recent activity sits under the TikTok tag. The TikTok tag has 349 problems, 41 in the last six months, 17 in the last three months and 6 in the last 30 days. LRU Cache and Number of Islands are the top two in both the ByteDance six-month file and TikTok's six-month list. If you are preparing for either company, study both tags.
3. The tag favours problem families. Remove Duplicate Letters and Smallest Subsequence of Distinct Characters are the same problem under two numbers, and both score 87.5%. Basic Calculator and Basic Calculator II are both listed, as are Combination Sum and Combination Sum II, and Trapping Rain Water I and II. Our reading: prepare the follow-up version, not only the base problem, because the tag suggests interviewers escalate.
4. Medium dominates. 50 of the 63 ByteDance problems are Medium. Of the 17 TikTok problems from the last three months, 14 are Medium and 3 Hard. Speed and clean code on mediums matter more than rare hard tricks.
An earlier version of this page listed 30 problems. Only 16 of them appear in the ByteDance tag, and five (The Maze, The Number of Weak Characters in the Game, Closest Dessert Cost, Sliding Window Median and Design Twitter) appear in neither the ByteDance nor the TikTok tag. The list below replaces it.
The ByteDance LeetCode questions to practise first
These are taken from the ByteDance tag, with the TikTok tag used to break ties toward recent activity. The score is LeetCode's frequency score from the snapshot.
- Group — Problem — ByteDance score — What it tests
- Design — 146. LRU Cache — 100% (also #1 for TikTok, six months) — Hash map plus doubly linked list, O(1) operations
- Design — 380. Insert Delete GetRandom O(1) — 50% — Array plus index map, swap-with-last deletion
- Design — 2502. Design Memory Allocator — 62.5% — Simulating allocation, choosing a simple structure under time pressure
- Grid and graph — 200. Number of Islands — 75% (100% in the six-month file) — DFS or BFS flood fill, marking visited cells
- Grid and graph — 207. Course Schedule — 75% — Cycle detection, topological sort
- Grid and graph — 934. Shortest Bridge — 75% — Flood fill one island, then multi-source BFS
- Grid and graph — 127. Word Ladder — 62.5% — BFS shortest path on an implicit graph
- Stack — 316. Remove Duplicate Letters — 87.5% — Monotonic stack with a "seen later?" check
- Stack — 227. Basic Calculator II — 75% — Operator precedence with one stack
- Stack — 394. Decode String — 62.5% — Nested state on a stack
- Arrays — 56. Merge Intervals — 75% — Sort, then sweep
- Arrays — 33. Search in Rotated Sorted Array — 62.5% — Binary search on the sorted half
- Arrays — 560. Subarray Sum Equals K — 50% — Prefix sums with a count map
- Dynamic programming — 300. Longest Increasing Subsequence — 62.5% (87.5% six months) — O(n²) DP, then the O(n log n) patience method
- Dynamic programming — 221. Maximal Square — 75% — 2D DP from three neighbours
Short notes on the ones people get wrong:
- Number of Islands. State up front whether you may modify the grid. Recursive DFS can hit Python's recursion limit on a large all-land grid, so be ready to switch to an explicit stack or BFS when asked.
- Course Schedule. Interviewers often follow up with Course Schedule II, which returns the order. If you use Kahn's algorithm (in-degree queue), the order falls out for free.
- Basic Calculator II. Keep the previous operator, push numbers for + and −, and fold * and / into the top of the stack. Integer division truncates toward zero, which Python's // does not do for negatives; use int(a / b).
- Longest Increasing Subsequence. Give the O(n²) DP first, then improve to O(n log n). Say clearly that the tails array is not the subsequence itself.
The monotonic-stack pair
Remove Duplicate Letters asks for the smallest-in-dictionary-order string that keeps one copy of each letter. The idea: walk left to right and pop a larger letter off the stack if it appears again later.
def remove_duplicate_letters(s: str) -> str:
last = {ch: i for i, ch in enumerate(s)} # last index of each letter
stack, seen = [], set()
for i, ch in enumerate(s):
if ch in seen:
continue
# pop a bigger letter if it appears again later
while stack and ch < stack[-1] and last[stack[-1]] > i:
seen.discard(stack.pop())
stack.append(ch)
seen.add(ch)
return "".join(stack)
# remove_duplicate_letters("cbacdcbc") -> "acdb"O(n) time, since each letter is pushed and popped at most once, and O(1) extra space for a fixed alphabet. The detail interviewers listen for is the seen set: without it, a letter already on the stack gets pushed twice.
Worked example: LRU Cache
LRU Cache tops the ByteDance tag and TikTok's recent lists, so it is the one problem to be able to write cold. The task: a cache with a fixed capacity where get and put both run in O(1) average time, evicting the least recently used key when full.
What a strong answer sounds like before any code: "A hash map gives O(1) lookup but no order. A doubly linked list gives O(1) move-to-front and remove-from-back but no lookup. Use both: the map points at list nodes. Most recent at the head, least recent at the tail. I'll add sentinel head and tail nodes so I never special-case an empty list."
class Node:
__slots__ = ("key", "val", "prev", "next")
def __init__(self, key=0, val=0):
self.key, self.val = key, val
self.prev = self.next = None
class LRUCache:
def __init__(self, capacity: int):
self.cap = capacity
self.map = {} # key -> Node
self.head, self.tail = Node(), Node() # sentinels: head.next is most recent
self.head.next, self.tail.prev = self.tail, self.head
def _unlink(self, node):
node.prev.next, node.next.prev = node.next, node.prev
def _push_front(self, node):
node.prev, node.next = self.head, self.head.next
self.head.next.prev = node
self.head.next = node
def get(self, key: int) -> int:
node = self.map.get(key)
if node is None:
return -1
self._unlink(node)
self._push_front(node) # reading counts as use
return node.val
def put(self, key: int, value: int) -> None:
node = self.map.get(key)
if node:
node.val = value
self._unlink(node)
else:
if len(self.map) == self.cap:
lru = self.tail.prev # least recently used
self._unlink(lru)
del self.map[lru.key] # why the node stores its key
node = Node(key, value)
self.map[key] = node
self._push_front(node)What separates strong from weak answers:
- Weak: reaching for Python's OrderedDict and stopping. It is a fine first answer, but expect "now build it without the library", so say you can and do it.
- Weak: forgetting that get also refreshes recency, or that put on an existing key updates the value and refreshes it rather than adding a duplicate.
- Weak: storing only values in the nodes. On eviction you need the key to delete it from the map.
- Strong: testing out loud with capacity 2: put 1, put 2, get 1, put 3 (evicts 2), get 2 returns −1. Then capacity 1, which catches off-by-one eviction bugs.
- Strong: having an answer for the follow-ups: thread safety (one lock around both structures, since the map and list must change together), a time-to-live per key, or LFU instead of LRU (LeetCode 460).
System design and behavioral rounds
For experienced hires, both guides describe a system design round of 45 minutes to an hour. Aced lists example areas such as video platform architecture, CDNs and caching, real-time feed generation and recommendation systems (Aced); interviewing.io's examples include designing a large-scale logging system (interviewing.io). Practise one feed or video-delivery design end to end: requirements, the API, the data model, where the cache sits, and what breaks first as traffic grows.
The behavioral round is easier to prepare for than people think, because ByteDance publishes its values. Its six "ByteStyle" values are Always Day 1; Champion Diversity and Inclusion; Be Candid and Clear; Seek Truth and Be Pragmatic; Be Courageous and Aim for the Highest; and Grow Together (ByteDance culture). Prepare one specific story for each. "Seek Truth and Be Pragmatic" is about digging into facts and focusing on real impact, so a story where data changed your mind fits. "Be Candid and Clear" calls for a time you raised a problem early and plainly. Keep each story to two minutes: the situation, what you did, and a result you can measure.
A three-week preparation plan
- Week 1: patterns. One problem per group in the table above, untimed, until you can explain the approach before coding. Write LRU Cache from scratch twice.
- Week 2: speed. Two ByteDance- or TikTok-tagged mediums a day in 25 minutes each, in a plain editor without autocomplete. Add the follow-up versions: Basic Calculator, Course Schedule II, Combination Sum II.
- Week 3: full rounds. Mock interviews with a friend: 45 minutes of coding while talking, one system design session, and your ByteStyle stories out loud. Ask your recruiter about format and time zone so nothing surprises you on the day.
After a timed practice attempt, Verve AI's Coding Copilot can read the problem from your screen and return a solution in 21+ programming languages, with quick actions such as Complexity, Edge Case and Optimize. Use it to compare your approach and find the edge cases you missed, not as a replacement for working the problem yourself.
Quick answers
Which language should I use? A TikTok recruiter told SheCanCode candidates can use the language they are strongest in, so pick the one you write fastest without looking things up.
Is the LeetCode tag list what ByteDance will ask? No. It is a snapshot of LeetCode's company tags, not a list ByteDance publishes. Use it to choose which patterns to drill.
How long does the process take? ByteDance's FAQ says about one month from resume to offer; interviewing.io reports about five weeks for TikTok.
For more practice, see our guides to common LeetCode interview questions, Google's LeetCode interview and Amazon's LeetCode interview.
Sources
- ByteDance recruitment steps (phone, video or onsite interviews; talk to your recruiter): https://joinbytedance.com/apply
- ByteDance FAQ (process varies by team and role; assessment usually for technical roles; several rounds; about one month; six-month reapply gap; English resume): https://joinbytedance.com/faq
- ByteDance interview tips (assessments virtual or in person, may take a few hours): https://joinbytedance.com/interview
- ByteStyle values and descriptions: https://joinbytedance.com/culture
- ByteDance careers site links to the TikTok careers site, lifeattiktok.com: https://joinbytedance.com/
- TikTok round structure, durations, HackerRank, about five weeks, Chinese business hours, AI prohibited, logging-system example: https://interviewing.io/tiktok-interview-questions
- TikTok HackerRank challenges, two to three technical rounds, hiring manager and HR finals, medium-to-hard difficulty, system design topics: https://www.aced.io/blog/tiktok-interview-process
- TikTok recruiter on one or two live coding tests and language choice: https://shecancode.io/how-to-best-prepare-for-a-technical-interview-at-tiktok/
- LeetCode company-tag snapshot dated 12 July 2026 (README): https://github.com/snehasishroy/leetcode-companywise-interview-questions
- ByteDance tag (63 problems, difficulty split, frequency scores): https://github.com/snehasishroy/leetcode-companywise-interview-questions/blob/master/bytedance/all.csv
- ByteDance tag, last six months (4 problems): https://github.com/snehasishroy/leetcode-companywise-interview-questions/blob/master/bytedance/six-months.csv
- TikTok tag (349 problems): https://github.com/snehasishroy/leetcode-companywise-interview-questions/blob/master/tiktok/all.csv
- TikTok tag, last six months (41), three months (17), 30 days (6): https://github.com/snehasishroy/leetcode-companywise-interview-questions/blob/master/tiktok/six-months.csv, https://github.com/snehasishroy/leetcode-companywise-interview-questions/blob/master/tiktok/three-months.csv, https://github.com/snehasishroy/leetcode-companywise-interview-questions/blob/master/tiktok/thirty-days.csv
- Verve Coding Copilot (screen capture, 21+ languages, quick actions): https://docs.vervecopilot.com/features/coding-copilot
- Code examples (Remove Duplicate Letters, LRU Cache): written for this page and tested locally on the problems' standard examples.
Ryan
CEO of Verve AI








