How many edges does a leaf cluster contain?

Category: QuestionsHow many edges does a leaf cluster contain?
Editor">Editor Staff asked 4 weeks ago

How many edges does a leaf cluster contain?
 
(a) 0
 
(b) 1
 
(c) 2
 
(d) 3
 
This intriguing question originated from Binary Trees topic in chapter Binary Trees of Data Structures & Algorithms I
 
I got this question in exam.

1 Answers
Editor">Editor Staff answered 4 weeks ago

Correct option is (a) 0
 
To explain: If a cluster has no edges and contains only one vertex known as boundary vertex then, it is known as leaf cluster. So a leaf cluster doesn’t contain any edges. It is also known as Point cluster.