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
What does arraylist remove return?
Is hashmap synchronized?
What is a spanning tree in data structure?
What is the difference between adt and data structure?
Which language is best for data structures?
What do u mean by array?
What is data and data structure?
What is the need for priority queue?
What is a sorting algorithm in data structure?
What is java priority queue?
Tell me how to find middle element of linked list in one pass?
Does treemap sort on key or value?
Is arraylist a list?
Is hashmap an object?
Is learning data structures necessary?