You are viewing a single comment's thread. Return to all comments →
Can a new node be two levels up? For example can we go 3 1 2 7 9 10 6
6 will be a child of 7 but still one node above 9 and 10
Normally we just go one node up. For example 8 would be valid instead of 6.
So is the above a valid input?
Seems like cookies are disabled on this browser, please enable them to open this website
Valid BST
You are viewing a single comment's thread. Return to all comments →
Can a new node be two levels up? For example can we go 3 1 2 7 9 10 6
6 will be a child of 7 but still one node above 9 and 10
Normally we just go one node up. For example 8 would be valid instead of 6.
So is the above a valid input?