Question: QUESTION 3 20 MARKS a) Either draw a full m-ary tree with 24 leaves and height 3, where m is a positive integer or show

 QUESTION 3 20 MARKS a) Either draw a full m-ary tree

QUESTION 3 20 MARKS a) Either draw a full m-ary tree with 24 leaves and height 3, where m is a positive integer or show that no such tree exists. (2 marks) b) The word 'WONDER' is resulted from pre-order traversal of a rooted binary tree. i. Draw the tree with height of 2 that can represent the above traversal. (2% marks) Using tree in (i) find the word resulted from the in-order traversal. (24/2 marks) 11

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!