Can child node be always called Leaf node in the K-ary tree?

Category: QuestionsCan child node be always called Leaf node in the K-ary tree?
Editor">Editor Staff asked 1 month ago

Can child node be always called Leaf node in the K-ary tree?
 
(a) True
 
(b) False
 
The above asked question is from K-ary Tree in section Trees of Data Structures & Algorithms I
 
This question was posed to me in an interview for internship.

1 Answers
Editor">Editor Staff answered 1 month ago

Right choice is (b) False
 
Easiest explanation – Leaf node is any node that does not contain any children. Child node may or may not contain more nodes. Child node will only be called leaf Node if the node has no child node.