{"author_name":"ayumuaizawa","image_url":null,"height":"190","version":"1.0","url":"https://ayumin.hatenablog.com/entry/20090318/1237393115","title":"Kata Two -- Karate Chop","type":"rich","blog_title":"ayumin\u306e\u3042\u307e\u308a\u66f4\u65b0\u3057\u306a\u3044Blog","published":"2009-03-18 01:18:35","author_url":"https://blog.hatena.ne.jp/ayumuaizawa/","categories":["CodeKata","Ruby"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayumin.hatenablog.com%2Fentry%2F20090318%2F1237393115\" title=\"Kata Two -- Karate Chop - ayumin\u306e\u3042\u307e\u308a\u66f4\u65b0\u3057\u306a\u3044Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","description":"#/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 will logically be: # # chop(int, array_of_int) -> int # You can\u2026","provider_name":"Hatena Blog","width":"100%","blog_url":"https://ayumin.hatenablog.com/"}