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 / guest

A Binary search of an ordered set of elemaents in an array

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by rehashing?

676


Is list an array?

514


What is an expression tree?

620


Can I provide array size dynamically?

606


Can a hashmap have duplicate keys?

601






Which is faster hashmap or hashset?

546


Can arraylist be empty?

547


Name the areas in which you can apply data structures extensively?

585


Is array immutable?

591


What are the advantages and disadvantages of linked list?

501


What are the types of linked list?

580


What is binary tree and its types?

568


What is the difference between arraylist and hashmap?

510


What is an algorithm in coding?

502


Write program for Bubble Sort ?

666