Monday, October 30, 2006

Binary search - Not easy as thought before.

The failing step during the binary search algorithm is low + high/ 2 as it can result in array out-of-bound exception. Pretty interesting huh?
http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html#links