Interview Intel · ByteDance

ByteDance coding interview
questions, leaked.

64 problems reported across recent ByteDance interviews. Top patterns: array, string, dynamic programming. The list below is what most reported candidates actually saw, plus the honest play if you can't grind all of it.

Founder's read

ByteDance's interview is array-heavy and unforgiving. Out of 64 problems in their question bank, 34 are array-based and 75% are medium or hard. You'll face sliding window, two-pointer traversals, and dynamic programming chains back-to-back. Strings and hash tables round out the core. If you hit a wall on a monotonic-stack problem or a DP recurrence mid-OA, StealthCoder surfaces a working solution in seconds, invisible to the proctor. That's your safety net while you keep talking.

Tracked problems
64
Easy
8/ 13%
Medium
48/ 75%
Hard
8/ 13%

Top problems at ByteDance

leaked_problems.csv50 rows
#ProblemDiffFrequency
01LRU CacheMEDIUM
100.0
02Smallest Subsequence of Distinct CharactersMEDIUM
89.5
03First Day Where You Have Been in All the RoomsMEDIUM
87.2
04Remove Duplicate LettersMEDIUM
87.2
05Number of IslandsMEDIUM
84.6
06Course ScheduleMEDIUM
78.6
07Combination SumMEDIUM
74.9
08Longest Substring Without Repeating CharactersMEDIUM
74.9
09Regular Expression MatchingHARD
70.5
10Basic Calculator IIMEDIUM
70.5
11Kth Largest Element in an ArrayMEDIUM
70.5
12Merge IntervalsMEDIUM
65.1
13Shortest Distance from All BuildingsHARD
65.1
14House RobberMEDIUM
65.1
15Two SumEASY
65.1
16House Robber IIMEDIUM
65.1
17Trapping Rain WaterHARD
65.1
18Longest Consecutive SequenceMEDIUM
65.1
19Search in Rotated Sorted ArrayMEDIUM
65.1
20Subarray Sum Equals KMEDIUM
58.2
21Add Two NumbersMEDIUM
58.2
22Top K Frequent ElementsMEDIUM
58.2
23Basic CalculatorHARD
58.2
24Sort ListMEDIUM
58.2
25Insert Delete GetRandom O(1)MEDIUM
58.2
26Combination Sum IIMEDIUM
58.2
27Number of Good Leaf Nodes PairsMEDIUM
58.2
28Maximal SquareMEDIUM
58.2
29Longest Common SubsequenceMEDIUM
58.2
30Sum GameMEDIUM
58.2
31Rotting OrangesMEDIUM
58.2
32Delete Operation for Two StringsMEDIUM
58.2
33Best Time to Buy and Sell StockEASY
58.2
34Longest Repeating Character ReplacementMEDIUM
48.5
35Remove Zero Sum Consecutive Nodes from Linked ListMEDIUM
48.5
36Add to Array-Form of IntegerEASY
48.5
37Minimum Area RectangleMEDIUM
48.5
38Count Binary SubstringsEASY
48.5
39Unique PathsMEDIUM
48.5
40Merge Sorted ArrayEASY
48.5
41Compare Version NumbersMEDIUM
48.5
42Search a 2D Matrix IIMEDIUM
48.5
43Sum of Distances in TreeHARD
48.5
44Open the LockMEDIUM
48.5
45Maximum Value at a Given Index in a Bounded ArrayMEDIUM
48.5
46Container With Most WaterMEDIUM
48.5
47Next PermutationMEDIUM
48.5
48Pow(x, n)MEDIUM
48.5
49Course Schedule IIMEDIUM
48.5
50Decode StringMEDIUM
48.5

Frequencies derived from public community-tagged interview reports. Click a row to view on LeetCode.

The hedge

You have a week, maybe less. You can't out-grind the list above. StealthCoder runs invisibly during the actual ByteDance OA. The proctor cannot see it. Screen share cannot detect it. Built by an engineer at a top-10 tech company who can solve these problems cold but didn't want to trust himself in a 90-minute screen share.

Get StealthCoder
Topic distribution
What this means

Array dominance is the first shock. It's not just 'arrays appear sometimes', it's more than half the reported problems. Hash tables and strings follow, both tied to sliding-window and greedy patterns you'll see repeatedly. Dynamic programming shows up in 15 problems, often layered with arrays and strings. Graph traversal (BFS, DFS, topological sort) accounts for a smaller slice but filters hard. The difficulty split is brutal: only 8 easy problems versus 48 medium and 8 hard. You can't muscle through on pattern recognition alone. Problems like LRU Cache, Smallest Subsequence of Distinct Characters, and Regular Expression Matching require design thinking and state management. If you haven't drilled monotonic stacks and greedy character-removal logic, StealthCoder is the hedge when the live assessment surprises you.

Companies with similar patterns

If you prepped for ByteDance, these companies recycle ~60% of the same topics.

The honest play

You've seen the list. Now make sure you pass ByteDance.

Memorizing every problem above in a week is a fantasy. StealthCoder is the hedge: an AI overlay that's invisible during screen share. It reads the problem on screen and surfaces a working solution in under 2 seconds. Built by an engineer at a top-10 tech company who can solve these problems cold but didn't want to trust himself in a 90-minute screen share. Works on HackerRank, CodeSignal, CoderPad, and Karat.

ByteDance interview FAQ

How many array problems should I solve before my ByteDance OA?+

At least 20 to 25. Arrays make up 53% of their question bank. Focus on sliding window, two-pointer, and DP-on-arrays patterns first. Merge Intervals, House Robber, and First Day Where You Have Been in All the Rooms are representative difficulty and style.

Is studying strings enough, or do I need hash tables too?+

You need both together. 16 string problems and 14 hash-table problems often interlock. Longest Substring Without Repeating Characters, Smallest Subsequence of Distinct Characters, and Remove Duplicate Letters all blend hash tables with greedy logic and stacks. Ignore neither.

What should I study first for a ByteDance interview?+

Array and string patterns, then dynamic programming. DP appears in 15 problems and often combines with arrays. Master Two Sum, Longest Substring Without Repeating Characters, and Merge Intervals before touching graph problems. That's 60% of your interview covered.

Are easy problems worth drilling, or should I focus on medium and hard?+

Skim easy, drill medium and hard. Only 8 of 64 problems are easy. You'll see at most one or two in your OA. Spend your time on the 48 medium problems and patterns like LRU Cache, Course Schedule, and Regular Expression Matching that won't feel straightforward.

Will graph and BFS problems show up, or are they rare?+

Graph and BFS appear in 8 problems each, lower frequency than arrays or strings. But Number of Islands, Course Schedule, and Shortest Distance from All Buildings are common interview favorites. Study them after mastering array and DP, and prioritize BFS over DFS for ByteDance's style.

Problem frequencies sourced from public community-maintained interview-report repos. Problems, ratings, and trademarks are property of LeetCode and ByteDance. StealthCoder is not affiliated with ByteDance.