News for hackers. Stuff that matters.
Re:Steve Ballmer's incorrect binary search interview question by cjfd on Tuesday September 03, 2024 @10:30AM (#41435335)
I have not really studied this but maybe choosing the guess randomly when the number of possibilities is even is already enough to counter an adversarial opponent. Note that 50 is not the only 'optimal' guess in the beginning. 51 is just as good.
Re:Steve Ballmer's incorrect binary search interview question by Bognar on Tuesday September 03, 2024 @12:29PM (#41436532)
Any number between 36 and 64 should be as good!