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
Mention the advantages of representing stacks using linked lists than arrays?
List the differences between comparable and comparator interface?
What is a string or array type?
What is tree in computer science?
What is definition list?
Can hashtable have duplicate values?
What are the parts of a linked list?
Is boolean a data type?
What is selection in an algorithm?
How to get a list of tables, views and columns in firebird database?
What is the difference between list, set and map?
How do you use merge sort?
What type of variable is age?
Which sorting technique is best in worst case?
Does hashmap maintain insertion order?