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 / akbar
binary search is faster than linear search.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Which sorting algorithm is worst?
What is the difference between Array and Arraylist?
What are the difference between malloc() and calloc()?
What is difference between hashset and treeset?
How do you sort pseudocode?
What is application of data structure?
How many sorting are there in data structure?
How is heap sort implemented?
What actions are performed when a function is called?
We know that Arrays are objects so why cannot we write strArray.length()?
What does the dummy header in the linked list contain?
Can hashset contain null?
What is queue example?
What is perfect binary tree?
What is a graph?