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 / bharathi
Binary search
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Why do we use stacks?
Does treeset allow null values?
What is the relationship between a queue and its underlying array?
Explain the Complete structure of hashmap along with the basic coding of the hashmap internal implementation.
What are the advantages of merge sort?
How do you find the time complexity of a bubble sort?
What are the different data structures?
How do you find the size of an arraylist?
What do you know about traversal in linked lists?
What are threaded binary trees?
How does arraylist size work?
How does a selection sort work?
How to find the missing element in integer array of 1 to 7?
How many types of arrays are there?
Can constructor be static?