What is the average number of comparisons needed in a
sequential search to determine the position of an element in
an array of 100 elements, if the elements are ordered from
largest to smallest?
Answer Posted / sabir
(n+1)/2
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
Why do we Use a Multidimensional Array?
How do we find duplicate elements in an array?
When will you use array over arraylist?
Define dynamic data structures?
What is Doubly link list?
What is different between array and list?
We know that Arrays are objects so why cannot we write strArray.length()?
How do you explain bubble sort?
How many types of arrays are there in visual basic?
What is binary search in programming?
Can we insert null in list?
Is list an array?
What is circular queue in data structure?
How to find the duplicate in an array?
Which type of sorting is best?