<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tree-Diameter on</title><link>https://h30306.github.io/blog/tags/tree-diameter/</link><description>Recent content in Tree-Diameter on</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>hwork0511@gmail.com (Wei Yi Chung)</managingEditor><webMaster>hwork0511@gmail.com (Wei Yi Chung)</webMaster><copyright>© 2026 Wei Yi Chung</copyright><lastBuildDate>Thu, 15 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://h30306.github.io/blog/tags/tree-diameter/index.xml" rel="self" type="application/rss+xml"/><item><title>LeetCode 3203: Find Minimum Diameter After Merging Two Trees</title><link>https://h30306.github.io/blog/leetcode/leetcode-3203/</link><pubDate>Thu, 15 Oct 2026 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/leetcode/leetcode-3203/</guid><description>LeetCode 3203 note: connect the two centers; the answer is max(d1, d2, ceil(d1/2) + ceil(d2/2) + 1)</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-3203/featured.png"/></item><item><title>LeetCode 3313: Find the Last Marked Nodes in Tree</title><link>https://h30306.github.io/blog/leetcode/leetcode-3313/</link><pubDate>Thu, 17 Sep 2026 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/leetcode/leetcode-3313/</guid><description>LeetCode 3313 note: the last marked node is the farthest one, and a farthest node can always be a diameter endpoint</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-3313/featured.png"/></item></channel></rss>