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 is difference between hashmap and linkedhashmap?
Write the c program to insert a node in circular singly list at the beginning.
Can tuple be sorted?
What is the use of treemap?
What are dynamic data structures?
How many types of arrays are there?
Define balanced trees?
What actions are performed when a function is called?
What is meant by arraylist?
What is data type and its types?
What does a bubble chart show?
Explain what are the major data structures used in the hierarchical data model?
What is pivot in quicksort?
What is doubly linked list in data structure?
How do you sort a list in reverse order?