Domanda di colloquio di Coding Blocks

They asked me implement simple binary search