Question: What is the main advantage of using binary search over linear search?
Options:
Correct Answer: Binary search is faster for large datasets
Solution:
Binary search is significantly faster than linear search for large sorted datasets due to its O(log n) time complexity.