Coding Dojo Interview Question

How binary search works and how