InterviewSolution
Saved Bookmarks
| 1. |
What is the height of a K-ary tree having only root node?(a) 1(b) 0(c) 2(d) 3This intriguing question originated from K-ary Tree in portion Trees of Data Structures & Algorithms IThe question was posed to me in a job interview. |
|
Answer» CORRECT choice is (b) 0 The BEST I can EXPLAIN: Height of a K-ary tree does not include the root node. So the height of the K-ary tree is without root node is 0. |
|