<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tx_driver</author_name>
  <author_url>https://blog.hatena.ne.jp/tx_driver/</author_url>
  <blog_title>TX's blog</blog_title>
  <blog_url>https://tx-driver.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>アルゴリズム</anon>
  </categories>
  <description>概要 DFSの練習で、Pythonでバイナリツリーの探索を実装しました。 再帰あり/なしのそれぞれで、preorder, inorder, postorderの計6パターンの実装です。 再帰なしのpostorderは下記GeeksforGeeksの記事を参考にしています。 www.geeksforgeeks.org コード全文はgithubに上げています。 github.com バイナリツリー生成 バイナリツリーは1以上の深さ指定で自動生成しています。 クラスを定義しようかとも思いましたが、とりあえずサクッとリストで表現しました。 def make_binarytree(depth): tre…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftx-driver.hatenablog.com%2Fentry%2F2019%2F01%2F15%2F234624&quot; title=&quot;バイナリツリーのpre/in/post-order DFS（再帰あり/なし） - TX&amp;#39;s blog&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>2019-01-15 23:46:24</published>
  <title>バイナリツリーのpre/in/post-order DFS（再帰あり/なし）</title>
  <type>rich</type>
  <url>https://tx-driver.hatenablog.com/entry/2019/01/15/234624</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
