LeetCode: 606-Construct String from Binary Tree 解題紀錄
Last Updated on 2023-12-08 by Clay
題目
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.