<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Binary Tree on BenzHub</title><link>https://benzhub.github.io/tags/binary-tree/</link><description>Recent content in Binary Tree on BenzHub</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Mon, 22 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://benzhub.github.io/tags/binary-tree/index.xml" rel="self" type="application/rss+xml"/><item><title>二元樹 — 四種遍歷方式與遞迴/迭代實作完整教學 | 資料結構與演算法</title><link>https://benzhub.github.io/post/javascript/data-structures--algorithms/009-binary-tree/</link><pubDate>Mon, 22 Jun 2026 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/post/javascript/data-structures--algorithms/009-binary-tree/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;二元樹（Binary Tree）&lt;/strong&gt; 是每個節點最多有兩個子節點的樹狀結構，也是學習遞迴思維的最佳切入點。掌握四種遍歷方式與遞迴/迭代的雙重實作，你將能解決絕大多數樹相關的面試題，同時深刻理解 &lt;strong&gt;DFS&lt;/strong&gt; 與 &lt;strong&gt;BFS&lt;/strong&gt; 兩大搜尋框架的本質。&lt;/p&gt;
&lt;/blockquote&gt;</description></item></channel></rss>