<?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 アイデア おさらいをすると二分木の場合はPreorder, Inorder, Postorder traversalはそれぞれ根のノードがいつ探索されるかで分類されており， Preorder(根→左→右) Inorder(左→根→右) Postorder(左→右→根) 今回は2つより多くの子を持つ木に関してその探索を実装をします． 解法1(recursive) Preorderは根から見て，子の見ていきました． Postorderは子から見て，根を見ます． 計算量 ノードの数を$N$とする． 時間計算量 $O(N)$ 空間計…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpropyon.hateblo.jp%2Fentry%2F2020%2F02%2F19%2F175525&quot; title=&quot;# LeetCode Easy 590. N-ary Tree Postorder Traversal - 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-02-19 17:55:25</published>
  <title># LeetCode Easy 590. N-ary Tree Postorder Traversal</title>
  <type>rich</type>
  <url>https://propyon.hateblo.jp/entry/2020/02/19/175525</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
