Bytedance Coding Interview Questions
45 coding problems are tagged as asked at Bytedance in interviews and online assessments reported by candidates. By difficulty they split into 6 basic, 28 intermediate and 11 advanced. The topics they most often combine with are Array, String, Hash Table, Sorting.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Bytedance tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Two Sum (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Maximum Subarray (Intermediate)
- Valid Parentheses (Basic)
- Climbing Stairs (Basic)
- House Robber (Intermediate)
- Longest Increasing Subsequence (Advanced)
- Kth Largest Element (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Trapping Rain Water (Advanced)
- Longest Palindromic Substring (Intermediate)
- Longest Common Subsequence (Advanced)
- Search in a Rotated Sorted Array (Advanced)
- Merge Intervals (Intermediate)
- Remove K Digits to Get the Smallest Number (Intermediate)
- Shortest Bridge Between Two Islands (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Top K Frequent Values (Intermediate)
- Course Schedule Feasible (Intermediate)
- LRU Cache Operations (Basic)
- Text Justification (Intermediate)
- Zigzag Level Order Traversal (Intermediate)
- Remove Zero-Sum Consecutive Nodes (Advanced)
- Delete Node in a BST (Intermediate)
- Maximum Width of Binary Tree (Intermediate)
- Number of Islands (Basic)
- Rotting Oranges (Intermediate)
- Shortest Distance From All Buildings (Advanced)
- Regular Expression Matching (Advanced)
- Maximal Square (Intermediate)
- Multiply Strings (Intermediate)
- Basic Calculator (Advanced)
- Basic Calculator II (Intermediate)
- Remove Duplicate Letters (Advanced)
- 3Sum Closest (Intermediate)
- Sliding Window Maximum Values (Advanced)
- Single Element in a Sorted Array (Intermediate)
- Combination Sum (Intermediate)
- Combination Sum II (Intermediate)
- Restore IP Addresses (Intermediate)
- Memory Allocator (Intermediate)
- Minimum Area Rectangle (Intermediate)
- Product of the Last K Numbers (Intermediate)
- Trapping Rain Water II (Advanced)
- Longest Repeating Character Replacement (Intermediate)
Related
- Bytedance intermediate problems
- Bytedance advanced problems
- Bytedance Array problems
- Bytedance String problems
- Bytedance Hash Table problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Bytedance problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Bytedance interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.