ProcDNA interview question

Write the Code of Binary Search