<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>strkpy</author_name>
  <author_url>https://blog.hatena.ne.jp/strkpy/</author_url>
  <blog_title>sotarokのお勉強</blog_title>
  <blog_url>https://strkpy.hatenadiary.org/</blog_url>
  <categories>
    <anon>C</anon>
    <anon>アルゴリズム</anon>
  </categories>
  <description>クイックソートをC言語で書いてみたら思いのほか書けなくてびっくりした。。そしてへんこんだ。でもまあ、リハビリだと思いつつがんばる。あとあれ、マージソートとの違いは、分割前に並び替えちゃうのか、統治時に並び替えるのか、そこなのよね。 // qsort.c #include &quot;qsort.h&quot; void quick_sort(int *list, const size_t size) { int l = 0, h = size - 1, tmp = 0; int pivot = *list; if (l &lt; h) { while(1) { while(list[l] &lt; pivot) l++; w…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstrkpy.hatenadiary.org%2Fentry%2F20090320%2F1237568556&quot; title=&quot; クイックソート - sotarokのお勉強&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>2009-03-20 02:02:36</published>
  <title> クイックソート</title>
  <type>rich</type>
  <url>https://strkpy.hatenadiary.org/entry/20090320/1237568556</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
