ADP Interview Question

Asked for Binary search Algorithm