loading...

re: What's The Deal With Binary Search? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: May I suggest adding to the article that binary search only works on sorted data? Someone trying to noodle this through from an outside perspective...
 

Hi Matt,

I agree, that would be helpful to put in the article. The classic phone book example makes it implicit (phone books are sorted) but I didn't say it explicitly. I'll modify the article to say it more clearly.

Thanks for the suggestion!

Ben

Code of Conduct Report abuse