Computer Science, asked by monalishayes, 9 months ago

2. State the limitations of Linear Search in terms of Time Complexity,

Answers

Answered by Anonymous
18

Answer:

\underline{\huge{Answer:-}}

A linear search runs in at worst linear time and makes at most n comparisons, where n is the length of the list. ... Linear search is rarely practical because other search algorithms and schemes, such as the binary search algorithm and hash tables, allow significantly faster searching for all but short lists.

Answered by rakiromeo31
6

Answer:

linear search runs in at worst linear time and makes at most n comparisons, where n is the length of the list. ... Linear search is rarely practical because other search algorithms and schemes, such as the binary search algorithm and hash tables, allow significantly faster searching for all but short lists.

Similar questions