{"title":"LeetCode Two Sum\u3092\u89e3\u3044\u3066\u307f\u305f\u3002","provider_name":"Hatena Blog","categories":[],"blog_title":"\u4f55\u304b\u3084\u3063\u3066\u307f\u308b\u30d6\u30ed\u30b0","height":"190","description":"\u8ee2\u8077\u6d3b\u52d5\u3068\u304b\u3057\u3066\u307f\u308b\u3068\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u8a66\u9a13\u3068\u304b\u53d7\u3051\u3055\u305b\u3089\u308c\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u306e\u3067 LeetCode\u3092\u59cb\u3081\u3066\u307f\u305f\u3002 leetcode.com \u3068\u308a\u3042\u3048\u305a\u3001\u30ec\u30d9\u30eb easy\u306a\u554f\u984c\u3092\u5f97\u610f\u306aRuby\u3067\u89e3\u3044\u3066\u307f\u305f\u3002 \u554f\u984c https://leetcode.com/problems/two-sum/ \u89e3\u3044\u305f # @param {Integer[]} nums # @param {Integer} target # @return {Integer[]} def two_sum(nums, target) results = [] nums.each_with_index do |num, index| diff \u2026","width":"100%","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/20220304/20220304025137.png","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakayasugiyama.com%2Fentry%2F2022%2F03%2F04%2F025547\" title=\"LeetCode Two Sum\u3092\u89e3\u3044\u3066\u307f\u305f\u3002 - \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>","provider_url":"https://hatena.blog","author_name":"s-takaya1027","blog_url":"https://takayasugiyama.com/","url":"https://takayasugiyama.com/entry/2022/03/04/025547","type":"rich","published":"2022-03-04 02:55:47"}