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 sort algorithm is best?
Write a recursive c function to calculate the height of a binary tree.
How does the bubble sort work?
How do you find the second largest element in an array of integers?
How many types of data structures are used?
What are the difference between arraylist and linkedlist from the perspective of sorting?
What is queue example?
How do you use merge sort?
What type of variable is age?
Can hashmap store null values?
What is the limit of arraylist?
What are the types of bulleted list?
How do you find the number of comparisons in bubble sort?
How do you find the index of an element in an arraylist?
Define Data Structures?