Hire Our Expert Programmer & Technical Writer To Do Your Capstone Project
0 votes
in Programming Languages & Algorithms by (user.guest)

1 Answer

0 votes
by (user.guest)
 
Best answer

In a binary tree if there are N leaf nodes then the number of nodes having 2 children will be N-1.

So, the number of nodes in T having two children  = 20 − 1 = 19.


Related questions

Welcome to CPENTalk.com

Disclaimer: Every user is solely responsible for anything that he/she posts or uploads on CPENTalk.
...