Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
spullara
on Sept 3, 2024
|
parent
|
context
|
favorite
| on:
Steve Ballmer's incorrect binary search interview ...
I wrote similar code to show that as long as you choose your starting number randomly you will have positive EV. Not sure how they kept using this interview question without realizing this.
https://x.com/sampullara/status/1810088483425558630
LudwigNagasena
on Sept 3, 2024
[–]
I think they were using it just fine because they don’t say or in any way imply that the choice is random.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://x.com/sampullara/status/1810088483425558630