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
How to increase stack limit in w3wp.exe?
What is the difference between b tree and binary search tree?
Is linkedlist thread safe?
how to display Singly Linked List from First to Last?
What is the difference between Strings and Arrays?
What is a matrix?
How hashmap increases its size?
Model a data structure for a DFA that takes an event as parameter and performs a desired action.
Why is data structure?
How can someone display singly linked list from first to last?
Why quicksort is better than merge sort?
What is the use of data structure?
Why we use linked list?
Can hashmap have duplicate keys?
List the types of rotations available in splay tree?