<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>spider-man</author_name>
  <author_url>https://blog.hatena.ne.jp/spider-man/</author_url>
  <blog_title>すぱいだー日記。</blog_title>
  <blog_url>https://spider-man.hatenadiary.org/</blog_url>
  <categories>
    <anon>資格</anon>
    <anon>基本情報</anon>
  </categories>
  <description>Ruby で実装してみたけどちょっと時間がかかってしまった。そんな自分に凹みんぐ。 def binary_search(target , list , l , h) return -1 if l &gt; h i = ((h - l) / 2).floor + l return i if target == list[i] if list[i] &gt; target return binary_search(target , list , l , i -1) else return binary_search(target , list , i + 1, h ) end end まっちょなブログの実装と…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fspider-man.hatenadiary.org%2Fentry%2F20080801%2Fp2&quot; title=&quot; 二分探索(binary search) - すぱいだー日記。&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-08-01 00:00:01</published>
  <title> 二分探索(binary search)</title>
  <type>rich</type>
  <url>https://spider-man.hatenadiary.org/entry/20080801/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
