ByteDance / TikTokCodingMembers
Flatten a Multilevel Doubly Linked List (Skip Empty Nodes)
Members only
A USDS IC coding round takes a classic multilevel linked-list flatten and adds one twist that invalidates the memorized template: certain nodes must be dropped from the result while the structure around them survives. Clarifying the exclusion rule up front is most of the battle, and the round pairs it with a second tree problem.
SWE
linked-list
dfs
medium
Frequency
Single report
Last asked
2026-07-17
Stage
onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
