A binary tree with 20 nodes has_________null branches?
Answers were Sorted based on User's Feedback
Answer / vivek sharma
Ans-21
Let us take a tree with 5 nodes (n=5)
It will have only 6 (ie,5+1) null branches. In general,
A binary tree with n nodes has exactly n+1 null nodes.
hence n = 20
s0.. n+1= 21
| Is This Answer Correct ? | 58 Yes | 2 No |
Answer / phool chand
21
Let us take a tree with 5 nodes (n=5)
It will have only 6 (ie,5+1) null branches. In general, A binary tree with n nodes has exactly n+1 null nodes.
| Is This Answer Correct ? | 6 Yes | 2 No |
how to implement spiral model on railway reservation?.
I am about to face the interview panel of Indian army for UES(for more details put this address http://www.freshershome.com/jobs/index.php?post_id=15715) This is basically a post for engineering job in Indian army? This is an on campus interview. Kindly help me out with some tips or the type of questions I am about to face. Thanks.
5 Answers Indian Army, Indian Military Services, Infosys, Military Engineer Services, UES,
what is buffer solution?
What is the meaning of "co relation" and what is the value of "co relation" in the performance testing environment.
What is the use of Thumb instructions in ARM processor ?
As you achieve greater success with the company after some years, Will you like to be a shareholder in our company?
How do I unlock my laptop if I forgot my administrator password, a Toshiba running Windows 7?
what is the difference between C and C++? what is the difference between scanf and gets? what is mean by extern what is the use of it? what will happen if i say delete this> Difference between C structure and C++ structure? What is the difference between overloading and overridding? Explain the need for "virtual Destructor" Can we have "virtual Constructors"? What is the different types of polymorphism> What is virtual functions? How to implement virtual function in "C"? What are the different types of storage classes?
what is the difference between load bearing and non load bearing walls
Can have i call constructor in interface?
can u tell me placement peoceduers and placemnt format of hpcl.
Implement the dictionary operations INSERT, DELETE, and SEARCH using singly linked, circular lists. What are the running times of your procedures?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)