JPMorganChase Interview Question

Explain how binary search works and its limitation