<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>findnew</author_name>
  <author_url>https://blog.hatena.ne.jp/findnew/</author_url>
  <blog_title>Findnew's  Blog</blog_title>
  <blog_url>https://findnew.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Webアプリを作っているとアルゴリズムなんて忘れてしまいます。 でも、たまに転職の時にコードを書かされたり・・・ 実際にバブルソートの質問はありました。 さて、このバブルソートですが、まあシステムで使われる事は無いでしょう。 単純で分かりやすいですが、遅すぎます! 仕組みは、n番目とn+1番目を比較して大きい(小さい)場合は交換します。 それを一番目の要素から最後まで実施します。 交換が無くなればソート完了です。 処理フロー 例えば1,2,6,3,8,9,6と並んでいるリストを小さい順に並べてみます。 最初1,2を比較し小さい順に並んでいるので、次は2,6を比較し、、、 次々と比較すると、6,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffindnew.hatenablog.com%2Fentry%2F2013%2F08%2F03%2F005930&quot; title=&quot;アルゴリズムの勉強 バブルソート - Findnew&amp;#39;s  Blog&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>http://cdn-ak.f.st-hatena.com/images/fotolife/f/findnew/20130802/20130802215148.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-08-03 00:59:30</published>
  <title>アルゴリズムの勉強 バブルソート</title>
  <type>rich</type>
  <url>https://findnew.hatenablog.com/entry/2013/08/03/005930</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
