LeetCode: 606-Construct String from Binary Tree Solution
Last Updated on 2023-12-08 by Clay
Problem
Given the root
of a binary tree, construct a string consisting of parenthesis and integers from a binary tree with the preorder traversal way, and return it.