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
What are the properties of binary tree?
How will you explain circular linked list?
What is the difference between data type and data structure?
Can a stack be described as a pointer? Explain.
Mention the advantages of representing stacks using linked lists than arrays?
What are the advantages and disadvantages of linked list?
How to inverting a function in sort and searching?
What are types of Collision Resolution Techniques and the methods used in each of the types?
Write a code for dynamic allocation of array.
What are the types of binary tree?
Is array static or dynamic?
Can you use Bubble Sort To sort the number of elements.
Is array faster than arraylist?
Define an algorithm.
What is nsmutablearray?