Question d’entretien chez foodpanda

Explain how binary search works