{"version":"1.0","author_name":"qnighy","title":"\u30d2\u30fc\u30d7\u30bd\u30fc\u30c8\u3063\u3066\u304b\u3063\u3053\u3044\u3044\u3088\u306d","provider_name":"Hatena Blog","description":"/* \u30d2\u30fc\u30d7\u30bd\u30fc\u30c8(heapsort) \u30d2\u30fc\u30d7\u69cb\u9020\u3092\u7528\u3044\u305f\u30bd\u30fc\u30c8\u65b9\u6cd5 \u7279\u5fb4 1. \u300c\u305d\u306e\u5834\u300d(in place)\u3067\u5b9f\u884c\u3067\u304d\u308b(\u30de\u30fc\u30b8\u30bd\u30fc\u30c8\u3084\u30d0\u30b1\u30c3\u30c8\u30bd\u30fc\u30c8\u306f\u5225\u306e\u914d\u5217\u304c\u5fc5\u8981\u306b\u306a\u308b) 2. \u6700\u60aa\u3067\u3082O(n log n)\u3067\u5b9f\u884c\u3067\u304d\u308b(\u30af\u30a4\u30c3\u30af\u30bd\u30fc\u30c8\u306e\u6700\u60aa\u30b1\u30fc\u30b9\u306fO(n^2)) 3. \u304b\u3063\u3053\u3044\u3044 4. \u5b89\u5b9a\u3067\u306f\u306a\u3044(\u305f\u3076\u3093) 5. \u5e73\u5747\u901f\u5ea6\u3067\u306f\u3001\u30af\u30a4\u30c3\u30af\u30bd\u30fc\u30c8\u3088\u308a\u5b9a\u6570\u500d\u9045\u3044\u3089\u3057\u3044\u3002 */ /* \u5b8c\u5168\u4e8c\u5206\u6728: \u3069\u306e\u30ce\u30fc\u30c9\u3082\u3061\u3087\u3046\u30692\u3064\u306e\u5b50\u30ce\u30fc\u30c9\u3092\u3082\u3061\u3001\u6df1\u3055\u304c\u4e00\u5b9a \u5b8c\u5168\u4e8c\u5206\u6728\u306e\u914d\u5217\u8868\u73fe \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u632f\u308b 1 -> 2 -> 4 -> 5 -> 3 -> 6 -> 7 \u3064\u307e\u308a\u3001 x\u306e\u89aa:x/2\u2026","url":"https://qnighy.hatenablog.com/entry/20100104/1262590887","height":"190","author_url":"https://blog.hatena.ne.jp/qnighy/","provider_url":"https://hatena.blog","blog_title":"\u7c21\u6f54\u306aQ","type":"rich","image_url":null,"categories":["Programming","Algorithm","C++"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fqnighy.hatenablog.com%2Fentry%2F20100104%2F1262590887\" title=\"\u30d2\u30fc\u30d7\u30bd\u30fc\u30c8\u3063\u3066\u304b\u3063\u3053\u3044\u3044\u3088\u306d - \u7c21\u6f54\u306aQ\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2010-01-04 16:41:27","blog_url":"https://qnighy.hatenablog.com/","width":"100%"}