Cgarg9 / basic_dsa_cpp

0 stars 6 forks source link

Binary Search #6

Closed Cgarg9 closed 11 months ago

Cgarg9 commented 11 months ago

Create a file in the searching folder and name is binarySearch.cpp. Write the binary search code where you search a vector given the vector and the element. Handle the case where the element does not exist.