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

100

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is Arraylist faster than Array? Why?

547


How to compare Two Arrays?

551


What is a simple path?

542


Explain the internal working of a hash map?

515


Can sets contain duplicates?

462






Write an algorithm to show the reverse of link list?

479


Can we change load factor of hashmap?

495


Define a complete binary tree?

545


How do you sort a collection in descending order?

552


What is meant by deque?

506


Does hashmap allow null keys?

480


Given an unsorted linked list, and without using a temporary buffer, write a method that will delete any duplicates from the linked list?

647


What is the heap in data structures?

550


What are b tree keys?

463


What are the tasks performed during preorder traversal?

629