{"blog_url":"https://secret-garden.hatenablog.com/","provider_url":"https://hatena.blog","version":"1.0","description":"\u5143\u30cd\u30bf \u8a08\u7b97\u91cfO(n)\u306e\u753b\u671f\u7684\u306a\u30bd\u30fc\u30c8\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3067\u3042\u308b\u30b9\u30bf\u30fc\u30ea\u30f3\u30bd\u30fc\u30c8\u3092Haskell \u3067\u5b9f\u88c5\u3057\u3066\u307f\u305f #Haskell - Qiita \u3068\u3001\u3044\u3046\u3053\u3068\u3067 Ruby \u3067\u3082\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002 \u305f\u3060\u66f8\u304f\u3060\u3051\u3058\u3083\u3064\u307e\u3089\u306a\u3044\u306e\u3067 Ruby 2.7 \u3067\u8ffd\u52a0\u4e88\u5b9a\u306e\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u3092\u4f7f\u3063\u3066\u307f\u308b\u306a\u3069\u3002 \u30b3\u30fc\u30c9 def stalin_sort(xs) case xs in [] [] in [x] [x] in [x, y, *zs] if x < y [x] + stalin_sort([y, *zs]) else stalin_sort [x, *zs] end end p stalin_sort [1, 2,\u2026","categories":["Ruby"],"type":"rich","width":"100%","height":"190","url":"https://secret-garden.hatenablog.com/entry/2019/07/30/200746","blog_title":"Secret Garden(Instrumental)","published":"2019-07-30 20:07:46","image_url":null,"author_url":"https://blog.hatena.ne.jp/osyo-manga/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2019%2F07%2F30%2F200746\" title=\"Ruby 2.7 \u3067\u30b9\u30bf\u30fc\u30ea\u30f3\u30bd\u30fc\u30c8\u3092\u66f8\u3044\u3066\u307f\u305f - Secret Garden(Instrumental)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"osyo-manga","provider_name":"Hatena Blog","title":"Ruby 2.7 \u3067\u30b9\u30bf\u30fc\u30ea\u30f3\u30bd\u30fc\u30c8\u3092\u66f8\u3044\u3066\u307f\u305f"}