Pregunta de entrevista de CGI

In which case binary search is the best algorithm?