Pergunta de entrevista da empresa CGI

In which case binary search is the best algorithm?