tree2str-empty-left-parens-preserved

Status: IN

`tree2str` emits `()` for a missing left child if and only if the right child exists, preserving positional unambiguity in the serialized output.

Source: entries/2026/06/06/construct-string-from-binary-tree-solution.md

JSON