Domanda di colloquio di CGI

In which case binary search is the best algorithm?