Which data structure gives efficient search?
A. B-tree B. binary tree C. array D. linked list
Answers were Sorted based on User's Feedback
Answer / splurgeop
the correct answer is binary tree.........since a binary
tree has the property that that the left subtree will
always be smaller than the root subtree.so our searchinin
will be refined at each step i.e either we have to search
the left subtree or the rioght subtree.....and this
continuess tilll we either find the element or we find get
to the leaf node and dont find the element(element doest
not exist)...
| Is This Answer Correct ? | 7 Yes | 3 No |
Answer / wavelet
Binary tree is different from binary search tree(BST)!!
| Is This Answer Correct ? | 6 Yes | 2 No |
what are you now programming Languages C+
Diffrernce Between Overloading and Overriding?
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
Explain how to insert a hyperlink in to an Excel worksheet and save a Word document as a Web page.
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher
What is the Difference between CArray and CList?
1 Answers ProdEx Technologies, Siemens,
what is the difference between thread and process
What are the various types of stl containers?
Write a program in C++ to concatenate two strings into third string using pointers
If P is the population on the first day of the year, B is the birth rate, and D is the death rate, the estimated population at the end of the year is given by the formula: The population growth rate is given by the formula: B – D Write a program that prompts the user to enter the starting population, birth and death rates, and n, the number of years. The program should then calculate and print the estimated population after n years. Your program must have at least the following functions: 1. growthRate: This function takes its parameters the birth and death rates, and it returns the population growth rate. 2. estimatedPopulation: This function takes its parameters the current population, population growth rate, and n, the number of years. It returns the estimated population after n years Your program should not accept a negative birth rate, negative death rate, or a population less than 2. please answer my question ....
What is 2*2?
What does stl mean in slang?