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

label Mathematics
account_circle Unassigned
schedule 0 Hours
account_balance_wallet $5

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

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
...
Apr 27th, 2015
...
Apr 27th, 2015
Sep 21st, 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