if there are n nodes in a binary tree, how many null
pointers are there?
Answer Posted / fakkad
maximum(for complete binary tree) n+1
so total null pointers are <=n+1
It is equivalent to total number of leaf nodes.
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
any drawback are there in mantis?
kindly send interview materials
i want to insert textbox value to sql db. i have only one text box but store four values. ple give any one give sample code in asp.net c#..
8.In DSP,Define Signal and System?and various type of signals.
what is apt_dump_score in datastage where it is useful
< DL Compact > tag is used for
Write a function which accepts a sentence as input parameter.Each word in that sentence is to be reversed. Space should be there between each words.Return the sentence with reversed words to main function and produce the required output. for eg:- i/p: jack jill jung kill o/p: kcaj llij gnuj llik
I am looking for selenium RC online Training in chennai. can any one tell me the best institute
1) How can u create the table?
Wrtite a JCL for sorting a file with start from 36 postion lenth 9 excluding a num eq to 98768. for 3 marks mainframe
Write a shell program to test whether a given year is leap year or not ?
what do u mean by tagging
How to call dll API sub routine in VB Form.
Which language they use during interview?
1. Consider the following code in our example assembly language: ; an example bit of assembly code ROOT: W FATHER FATHER: W SON1 W SON2 SON1: W NIL W NIL ; ---------------------- SON2: W GRANDSON W NIL GRANDSON: W NIL W NIL NIL = 0 Assemble this code carefully following the two pass model, and show the symbol table at the point marked by the dashed line during each pass.