Loading repovive.com/problems/classics/26
Given a sorted array of integers in non-decreasing order and a target value , find the index of the first occurrence of in the array.
Output the 1-indexed position, or if is not found.
For this input, the required output is 3.
For this input, the required output is -1.
For this input, the required output is 2.