Help with Binary Search Tree

Status
Not open for further replies.
Umm, I'm referring specifically to a Binary Search Tree (BST). They have the properties that for any node, the left childs key will be less than the parents key, and the right childs key will be greater than the parents key. And of course it is a binary tree, therefore only two children per parent.

For a given set of data, the order of insertion will give different tree shapes. I was just wondering if my tree shape was correct for the data I put up there, in the order I gave it...

Regards,
Faisal
 
Status
Not open for further replies.