<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ticktack_st</author_name>
  <author_url>https://blog.hatena.ne.jp/ticktack_st/</author_url>
  <blog_title>やめられないやめられない</blog_title>
  <blog_url>https://ticktack-st.hateblo.jp/</blog_url>
  <categories>
    <anon>leetcode</anon>
    <anon>ruby</anon>
  </categories>
  <description>LeetCode2日目、なんとなく予測できて解けるときは楽しいなと思う。進研ゼミのマンガみたいな感じ。 問題へのリンク https://leetcode.com/problems/add-two-numbers/ 問題を解く前に 連結リストの復習 連結リスト - Wikipedia 配列との違いは連結リストではデータの追加がより容易で、データの検索にはコストがかかってしまうこと。 なので毎回数字を探しに行かないように組んでみた。 解答 def add_two_numbers(l1, l2) num1 = to_num(l1) num2 = to_num(l2) sum = num1 + num…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fticktack-st.hateblo.jp%2Fentry%2F2020%2F05%2F02%2F080934&quot; title=&quot;LeetCode - 2. Add Two Numbersを解く - やめられないやめられない&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-02 08:09:34</published>
  <title>LeetCode - 2. Add Two Numbersを解く</title>
  <type>rich</type>
  <url>https://ticktack-st.hateblo.jp/entry/2020/05/02/080934</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
