Problem 606 · Medium

Construct String from Binary Tree

Turn a binary tree into a parenthesised preorder string that keeps every empty child explicit where needed. The visual walks the tree and writes each node and bracket in order.

Open the interactive visualisation