Question: I Hope you do answer this question as clear as you can. and fast Thank you :) QUESTION 4 [10 MARKS] (a) Set up a

 I Hope you do answer this question as clear as you

I Hope you do answer this question as clear as you can. and fast

Thank you :)

QUESTION 4 [10 MARKS] (a) Set up a binary tree of the following Disaster (Flood) Committee, if it follows the alphabetical ordering. Lew, Asma,Hafizah, Izhar, Khairi, Ravi, Hazlin, Bahiyah, Zamri [6 Marks) (6) Based on the binary tree constructed, 1) How many comparison with name in the tree are needed to determine if Azhar is in the tree? [1 Mark] 11) If the parent will be presented as the leader of the sub-committee, state all the leaders exist. [1 Mark] iii) Does the binary tree balanced? Justify your answer [2 Marks]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!