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 / bharathi
Binary search
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is a comparator function?
How to reference all the elements in a one-dimension array?
What is a data structure? What are the types of data structures? Briefly explain them
Define open addressing?
How does a dynamic array work?
Can we give size to arraylist?
What do you mean by rehashing?
Why is tuple immutable?
Is heap sort stable?
Explain the uses of b+ tree.
Which sorting algorithm is the slowest?
What does abstract data type mean?
What is the minimum number of queues that can be used to implement a priority queue?
Does treemap allow null values?
Why is reflection slower?