Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jqpabc123
on March 7, 2022
|
parent
|
context
|
favorite
| on:
Binary search with confidence
Instead of
(low + high) / 2
I use
low + (high-low) / 2
to avoid any possible overflow.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: