Why is it preferable to use a linear search when searching smaller datasets?(1 point)%0D%0AResponses%0D%0A%0D%0AA linear search is more efficient with its memory allocation when searching smaller datasets.%0D%0AA linear search is more efficient with its memory allocation when searching smaller datasets.%0D%0A%0D%0AA linear search is easy to implement and faster than other algorithms when searching smaller datasets.%0D%0AA linear search is easy to implement and faster than other algorithms when searching smaller datasets.%0D%0A%0D%0AA linear search is the best option for smaller datasets and larger datasets, too.%0D%0AA linear search is the best option for smaller datasets and larger datasets, too.%0D%0A%0D%0AA linear search requires fewer lines of code to search smaller datasets.
1 answer
A linear search is preferable when searching smaller datasets because it is easy to implement and faster than other algorithms. It requires fewer lines of code and does not require additional memory allocation.