Can linear search recursive algorithm and binary search recursive algorithm be performed on an unordered list?
Binary search can't be used
Linear search can't be used
Both cannot be used
Both can be used
View Answer
Correct Answer: A — Binary search can't be used
Explanation:
As binary search requires comparison, it is required that the list be ordered. Whereas this doesn't matter for linear search.
