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 / mahes
binarysearch is paster then sequentiolsearch
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Can value be null in treemap?
How does a dynamic array work?
What is array sort?
How do you make a bubble chart with 3 variables?
Difference between arrays and linked list?
What is stack and queue in data structure?
Differentiate between arraylist and vector.
What are the disadvantages of linear list?
Can we add duplicate keys in a hashmap? What will happen if we attempt to add duplicate values?
What is binary search in data structure?
Differentiate between iterator and listiterator.
What differences exist between hashmap and hashtable?
List the applications of stacks?
What is data and data types?
Briefly explain recursive algorithm 50 how do you search for a target key in a linked list?