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
What are the advantage of collection classes over arrays?
You are given a singly linked list. How would you find out if it contains a loop or not without using temporary space?
What do you mean by balance factor of a node in avl tree?
Why is map not a collection?
Define path in a graph?
How are the elements of a 2d array are stored in the memory?
Can we make hashmap synchronized?
What is best time complexity?
How memory is reserved using a declaration statement in data structure?
Is int a data structure?
What is sort order?
Which is better than array and linked list?
Which sorting algorithm is the slowest?
List the data structures which are used in network data modal.
Does the minimal spanning tree of a graph give the shortest distance between any 2 specified nodes?