Y
Hacker News
new
|
ask
|
show
|
jobs
by
xigoi
530 days ago
If that happens, you’re going to get an out-of-bounds error no matter how you implement your binary search.
1 comments
ajuc
530 days ago
In Java. In C you just access random memory values (or segfault).
link
xigoi
530 days ago
Yes, which doesn’t contradict my point.
link