<?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>配列の中から最大値(or 最小値)を探し、最後の要素と入れ換えていく。 これはサクッと実装できた。 def selection_sort(list) dup = list.dup (dup.length - 1).downto(0) {|limit| pos = 0 0.upto(limit) {|i| pos = i if dup[i] &gt; dup[pos] } tmp = dup[limit] dup[limit] = dup[pos] dup[pos] = tmp } dup 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%2Fp4&quot; title=&quot; 選択ソート(selection sort) - すぱいだー日記。&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:03</published>
  <title> 選択ソート(selection sort)</title>
  <type>rich</type>
  <url>https://spider-man.hatenadiary.org/entry/20080801/p4</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
