What is the average number of comparisons in a sequential
search?
Answer Posted / pavan
n/2(if array contains n elements)
| Is This Answer Correct ? | 5 Yes | 25 No |
Post New Answer View All Answers
Can hashmap have same key?
How does a heap sort work?
Is it possible to make an array volatile in java?
What is the difference between array and stack in data structures?
Provide an algorithm to reverse a linked list without using recursion.
What is push and pop in stack?
Which is faster list or set?
What is the non linear data structure?
What is stack and queue in data structure?
Which collection is fail safe?
Is arraylist heterogeneous?
Can we use ordered set for performing binary search?
what is the primary advantage of a linked list?
Explain Stack
What is nonlinear data?