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 / mounesh badiger
we have to check all the elements of the array.so average is
n(size of array)
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
Define Data Structures?
What is list and its types?
What is data structure explain different types of data structures with examples?
Can we apply binary search algorithm to a sorted linked list, why?
What is difference between arraylist and linkedlist?
What is the difference between ienumerable and list?
What are binary trees?
Is arraylist better than array?
How do you find the space complexity of a bubble sort?
What is a matrix? Explain its uses with an example
Explain Array
What is the difference between classifying and sorting?
What is the easiest sorting method to use in data structures?
Does arraylist extend list?
How many pointers are necessary to implement a simple linked list?