<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>obelisk2</author_name>
  <author_url>https://blog.hatena.ne.jp/obelisk2/</author_url>
  <blog_title>Camera Obscura</blog_title>
  <blog_url>https://obelisk.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>アルゴリズム</anon>
  </categories>
  <description>以前に Ruby でバブルソート、選択ソート、挿入ソートを実装してみました（参照）が、Python でもやってみました。リストの（浅い）コピーってどうやるのかと思った。それから、Python は Ruby とちがって「モンキーパッチ」ができないのですね。あと、range(n = len(ar)) のような書き方もできない。 def bubble_sort(a): ar = a[:] for i in range(len(ar) - 1, 0, -1): for j in range(0, i): if ar[j] &gt; ar[j + 1]: ar[j], ar[j + 1] = ar[j + 1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2016%2F07%2F21%2F230138&quot; title=&quot;単純なソートのおさらい（Python） - Camera Obscura&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>2016-07-21 23:01:38</published>
  <title>単純なソートのおさらい（Python）</title>
  <type>rich</type>
  <url>https://obelisk.hatenablog.com/entry/2016/07/21/230138</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
