August 10, 2011
Ex 3-1

Our binary search makes two tests inside the loop, when one would suffice (at the price of more tests outside). Write a version with only one test inside the loop and measure the difference in run-time.

6:15pm  |   URL: http://tmblr.co/Zi3hLy89ZPpY
Filed under: K&R