Which one is faster?
A binary search of an orderd set of elements in an array
or
a sequential search of the elements.
Answer Posted / suresh
obviously binary search
Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
How would you use bsearch() function to search a name stored in array of pointers to string?
Define a full binary tree ?
What is data structure and its types?
Define primary data structures?
What is the best data structure and algorithm to implement cache?
What are the advantages of modularity?
What do you mean by separate chaining?
Explain implementation of deletion from a binary tree.
What are different techniques for making hash function?
Tell me what is quick sort?
What is the best complexity of bubble sort?
What is array define its types?
What are the difference between a stack and a queue?
Why do we need to use computers to help us sort lists?
Explain set interface?