News for hackers. Stuff that matters.
Re:Steve Ballmer's incorrect binary search interview question by jgrahamc on Tuesday September 03, 2024 @10:01AM (#41435056)
And then if Ballmer assumes the other party assumes he's being adversarial we get into game theory.
Re:Steve Ballmer's incorrect binary search interview question by TeMPOraL on Tuesday September 03, 2024 @10:06AM (#41435107)
The way forward is to make Ballmer pay with time for screwing with you, which gets us into geopolitics, and then using the resulting MAD dynamics to make the game fair again. That's how adults with keys to the nukes do it :).
Re:Steve Ballmer's incorrect binary search interview question by InDubioProRubio on Tuesday September 03, 2024 @10:15AM (#41435200)
And then everyone gets nukes, or at least anti-matter mined in some vacuum chamber copperstatue configuration.
Re:Steve Ballmer's incorrect binary search interview question by kibwen on Tuesday September 03, 2024 @10:06AM (#41435104)
The ultimate conclusion of which is likely that both parties will decay to picking the secret value/first guess randomly (although I'm not sure if the optimal distribution is perfectly flat?), which is also something that we can model.
Re:Steve Ballmer's incorrect binary search interview question by gcanyon on Tuesday September 03, 2024 @11:44AM (#41436064)
Seems like the distribution definitely won’t be flat since the guesser can randomly choose any of the numbers from 37 to 64 as a first guess without losing anything on the large side, so Ballmer starting with any of those increases his chance of having to pay out the $5. Likewise for other numbers there are nuances to what can be guessed.
Re:Steve Ballmer's incorrect binary search interview question by alain94040 on Wednesday September 04, 2024 @08:16PM (#41452207)
But if you assume that the opponent knows that they shouldn't pick between 37-64, doesn't that change your odds?

The game theory here is similar to another quiz "Guess 1/3 of the average".

You are really trying to guess how deep the other has thought about the problem, so you can tell which strategy they settled on, and then you adapt your strategy based on that. Of course, it's a loop.

Re:Steve Ballmer's incorrect binary search interview question by gcanyon on Thursday September 05, 2024 @04:45PM (#41460257)
Yep, definitely not just what I said. I was saying that guaranteed it won't work out to an even distribution, not what the distribution would be.
Re:Steve Ballmer's incorrect binary search interview question by massung on Tuesday September 03, 2024 @10:09AM (#41435139)
Never go in against a Sicilian when death is on the line!
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!
Re:Steve Ballmer's incorrect binary search interview question by 1123581321 on Tuesday September 03, 2024 @10:08AM (#41435131)
I’d pay $5 to watch a short film of Ballmer asking this question to Wallace Shawn’s Vizzini.
Re:Steve Ballmer's incorrect binary search interview question by aldanor on Tuesday September 03, 2024 @11:45AM (#41436082)
So the actual problem here is to find Nash equilibrium.
Re:Steve Ballmer's incorrect binary search interview question by leni536 on Tuesday September 03, 2024 @12:37PM (#41436611)
Yes, this is a Nash equilibrium question.