How can I find leaf node with smallest level in a binary tree?



How can I find leaf node with smallest level in a binary tree?..

Answer / patuk panday

smallest level in a binary tree is the number is 0 and 1.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More C Interview Questions

to find out the reverse digit of a given number

6 Answers   Infosys, Microsoft, TCS, Wipro,


what is Array?

3 Answers  


What is #define?

0 Answers  


What are high level languages like C and FORTRAN also known as?

0 Answers  


what is op? for(c=0;c=1000;c++) printf("%c",c);

21 Answers   Trigent,






Write a program to generate the first n terms in the series --- 2,3,5,7,11,...,17

0 Answers  


what is the role you expect in software industry?

0 Answers   HCL,


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

0 Answers  


Write a program to identify if a given binary tree is balanced or not.

0 Answers   JPMorgan Chase,


How can I sort more data than will fit in memory?

0 Answers  


main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }

4 Answers   Vector, Vector India,


what does ‘segmentation violation’ mean?

1 Answers  


Categories