InterviewSolution
Saved Bookmarks
| 1. |
Which node is the child node of the Node B in the following K-ary tree?(a) A(b) C(c) B(d) No child nodeAsked question is from K-ary tree in chapter Trees of Data Structures & Algorithms IThe question was posed to me in a job interview. |
|
Answer» RIGHT answer is (d) No CHILD node The best EXPLANATION: Since Node B is the LEAF node of the above ternary tree and leaf node has no child node. So there is no child node for Node B in the above K-ary tree. |
|