<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pigeonhole-Principle on</title><link>https://h30306.github.io/blog/zh-tw/tags/pigeonhole-principle/</link><description>Recent content in Pigeonhole-Principle on</description><generator>Hugo -- gohugo.io</generator><language>zh-tw</language><managingEditor>hwork0511@gmail.com (Wei Yi Chung)</managingEditor><webMaster>hwork0511@gmail.com (Wei Yi Chung)</webMaster><copyright>© 2026 Wei Yi Chung</copyright><lastBuildDate>Wed, 21 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://h30306.github.io/blog/zh-tw/tags/pigeonhole-principle/index.xml" rel="self" type="application/rss+xml"/><item><title>Bucket Sort 桶子與鴿籠原理</title><link>https://h30306.github.io/blog/zh-tw/algorithm/bucket-sort/</link><pubDate>Wed, 21 Oct 2026 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/zh-tw/algorithm/bucket-sort/</guid><description>把值域切成 n - 1 個桶子，最大間距一定不會落在同一個桶子裡，所以每個桶子只要記最小值和最大值，就能線性時間找出排序後的最大相鄰差</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/algorithm/bucket-sort/featured.png"/></item><item><title>LeetCode 961: N-Repeated Element in Size 2N Array</title><link>https://h30306.github.io/blog/zh-tw/leetcode/leetcode-961/</link><pubDate>Mon, 26 Sep 2022 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/zh-tw/leetcode/leetcode-961/</guid><description>LeetCode 961 解題筆記：其他 n 個數都不同，所以第一個出現第二次的數就是答案</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-961/featured.png"/></item></channel></rss>