Skip to content

Commit 9d342dc

Browse files
Update 0606-Construct-String-from-Binary-Tree.md
1 parent e14d6c7 commit 9d342dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsa-solutions/lc-solutions/0600-0699/0606-Construct-String-from-Binary-Tree.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ description: "Given the root of a binary tree, construct a string consisting of
1414
Given the root of a binary tree, construct a string consisting of parenthesis and integers from a binary tree with the preorder traversal way.
1515

1616
### Examples
17-
![Screenshot of the application](.././../../assets/606%20ex1.png)
1817
**Example 1:**
18+
- ![Screenshot of the application](.././../../assets/606%20ex1.png)
1919
**Input:** `root = [1,2,3,4]`
2020
**Output:** `"1(2(4))(3)"`
2121
**Explanation:** Originally, it needs to be `"1(2(4)())(3()())"`, but you need to omit all the unnecessary empty parenthesis pairs. And it will be `"1(2(4))(3)"`

0 commit comments

Comments
 (0)