ayuminのあまり更新しないBlog

筆不精なのでめったに更新しません

CodeKata

Kata Two -- Karate Chop

#/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…