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
Is treeset sorted?
Where is insertion sort used?
What is the use of sorting the data?
What is the capacity of arraylist?
Which is better stack or queue?
Which interfaces are implemented by abstractsequentiallist?
Define general trees?
What is shell sort in data structure?
What do you mean by linear probing?
What is static array?
Write an algorithm to show various operations on ordered list and arrays
What is time and space complexity of bubble sort?
Is arraylist reference type?
Can we sort hashmap?
What is space complexity of a program?