Pergunta de entrevista da empresa Xoriant

Explain and write a program for binary search.