<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>grankoyan2</author_name>
  <author_url>https://blog.hatena.ne.jp/grankoyan2/</author_url>
  <blog_title>ぐらんこ。の部屋（るーるるー♪）</blog_title>
  <blog_url>https://granko.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>10個前後っていうことなので、奇数始まりの数、偶数始まりの数、奇数終わりの数、偶数終わりの数のチェックからですかね。偶数終わりと奇数始まり、奇数終わりと偶数終わりが同数ならばよいのですが、そうじゃないと始め、終わりを調整しないといけませんし。 でも、並び替えアルゴリズム作ったところで……ってのもあります。 わたしなら、全通りの並べ方を試してみて、条件を満たしているかどうかを判定し、合致しているものについては初めの並び順と近いかどうかを比べて行くと思います。さて、どういったアルゴリズムになるか……ですが、『できるだけ近い並び順』という要件ではなかなか評価しづらいです。例えば５通りの並び順、ABC…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgranko.hateblo.jp%2Fentry%2F2017%2F08%2F16%2F215249&quot; title=&quot;答えになっていない答えFor【アルゴリズム】連続した数字の並びの固まりがいくつかあるとします。 - ぐらんこ。の部屋（るーるるー♪）&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>2017-08-16 21:52:49</published>
  <title>答えになっていない答えFor【アルゴリズム】連続した数字の並びの固まりがいくつかあるとします。</title>
  <type>rich</type>
  <url>https://granko.hateblo.jp/entry/2017/08/16/215249</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
