<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rolling-Hash on</title><link>https://h30306.github.io/blog/zh-tw/tags/rolling-hash/</link><description>Recent content in Rolling-Hash 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, 01 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://h30306.github.io/blog/zh-tw/tags/rolling-hash/index.xml" rel="self" type="application/rss+xml"/><item><title>LeetCode 1147: Longest Chunked Palindrome Decomposition</title><link>https://h30306.github.io/blog/zh-tw/leetcode/leetcode-1147/</link><pubDate>Wed, 01 Jul 2026 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/zh-tw/leetcode/leetcode-1147/</guid><description>LeetCode 1147 解題筆記：從兩端同時往內累積字串，左右一相等就切成一對；越早切越好，剩下的中間（如果有）算一塊</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-1147/featured.png"/></item><item><title>LeetCode 1461: Check If a String Contains All Binary Codes of Size K</title><link>https://h30306.github.io/blog/zh-tw/leetcode/leetcode-1461/</link><pubDate>Mon, 05 Jan 2026 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/zh-tw/leetcode/leetcode-1461/</guid><description>LeetCode 1461 解題筆記：把所有長度 k 的子字串丟進集合，大小等於 2^k 就成立；最後一個起點是 len(s) - k</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-1461/featured.png"/></item><item><title>LeetCode 2156: Find Substring With Given Hash Value</title><link>https://h30306.github.io/blog/zh-tw/leetcode/leetcode-2156/</link><pubDate>Sun, 04 Jan 2026 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/zh-tw/leetcode/leetcode-2156/</guid><description>LeetCode 2156 解題筆記：雜湊的第一個字元乘 p^0，從右往左滑動時只要乘 p 再加新字元、扣掉 p^k 倍的出去字元，不需要除法；modulo 不一定是質數，不能用模反元素</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-2156/featured.png"/></item></channel></rss>