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


Please Help Members By Posting Answers For Below Questions

Why is quicksort better than mergesort?

491


State the difference between stacks and linked lists?

525


We know that Arrays are objects so why cannot we write strArray.length()?

1107


What is frozenset?

487


What are stacks? Give some of its applications.

555






What does list clear do?

482


Write is a binary search tree? Write an algorithm and tell complexity?

516


What is the need for extendible hashing?

545


What do you mean by 2-3 tree?

507


What is treemap chart?

494


How do you use merge sort?

442


Define structure property in a heap?

570


Can you change size of array once created?

454


Differentiate between hashmap and hashtable.

624


Is quicksort divide and conquer?

506