Which data structure gives efficient search?
A. B-tree B. binary tree C. array D. linked list
Answer Posted / william clausen
It depends... Consider a binary tree which is comprised of
strings based on their number of characters (which is not
out of the question for an application). Now consider
looking for the word "mall" in this binary tree. Where
would it be?
Now consider sorting an array with keys based on the
appearance of characters in the English alphabet. Finding
the word "mall" could be accomplished easily in T(n).
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is stl stand for?
Who wrote stl?
What is meant by stl in c++?
What are stl algorithms?
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
What are the symptoms of stl?
sir please send me bpcl previous question papers
Is stl part of c++ standard?
Explain stl.
Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files.
help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase
How do you convert stl to steps?
How stl is different from the c++ standard library?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.