Closed Cgarg9 closed 8 months ago
Write a code to find the index of the first occurrence of a number in a sorted array. Use binary search to implement this. Handle the case where the element doesn't exist. Add this file to the searching folder and name it "firstOccurence.cpp"
I want to be assigned to this issue
sure go ahead
Write a code to find the index of the first occurrence of a number in a sorted array. Use binary search to implement this. Handle the case where the element doesn't exist. Add this file to the searching folder and name it "firstOccurence.cpp"