{"id":"tree2str-no-unnecessary-right-parens","text":"`tree2str` never emits parentheses for an absent right child, regardless of whether the left child exists — the asymmetric conditional (`if root.left or root.right` vs. `if root.right`) encodes this rule.","truth_value":"IN","source":"entries/2026/06/06/construct-string-from-binary-tree-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"tree2str-no-unnecessary-right-parens","truth_value":"IN","reason":"premise"}]}}