2009-03-18から1日間の記事一覧
#/usr/bin/ruby # Write a binary chop method that takes an integer search target # and a sorted array of integers. It should return the integer # index of the target in the array, or -1 if the target is not # in #the array. The signature wi…