<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lca on</title><link>https://h30306.github.io/blog/tags/lca/</link><description>Recent content in Lca 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>Fri, 11 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://h30306.github.io/blog/tags/lca/index.xml" rel="self" type="application/rss+xml"/><item><title>LeetCode 2509: Cycle Length Queries in a Tree</title><link>https://h30306.github.io/blog/leetcode/leetcode-2509/</link><pubDate>Fri, 11 Sep 2026 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/leetcode/leetcode-2509/</guid><description>LeetCode 2509 note: in heap numbering the parent is v // 2, so climb the larger node until both meet at the LCA</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-2509/featured.png"/></item><item><title>LeetCode 865: Smallest Subtree with all the Deepest Nodes</title><link>https://h30306.github.io/blog/leetcode/leetcode-865/</link><pubDate>Fri, 09 Jan 2026 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/leetcode/leetcode-865/</guid><description>LeetCode 865 note: BFS to the last level and climb together, or one DFS returning (depth, node)</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-865/featured.png"/></item></channel></rss>