Skip to main content

Practice in the browser

ByteDance coding interview problems

ByteDance rounds run harder and more algorithmic than most, with a real appetite for dynamic programming and graph problems at speed.

Commonly emphasisedDynamic programmingGraphsHard algorithms

These problems commonly appear in ByteDance coding interviews based on widely shared public reports. They are not an official list and not leaked questions, and interview content varies by team and level. Use the set to focus your practice on the patterns ByteDance tends to favour, then solve each one in the live editor.

Frequently asked questions

Are these the exact questions ByteDance asks?
No. These are problems that commonly appear in ByteDance coding interviews as reported across public community sources, chosen to match the patterns ByteDance tends to favour. Interview content varies by team, role, and time, so treat this as a focused practice set rather than a question leak.
How should I practise these?
Open each problem, attempt it cold for twenty to thirty minutes, and run it against the test cases. If you get stuck, work out the optimal approach, then close the editor and re-solve from scratch the next day. Being able to reproduce a solution unaided is what carries into the interview.
Which language should I use?
Use the language you will interview in. The editor runs JavaScript, TypeScript, and Python in your browser, and Java, C, and C++ in a sandbox, so you can rehearse in your real stack.

Keep going