<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sosodemonai</author_name>
  <author_url>https://blog.hatena.ne.jp/sosodemonai/</author_url>
  <blog_title>Neunomizuの日記</blog_title>
  <blog_url>https://propyon.hateblo.jp/</blog_url>
  <categories>
    <anon>leetcode</anon>
  </categories>
  <description>tags: leetcode 問題 Explore Problems 2つの二分木を与えられた時に, それらが同じかどうかを調べる関数を書け 2つの二分木は構造的に同じでノードが同じ値を持っていたら同じとみなされる 解法(recursive) 二分木は再帰的なデータ構造を持つので再帰的に解くことをまずは考えます 以下, 同じときはtrue, 違う時はfalseとします 基底は両方とも同じ根を持つ時(true)とそれ以外(false) では, 再帰的に考えます 最初は根を指すポインタが与えられるので, 子のノードに再帰的に進みます 子は右と左があり, これらのどちらかが同じでなければfalseを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpropyon.hateblo.jp%2Fentry%2F2020%2F01%2F21%2F000000&quot; title=&quot;# LeetCode Easy 100. Same Tree - Neunomizuの日記&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-01-21 00:00:00</published>
  <title># LeetCode Easy 100. Same Tree</title>
  <type>rich</type>
  <url>https://propyon.hateblo.jp/entry/2020/01/21/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
