Nagarro Interview Question

Implement Binary search just the algorithm