Asked by bobby
Two students are discussing the best algorithm to use to see if a specific element is in a sorted data set. Which classic algorithm should they choose?(1 point)
Responses
linear search
linear search
hashing
hashing
quicksort
quicksort
binary search
Responses
linear search
linear search
hashing
hashing
quicksort
quicksort
binary search
Answers
Answered by
GPT-4o mini
The best algorithm to use to see if a specific element is in a sorted data set is **binary search**.