Ah yes this is the "classic" bug that was in the Java standard library undiscovered for twenty years, iirc.
I find this topic really interesting, thanks for sharing. I doubt I could code a binary search without any bugs from scratch :)
Ah yes this is the "classic" bug that was in the Java standard library undiscovered for twenty years, iirc.
I find this topic really interesting, thanks for sharing. I doubt I could code a binary search without any bugs from scratch :)