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 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
Get step-by-step solutions from verified subject matter experts
