<?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/tags/rolling-hash/</link><description>Recent content in Rolling-Hash 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>Wed, 01 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://h30306.github.io/blog/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/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/leetcode/leetcode-1147/</guid><description>LeetCode 1147 note: build strings inward from both ends and cut a pair as soon as they match; cutting early is best, and any leftover middle counts as one chunk</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/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/leetcode/leetcode-1461/</guid><description>LeetCode 1461 note: put every length-k substring in a set and check that its size reaches 2^k; the last start is 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/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/leetcode/leetcode-2156/</guid><description>LeetCode 2156 note: the first character has weight p^0, so sliding right to left needs only multiply by p, add the new character, and subtract the outgoing one times p^k; the modulus may not be prime, so no modular inverse</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-2156/featured.png"/></item></channel></rss>