Yesterday John Graham-Cumming posted about
“Steve Ballmer’s incorrect binary search interview question,”
and in the Hacker News discussion, among the
predictable “interview culture is flawed!!” complaints, there was some discussion of
whether binary search was even the right way to solve Ballmer’s puzzle. Here’s a stab at
an answer.