CGI Interview Question

In which case binary search is the best algorithm?