Question: How does the presence of duplicate elements affect the binary search algorithm?
Options:
Correct Answer: It can return any index of the duplicates
Solution:
Binary search can return any index of the duplicates, as it does not guarantee which duplicate will be found first.