News for hackers. Stuff that matters.
Re:Binary search with confidence by mark-r on Monday March 07, 2022 @11:00AM (#30589349)
That passage was the inspiration for someone's blog to present a challenge and see how many people could pass the test.

https://reprog.wordpress.com/2010/04/19/are-you-one-of-the-1...

Covered by HN at the time: https://news.ycombinator.com/item?id=1277459

My own solution was in Python, so it didn't fall prey to the very common integer overflow error. Python has the amazing and handy property that integers don't overflow.

There are no comments on this comment yet.