News for hackers. Stuff that matters.
Re:Steve Ballmer's incorrect binary search interview question by dagw on Tuesday September 03, 2024 @11:13AM (#41435736)
If I 'know' that my opponent is adversarial, then I might assume that he's not picking from the set of 100 possible numbers, but actually from a smaller set of 'adversarial' numbers, like the set that will always take 6 or 7 guesses using the naive binary search approach, and I can adjust my strategy accordingly.
Re:Steve Ballmer's incorrect binary search interview question by LudwigNagasena on Tuesday September 03, 2024 @05:54PM (#41439685)
You should assume that your opponent is adversarial to your specific strategy.