What are the demerits of sequential search?
Answers
Answered by
0
For a sequential search if the element happens to be the last element, then there would be a lot of comparisons increasing the load on the compiler. For smaller number of elements this could be used, but with increasing numbers the search seems to be the worst.
Similar questions
Chemistry,
8 months ago
Computer Science,
8 months ago
English,
1 year ago
English,
1 year ago
Hindi,
1 year ago