<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>LeetCode on 进击的骑士</title>
    <link>https://knight134.com/tags/leetcode/</link>
    <description>Recent content in LeetCode on 进击的骑士</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Sun, 19 May 2024 13:00:00 +0800</lastBuildDate>
    <atom:link href="https://knight134.com/tags/leetcode/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>二叉树遍历：递归与迭代的博弈</title>
      <link>https://knight134.com/posts/2024-05-19-algorithm-tree/</link>
      <pubDate>Sun, 19 May 2024 13:00:00 +0800</pubDate>
      <guid>https://knight134.com/posts/2024-05-19-algorithm-tree/</guid>
      <description>&lt;p&gt;二叉树的遍历是基础中的基础。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;前序遍历&lt;/strong&gt;：根 -&amp;gt; 左 -&amp;gt; 右&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;中序遍历&lt;/strong&gt;：左 -&amp;gt; 根 -&amp;gt; 右&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;后序遍历&lt;/strong&gt;：左 -&amp;gt; 右 -&amp;gt; 根&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;递归写法虽然简洁，但在面试中往往会被要求用迭代（栈）来实现，需要多加练习。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
