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
What is the best data structure and algorithm to implement cache?
What is stack explain with diagram?
Define balancing condition for AVL Tree.
Why quicksort is called quick?
What is the complexity of selection sort?
Can we null keys in treemap?
What is the use of data structure in real life?
What is heap with example?
What is a vector class?
How do you get placements?
What is Jagged Arrays?
What is array simple?
What is difference between array and arraylist? When will you use array over arraylist?
Tell me about the different sorting techniques.
What is binary tree example?