Write a function to search a number from the given ten numbers using binary search,Also Mention what are the predefined conditions before performing binary search, if any?
I'd just like to say that I really like this assignment. It has significant relevance where most assignments fall a little short in my opinion. The binary search is a simple and effective way to acquire O( log n ) look ups on average. Cool.