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 / suchita
binary search
| Is This Answer Correct ? | 36 Yes | 1 No |
Post New Answer View All Answers
What is copyonwritearraylist?
What is the two-dimensional array?
How does arraylist store data?
What are different techniques for making hash function? Explain with example.
Does treeset allow null values?
In which matrix, we can use multilinked structures?
Define an equivalence relation?
What is bubble sort in data structure?
Define path in a graph?
Can arraylist store objects?
How would you implement two stacks using a single array?
What is a stable sorting algorithm?
Define dynamic data structures?
Which is best array or linked list?
Can we apply binary search algorithm to a sorted linked list, why?