Optiver logoOptiver
Coding·120 minMembers

Build Binary Tree from Edges / S-Expression

Members only

A recurring problem in Optiver's experienced-SWE OA: turn loosely formatted parent-child input into a tree and print it in a compact textual form. Input validation is deliberately fiddly, and hidden tests target malformed cases.

SWE
tree
parsing
simulation
oa
medium
Frequency
Medium
Last asked
2026-07-16
Stage
oa · take-home

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...