Skip to content

Commit 5fe74a2

Browse files
committed
fix comments in sumTree.cpp
1 parent 432119f commit 5fe74a2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tree_problems/sumTree.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
* An empty tree is SumTree and sum of an empty tree can be considered as 0.
55
* A leaf node is also considered as SumTree.
66
*
7-
* 26
8-
* / \
9-
* 10 3
10-
* / \ \
11-
* 4 6 3
7+
* 26
8+
* / \
9+
* 10 3
10+
* / \ \
11+
* 4 6 3
1212
*/
1313
#include <iostream>
1414

@@ -63,11 +63,11 @@ void inorder(Node * root)
6363
int main()
6464
{
6565
/**
66-
* 26
67-
* / \
68-
* 10 3
69-
* / \ \
70-
* 4 6 3
66+
* 26
67+
* / \
68+
* 10 3
69+
* / \ \
70+
* 4 6 3
7171
*/
7272
Node * root = new Node(26);
7373
root->left = new Node(10);

0 commit comments

Comments
 (0)