Infosys Interview Question

Write a program to execute Binary Search.