{"url":"https://propyon.hateblo.jp/entry/2020/05/06/231138","image_url":null,"version":"1.0","blog_title":"Neunomizu\u306e\u65e5\u8a18","height":"190","author_name":"sosodemonai","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/sosodemonai/","blog_url":"https://propyon.hateblo.jp/","width":"100%","type":"rich","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpropyon.hateblo.jp%2Fentry%2F2020%2F05%2F06%2F231138\" title=\"# LeetCode Medium 2. Add Two Numbers - Neunomizu\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["leetcode"],"title":"# LeetCode Medium 2. Add Two Numbers","description":"tags: leetcode \u554f\u984c Explore Problems \u30a2\u30a4\u30c7\u30a2 \uff62\u7a7a\u3067\u306a\u30442\u3064\u306e\u975e\u8ca0\u6574\u6570\u3092\u8868\u73fe\u3059\u308b\u9023\u7d50\u30ea\u30b9\u30c8\u304c\u4e0e\u3048\u3089\u308c\u308b\uff0e\u305d\u308c\u3089\u306e\u6841\u306f\u53cd\u5bfe\u9806\u306b\u5165\u308c\u3089\u308c\u3066\u304a\u308a\uff0c\u305d\u308c\u305e\u308c\u5358\u4e00\u306e\u6841\u3092\u6301\u3064\uff0e2\u3064\u306e\u6570\u3092\u8db3\u3057\u305f\u5024\u3092\u9023\u7d50\u30ea\u30b9\u30c8\u3067\u8fd4\u305b\uff63\u3068\u3044\u3046\u554f\u984c\u3067\u3059\uff0e \u554f\u984c\u306a\u306e\u306f\u6841\u4e0a\u304c\u308a\u304f\u3089\u3044\u3067\u3059\u304b\u306d\uff0e\u5b9f\u88c5\u3059\u308b\u3060\u3051\u3067\u3059\uff0e \u89e3\u6cd5 \u30ea\u30b9\u30c8\u306e\u8981\u7d20\u3092\u6700\u521d\u304b\u3089\u898b\u3066\uff0c\u6700\u521d\u306e\u8981\u7d20\u304b\u3089\u8db3\u3057\u3066\u3044\u3051\u3070\u826f\u3055\u305d\u3046\u3067\u3059\uff0e \u8a08\u7b97\u91cf \u9023\u7d50\u30ea\u30b9\u30c8\u306e\u30ce\u30fc\u30c9\u6570\u3092$N$\u3068\u3057\u307e\u3059\uff0e \u6642\u9593\u8a08\u7b97\u91cf $O(N)$ \u7a7a\u9593\u8a08\u7b97\u91cf $O(1)$ Python # Definition for singly-linked list. # class ListNo\u2026","published":"2020-05-06 23:11:38"}