ByteDance / TikTok logoByteDance / TikTok
CodingMembers

Reconstruct Binary Tree from Preorder and Postorder

Members only

A recent TikTok new-grad screen included a familiar binary-tree reconstruction prompt. The distinguishing signal is managing traversal boundaries and ambiguity under interview time pressure.

SWE
tree
dfs
divide-and-conquer
medium
Frequency
Single report
Last asked
—
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...