<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuukiyg</author_name>
  <author_url>https://blog.hatena.ne.jp/yuukiyg/</author_url>
  <blog_title>YuukiYg's Blog</blog_title>
  <blog_url>https://yuukiyg.hatenablog.jp/</blog_url>
  <categories>
    <anon>アルゴリズム</anon>
  </categories>
  <description>マージとは 「併合」という意味で、複数の配列や連結リストなどのデータ列を1つにまとめることをいう。 単純に複数の配列を併合するならば、それぞれの配列の長さを合計した長さ以上の配列を用意し、すべてをそこに格納してしまえばよい（順序など関係なく）。ここでは、複数の整列済み配列をマージし、1つの整列済み配列をつくることを考える。 アルゴリズム マージする配列をA, Bとする（A,Bはそれぞれ整列済み。マージ後の結果を格納する配列Lを用意する。2 へ。 A, Bの先頭の要素を見て、小さい方の要素をリストから取り出し、Lに追加する。 A, Bどちらかの配列が空になるまで、2 を繰り返す。 空になっていな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuukiyg.hatenablog.jp%2Fentry%2F2014%2F01%2F30%2F035329&quot; title=&quot;マージアルゴリズム - YuukiYg&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/y/yuukiyg/20160116/20160116205551.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-01-30 03:53:29</published>
  <title>マージアルゴリズム</title>
  <type>rich</type>
  <url>https://yuukiyg.hatenablog.jp/entry/2014/01/30/035329</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
