Showing posts with label Search. Show all posts
Showing posts with label Search. Show all posts

Tuesday, April 23, 2013

10611 - The Playboy Chimp

1- Don't store repeated elements to make it easier.
2- If binary search doesn't find the element, then (low & high) or (first & last) are the boundaries that we need.