<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>susisu</author_name>
  <author_url>https://blog.hatena.ne.jp/susisu/</author_url>
  <blog_title>Object.create(null)</blog_title>
  <blog_url>https://susisu.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>Bogosort ボゴソート - Wikipedia 配列の要素をランダムに並び替えて, 運良くソートできていればソート完了というソートアルゴリズム. 配列のサイズが で, 要素がすべて異なるとしたとき, 平均計算時間は . 要素の交換回数の期待値は となる *1. Bozosort Bogosort の変種で, すべて並び替える代わりに, ランダムに 2 つの要素を選んで交換する. 平均計算時間は , 要素の交換回数の期待値は らしい *2 ので, Bogosort よりも効率が良い. 改悪 今回は Bozosort の交換部分を少し変更して, 効率を悪化させることを考える. 配列のサイズは…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsusisu.hatenablog.com%2Fentry%2F2016%2F05%2F07%2F193803&quot; title=&quot;ボゴソートより効率の悪いアルゴリズムを考える回 - Object.create(null)&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/s/susisu/20160507/20160507233320.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-05-07 19:38:03</published>
  <title>ボゴソートより効率の悪いアルゴリズムを考える回</title>
  <type>rich</type>
  <url>https://susisu.hatenablog.com/entry/2016/05/07/193803</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
