Question d’entretien chez Magnitude Capital

One online question :find the error in an binary search function .