Time remaining:
Place the following words in a binary search tree. Add the words to the tree in

Mathematics
Tutor: None Selected Time limit: 0 Hours

Apr 27th, 2015

Let us add the words to the bunary search tree with the condition of using alphabetic order of letters in case of any clashes 

                          Lust

                       /          \

         Gluttony.          Sloth

         /           \              /     \

  Envy       Greed.     Pride   Wrath


Lust is the root.

Gluttony start s with g<l so it becomes left child.

Greed has second letter r>l so it becomes right child of gluttony.

Sloth has s>l of lust hence it is right child of list.

Wrath has w>s hence its right child of sloth.

Envy has e<g hence its left child if gluttony.

Pride has p>l of list but p<s of sloth hence it becomes left child of sloth.


May 5th, 2015

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
...
Apr 27th, 2015
...
Apr 27th, 2015
May 28th, 2017
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer