ByteDance

ByteDance Software Engineer Onsite Coding Questions

72+ questions from real ByteDance Software Engineer Onsite Coding rounds, reported by candidates who interviewed there.

72
Questions
8
Topic Areas
10+
Sources

What does the ByteDance Onsite Coding round test?

The ByteDance onsite coding round is the core technical evaluation. Software Engineer candidates typically see 2-3 algorithm and data structure problems. Problems range from medium to hard difficulty, and interviewers evaluate both correctness and code quality.

Top Topics in This Round

ByteDance Software Engineer Onsite Coding Questions

This was my first coding interview, and my performance was only so-so. The interviewer was quite serious throughout. They spent about 25 minutes asking questions related to my resume, including many f

After the referral, the recruiter contacted me via email, asking some behavioral questions: "Why us?" / "Why this new opportunity?" (Of course, I need to find a job after graduation). First Round: Des

You can refer to [the previous round](https://programhelp.net/en/vo/tiktok-vo-interview-experience-bq-coding-assistance/) of interview experience,This round also ended well. The interviewer was Chines

Tiktok First Round 2-1 level

Sliding Window 2024

Not sure how to solve this problem actually... """ Given an integer array nums and an integer k, return the length of the longest subarray of s such that the frequency of...

https://leetcode.com/problems/cheapest-flights-within-k-stops/

https://leetcode.com/problems/evaluate-division/

I was given a question similar to https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination/, elaborated below. You are given an m x n integer matrix grid where each cell is either 0 (empty), 1 (obstacle) or 2...

#146 LRU Cache

Hash Table

LeetCode #146: LRU Cache. Difficulty: Medium. Topics: Hash Table, Linked List, Design, Doubly-Linked List. Asked at TikTok in the last 6 months.

LeetCode #68: Text Justification. Difficulty: Hard. Topics: Array, String, Simulation. Asked at TikTok in the last 6 months.

LeetCode #200: Number of Islands. Difficulty: Medium. Topics: Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix. Asked at TikTok in the last 6 months.

LeetCode #207: Course Schedule. Difficulty: Medium. Topics: Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort. Asked at TikTok in the last 6 months.

LeetCode #253: Meeting Rooms II. Difficulty: Medium. Topics: Array, Two Pointers, Greedy, Sorting, Heap (Priority Queue), Prefix Sum. Asked at TikTok in the last 6 months.

LeetCode #739: Daily Temperatures. Difficulty: Medium. Topics: Array, Stack, Monotonic Stack. Asked at TikTok in the last 6 months.

LeetCode #1462: Course Schedule IV. Difficulty: Medium. Topics: Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort. Asked at TikTok in the last 6 months.

LeetCode #3: Longest Substring Without Repeating Characters. Difficulty: Medium. Topics: Hash Table, String, Sliding Window. Asked at TikTok in the last 6 months.

#15 3Sum

Two Pointers

LeetCode #15: 3Sum. Difficulty: Medium. Topics: Array, Two Pointers, Sorting. Asked at TikTok in the last 6 months.

LeetCode #300: Longest Increasing Subsequence. Difficulty: Medium. Topics: Array, Binary Search, Dynamic Programming. Asked at TikTok in the last 6 months.

LeetCode #827: Making A Large Island. Difficulty: Hard. Topics: Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix. Asked at TikTok in the last 6 months.

LeetCode #56: Merge Intervals. Difficulty: Medium. Topics: Array, Sorting. Asked at TikTok in the last 6 months.

LeetCode #215: Kth Largest Element in an Array. Difficulty: Medium. Topics: Array, Divide and Conquer, Sorting, Heap (Priority Queue), Quickselect. Asked at TikTok in the last 6 months.

See All 72 Questions from This Round

Full question text, answer context, and frequency data for subscribers.

Get Access