...
Network-Security
August 23, 2024
Network-Security
August 23, 2024

Data-Structures

Question 27

A binary tree with n > 1 nodes has n1, n2 and n3 nodes of degree one, two and three respectively. The degree of a node is defined as the number of its neighbors.
n3 can be expressed as

A
n1 + n2 – 1
B
n1 – 2
C
[((n1 + n2)/2)]
D
n2 – 1
Question 27 Explanation: 

n1 = 3
n2 = 1
n3 = 1
So, option (B) satisfies.
Correct Answer: B
Question 27 Explanation: 

n1 = 3
n2 = 1
n3 = 1
So, option (B) satisfies.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!