Help with a Binary Search Tree

I need help constructing a binary search tree for the following nodes:
14, 2, 1, 87, 32, 112, 68, 31, 61, 22, 44, 34. This is for a homework assignment. This is what I have so far. If someone could tell me if it is right, or point me in the right direction, that would be great. Thank you!




14
/ \
2 87
/ / \
1 32 112
/ \
31 68
/ /
22 61
/
44
/
34

Last edited on
This is for a homework assignment. This is what I have so far.

uhm... so literally nothing? All I see is a tree you wrote with numbers, is this a coding assignment?
Topic archived. No new replies allowed.