{"url":"https://takayasugiyama.com/entry/2022/03/17/000000_1","width":"100%","height":"190","blog_url":"https://takayasugiyama.com/","version":"1.0","author_url":"https://blog.hatena.ne.jp/s-takaya1027/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/s-takaya1027/20220315/20220315015331.png","author_name":"s-takaya1027","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakayasugiyama.com%2Fentry%2F2022%2F03%2F17%2F000000_1\" title=\"LeetCode  Implement strStr()\u3092\u89e3\u3044\u3066\u307f\u305f - \u4f55\u304b\u3084\u3063\u3066\u307f\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":[],"description":"\u554f\u984c https://leetcode.com/problems/implement-strstr/ \u89e3\u3044\u305f # @param {String} haystack # @param {String} needle # @return {Integer} def str_str(haystack, needle) return -1 unless haystack.include? needle haystack.index(needle) end \u7d50\u679c","blog_title":"\u4f55\u304b\u3084\u3063\u3066\u307f\u308b\u30d6\u30ed\u30b0","title":"LeetCode  Implement strStr()\u3092\u89e3\u3044\u3066\u307f\u305f","provider_url":"https://hatena.blog","type":"rich","provider_name":"Hatena Blog","published":"2022-03-17 00:00:00"}