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 / priyank
Binary search tree..:)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Will this code give error if I try to add two heterogeneous elements in the arraylist? And why?
What is bubble sort and quick sort?
What is structured data with example?
When will we get ArrayStoreException?
Can you provide some implementation of a dictionary having large number of words?
When is a binary search best applied?
How does quick sort work?
How hashmap increases its size?
What is collections singletonmap?
What are the goals of data structure?
How do you rotate an AVL tree?
What is pivot in quicksort?
What is binary tree in computer science?
What is a property class?
What things you would care about to improve the performance of application if its identified that its db communication that needs to be improved?