<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ordered-Set on</title><link>https://h30306.github.io/blog/tags/ordered-set/</link><description>Recent content in Ordered-Set 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>Sun, 26 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://h30306.github.io/blog/tags/ordered-set/index.xml" rel="self" type="application/rss+xml"/><item><title>LeetCode 2382: Maximum Segment Sum After Removals</title><link>https://h30306.github.io/blog/leetcode/leetcode-2382/</link><pubDate>Sun, 26 Jul 2026 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/leetcode/leetcode-2382/</guid><description>LeetCode 2382 note: work backward so removals become additions; the Union-Find root stores the segment sum, and the maximum only grows</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-2382/featured.png"/></item><item><title>LeetCode 220: Contains Duplicate III</title><link>https://h30306.github.io/blog/leetcode/leetcode-220/</link><pubDate>Sat, 10 Jan 2026 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/leetcode/leetcode-220/</guid><description>LeetCode 220 note: with bucket size valueDiff + 1, two numbers in one bucket always qualify, so only the two neighboring buckets need checking; the window keeps the latest indexDiff numbers, so each bucket holds at most one</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-220/featured.png"/></item></channel></rss>