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 / mahes
binarysearch is paster then sequentiolsearch
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How do you sort a collection in descending order?
List the basic operations carried out in a linked list?
How do you separate zeros from non-zeros in an array?
Can we declare array size as a negative number?
What is the meaning of arraylist?
What is array traversing?
Why is null not allowed in concurrenthashmap?
Can we use ordered set for performing binary search?
What is entryset method in map?
Explain the term recursive case?
Can we null keys in treemap?
Write code for reversing a linked list.
What is bitonic search?
Why is arraylist used?
Does set allow null values?