if there are n nodes in a binary tree, how many null
pointers are there?

Answer Posted / anand prakash

If there are n nodes in a Binary Tree then number of null
pointers = n+1

Is This Answer Correct ?    58 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi this is uday i want prepare for nic exam if any one have previous question papers please send me or atlest guide me how to prepare my ID is udaykiran4u@in.com

1477


What sysoption determines where the macro facility searches a specific catalog for complied macro?

1656


sample code for data transfer between two r/2 systems and r/3 systems?

1501


Write a program to reverse a number?

660


If i have a dataset queried from Sql and I would like to insert the dataset into a specific node in an xml document how do I do this

1708






Suppose we are doing 4 operations on database using service, first operation is successful but due to some reason remaining 3 operations are failed. I) is this transaction successful or not? ii) How can you give that error message to user?

1512


what is d main diff between the java and .net framework

1548


Plz sent me in .net 2.0 interview Question & answers?

1647


9.Difference between even and odd signals?explain with the diagram?

2968


why we use abstract word in abstract window toolkit in java language.

1769


1) How can u create the table?

1377


Given a Binary Search Tree, write a program to print the kth smallest element without using any static/global variable. You can?t pass the value k to any function also.

562


Why did you ever become involved in QA/testing?

1612


What are two of your strengths that you will bring to our QA/testing team?

1649


How to use string functions in QTP?give some examples

7125