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

Binary search is faster

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is collection a class or interface?

510


Explain the Queue

583


Is array part of collection framework?

488


Which is faster hashmap or linkedhashmap?

532


Differentiate between queue and stack.

694






Is hashmap fail safe?

510


What is a treemap chart?

451


Define hash table?

548


Is array size dynamic or fixed?

504


What is a pseudocode example?

493


Which collection is fail safe?

494


Does hashmap preserve insertion order?

482


What is linked hash set?

474


Is pointer a variable in data structure?

527


What is the need for priority queue?

560