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 / spandana
Binary search is faster
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
How to create an Array?
Why do we need linked lists?
What is the difference between push and pop?
Which sorting has less time complexity?
How does a treemap work?
What are dynamic data structures?
In depth questions regarding the data structures and the Databases used in the Projects developed.
What is data type explain?
How does linkedhashset work internally?
What happens when arraylist is full?
Can we use Generics with the array?
List the data structures which are used in network data modal.
What is the limit of arraylist?
Different Types of pattern?
What is heap tree?