<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Mozk</author_name>
  <author_url>https://blog.hatena.ne.jp/Mozk/</author_url>
  <blog_title>壊れた計算機</blog_title>
  <blog_url>https://mozk-2.hatenadiary.org/</blog_url>
  <categories>
    <anon>CLRS</anon>
  </categories>
  <description>順序統計量とメディアン 配列中のk番目の大きさの値は最悪でもO(n)で取れますよという話。このChapterでPart IIは終わり。Part IIIはデータ構造。 9.1-2 A:最小値の候補だが、最大値ではないもの B:最大値の候補だが、最小値ではないもの C:最大値・最小値の候補でA,Bでないもの とする。 最初は、A:0,B:0,C:n 最終的に、A:1,B:1,C:0にする A,Aの比較は、Aの数を1減らす B,Bの比較は、Bの数を1減らす A,Bの比較は、「なにも変えない」か、「A,Bから1ずつそれぞれ減らす」かのどちらか A,Cの比較は、Cが1減り、「Bが1増える」か「そのまま」…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmozk-2.hatenadiary.org%2Fentry%2F20100207%2F1265550666&quot; title=&quot;アルゴリズムイントロダクション Chapter 9 - 壊れた計算機&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>2010-02-07 22:51:06</published>
  <title>アルゴリズムイントロダクション Chapter 9</title>
  <type>rich</type>
  <url>https://mozk-2.hatenadiary.org/entry/20100207/1265550666</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
