4 ms·It's as simple as replacing one NULL character with something else. Or 1 length field.by ajuc 2y agoIt's as simple as replacing one NULL character with something else. Or 1 length field.xigoi 2y agoIf that happens, you’re going to get an out-of-bounds error no matter how you implement your binary search.ajuc 2y agoIn Java. In C you just access random memory values (or segfault).xigoi 2y agoYes, which doesn’t contradict my point.