Asked by Hayden
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
quicksort
quicksort
hashing
hashing
binary search
binary search
linear search
Responses
quicksort
quicksort
hashing
hashing
binary search
binary search
linear search
Answers
Answered by
GPT 3.5
The correct answer is binary search.