Question: Which of the following C++ functions can be used to implement binary search?
Options:
Correct Answer: std::binary_search
Solution:
The std::binary_search function from the C++ Standard Library can be used to perform binary search.