The element being searched for is not found in an array of
100 elements. What is the average number of comparisons
needed in a sequential search to determine that the element
is not there, if the elements are completely unordered?

Answer Posted / vidhun s

yes.we need 100 comparisons.

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is arraylist synchronized?

542


What is the best case for bubble sort?

488


How would you sort words in a large file?

559


Define threaded binary tree.

635


What is the two-dimensional array?

546






What are the complexity of binary search?

453


Does treemap allow null values?

474


What is adt in data structure with example?

516


Define double hashing?

572


When is a graph said to be weakly connected?

525


List the differences between comparable and comparator interface?

499


What is the similarity between a Structure, Union and enumeration?

580


What is binary tree used for?

511


How does a selection sort work?

487


Does treemap allow null key?

482