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 ? | 57 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 2 write a program of this pattern usin for loop?? 1 2 3 4 5 6 7 8 9 10
What is different between analogous and digital
#include<stdio.h> int fn(int v); main() { printf("%d\n",fn(7)); } int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; }
Is printf(?%d?,p); valid?
I have attended offcampus conducted by polaris chennai.And i have cleared all rounds on 10th June 2014.They collected all my marksheet xerox and address proof and said that they will send me offer letter in 3 days.. But more than 15days passed but still i didnt receive any information. I am lot depend on this offer... so when can i expect offer letter?? will they surely send me offer letter?
Has anyone attended any interviews in IITs for the positions like Research Associates/Fellowships?
I am having 17 months experience in development.I want to take testing as my career.I dont have experience in testing. Will get job anywhere?
How to configure gigabit port in 2950
dam,rivers,states capt,
what is dbms and rdbms??
real time examples for basic concepts in oop
What are the advantages and disadvantages of Automicity, Consistency,Isolation & Durability?