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 / suchita
binary search
| Is This Answer Correct ? | 36 Yes | 1 No |
Post New Answer View All Answers
What is the types of data structure?
What is difference between hashtable and hashmap?
How to create an Array?
How do you sort an arraylist in descending order?
Can we override compareto method for enumerations?
Give the example of validating the parenthesis of expression using stack.
What are the parts of a linked list?
How to show internal storage representation of data structure in RDBM?
Why do we use stacks?
How can I search for data in a linked list?
Parenthesis is never required in postfix or prefix expressions, why?
Why it is important to have aligned addresses? What is the exception generated when there is a misaligned address?
What is a stable sorting algorithm?
Which is better bubble sort or selection sort?
What is a tech stack?