Question: (10) From the tree given below, answer the questions below a k m h g (A) (i) show number of edges = nodes-1 (ii)
(10) From the tree given below, answer the questions below a k m h g (A) (i) show number of edges = nodes-1 (ii) verify total degree =2(nodes-1) (B) (i) The tree is an 3-ary tree [T/F] (ii) What is the level of the node j? (iii) what are internal nodes? (iv) what are terminal nodes? (v) How many children are there for node e? (vi) Which vertices are ancestors of node f? (vii) which nodes are sibling of node c (viii) What are the decedents of node e? (C) In which order does a inorder traversal visit the vertices for the tree given
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
