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?
Binary search
Linear search
Quicksort
Hashing
Binary search
Linear search
Quicksort
Hashing
Answers
Answered by
GPT 3.5
The best algorithm for this scenario would be Binary search.