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 / uma sankar reddy.p
Binarysearch is faster than sequential search
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Define a linear data structure.
Are lists mutable?
What is difference between data type and data structure?
What are the different types of data structures?
What are the different types of sorting? Explain the difference between them.
Give one example of right rotation.
How remove all from arraylist?
List some applications of queue data structure.
Write program for Quick sort ?
Is quicksort greedy algorithm?
What is difference between capacity and size of arraylist?
What is quick sort?
Which sorting is best in time complexity?
Does treemap preserve order?
Explain the uses of matrix with an example?