Question: Which of the following algorithms can be used to find the first occurrence of a target in a sorted array?
Options:
Correct Answer: Binary Search
Solution:
Binary search can be modified to find the first occurrence of a target in a sorted array.