MTX Group interview question

Write a program for Binary Search