Question: Construct a binary search tree using the words: Juice, water, quinoa, nacho, bread, milk, eggs, mustard, coffee, tea, banana, apple, salt, mint, bacon. (3 marks
- Construct a binary search tree using the words:
Juice, water, quinoa, nacho, bread, milk, eggs, mustard, coffee, tea, banana, apple, salt, mint, bacon.
(3 marks)
- What is the height of the tree? (1 mark)
b) Traverse the tree inorder and list the nodes as they are visited.
(1 mark)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
