ByteDance / TikTokCoding·60 minMembers
Course Schedule and Topological Sort on a Directed Graph
Members only
ByteDance / TikTok onsite coding round around Course Schedule and dependency ordering on a Directed Graph. The public signal is relationship and dependency modeling; the prep value is in the exact contract, edge cases, and follow-up path. It is a lower-frequency prompt with enough detail to prepare for SWE and infra candidates, so prepare to clarify requirements before writing code.
SWE
Infra Eng
graph
bfs
dfs
topological-sort
medium
Frequency
High
Last asked
2026-11-12
Stage
phone-screen · onsite-coding
Members get
- Full problem statement
- Known variants to clarify
- Step-by-step approach
- 2 common pitfalls
- Preparation drills
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
