{"url":"https://gouf.hatenablog.com/entry/2018/04/06/153639","author_url":"https://blog.hatena.ne.jp/innocent-zero/","published":"2018-04-06 15:36:39","type":"rich","provider_name":"Hatena Blog","blog_title":"\u30d6\u30ed\u30b0","provider_url":"https://hatena.blog","version":"1.0","description":"\u601d\u3044\u3064\u3044\u305f\u306e\u3067\u66f8\u304f \u8ab2\u984c\u8a2d\u5b9a \u5165\u529b\u5024\u306e\u4f8b \u671f\u5f85\u3059\u308b\u51fa\u529b \u66f8\u3044\u305f\u30b3\u30fc\u30c9 \u8ab2\u984c\u8a2d\u5b9a \u4e0e\u3048\u3089\u308c\u305f1\u6b21\u5143\u914d\u5217\u3092\u9806\u6b21\u635c\u67fb\u3057\u3066\u3001\u73fe\u5728\u4f4d\u7f6e\u304b\u3089\u3072\u3068\u3064\u524d\u3092\u53c2\u7167\u3057\u3064\u3064\u3001\u305d\u308c\u3068\u73fe\u5728\u306e\u8981\u7d20\u3068\u3092\u5408\u6210\u3057\u305f Range \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308a\u305f\u3044 \u305d\u306e\u3068\u304d\u3001\u51e6\u7406\u7d50\u679c\u3068\u3057\u3066\u898b\u305f\u3068\u304d\u306e\u7bc4\u56f2\u306f\u88ab\u3089\u306a\u3044\u3088\u3046\u306b\u3057\u305f\u3044 \u5165\u529b\u5024\u306e\u4f8b [1, 5, 10] \u671f\u5f85\u3059\u308b\u51fa\u529b [0..1, 2..5, 6..10] \u66f8\u3044\u305f\u30b3\u30fc\u30c9 if \u306f\u632f\u308a\u5206\u3051\u306b\u5fb9\u3057\u3066\u3082\u3089\u3063\u305f (\uff40\u30fb\u03c9\u30fb\u00b4) def solver(list = [], previous = nil, ret = []) return ret if list.size.zero? current\u2026","title":"\u914d\u5217\u304b\u3089\u7bc4\u56f2\u3092\u751f\u6210\u3059\u308b","blog_url":"https://gouf.hatenablog.com/","height":"190","image_url":null,"author_name":"innocent-zero","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgouf.hatenablog.com%2Fentry%2F2018%2F04%2F06%2F153639\" title=\"\u914d\u5217\u304b\u3089\u7bc4\u56f2\u3092\u751f\u6210\u3059\u308b - \u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Ruby"]}