This problem seems vague to me. What is the supposed output of following tree?
/ \ \
3 4 6
Tree should look like this -
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.