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
Write a pseudo code to evaluate a number to any base given (2...16) based on the input. Number greater than 9 should be given as A-F for 10-15.
Is anyone has done the ASP.NET MVC4 workshop course(2 days) from Peers Technologies. Let me know. I need to talk before joining ASP.NET MVC4 training at peers, Hyderabad.
1.Mutating table
What is the difference beween joblib and steplib statements
THE CHANNEL IN DATA COMMUNICATION CAN BE?
could you please tell me how to draw the calibration curve for HPLC {the software which we are using}?
Given an array of size n. It contains numbers in the range 1 to n. Find the numbers which aren?t present.
Write a program to find factorial of a number using functions
In OB52 , How to define two open posting period, Like only 5 and 8 posting should be open.. should not open 6 and 7..period..
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#..
kindly send interview materials
how to add a new table with variables and thier values into a imported file uisng proc import?
write algo for cobol program whichuse three flat file to extract some specific information 8 marks mainframe
Explain the difference between an expert and a novice user. How would your strategy for designing user interfaces for an expert user differ from that for designing user interfaces for a novice user.
Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 2 numbers. Find the missing numbers.