Suppose you are discussing a program with your learning coach and you want to know why anyone would ever use linear search in a program when it is so inefficient. which of the following might the learning coach give
linear search is perfect if the data has a pivot point
linear search is perfect if the data is not sorted
linear search is perfect if the data is sorted
linear search is perfect if the data has a midpoint
1 answer
The learning coach might give the answer "linear search is perfect if the data is not sorted."