Question
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
hashing
hashing
binary search
binary search
linear search
linear search
quicksort
Responses
hashing
hashing
binary search
binary search
linear search
linear search
quicksort
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**.