kanwei/algorithms — pull request #12 by jgross206 (2012-08-22 16:59:32+00:00)
Title: Update lib/algorithms/search.rb

Changed binary search to return the index of the item instead of the item itself. Returning the index is the exact same amount of work but contains more information.