<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bracket-Sequences on</title><link>https://h30306.github.io/blog/tags/bracket-sequences/</link><description>Recent content in Bracket-Sequences 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>Tue, 03 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://h30306.github.io/blog/tags/bracket-sequences/index.xml" rel="self" type="application/rss+xml"/><item><title>LeetCode 32: Longest Valid Parentheses</title><link>https://h30306.github.io/blog/leetcode/leetcode-32/</link><pubDate>Tue, 03 Nov 2026 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/leetcode/leetcode-32/</guid><description>LeetCode 32 note: a stack of indices whose bottom is the position just before the current valid run; the length is i - stack[-1]</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-32/featured.png"/></item><item><title>LeetCode 2267: Check if There Is a Valid Parentheses String Path</title><link>https://h30306.github.io/blog/leetcode/leetcode-2267/</link><pubDate>Tue, 13 Oct 2026 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/leetcode/leetcode-2267/</guid><description>LeetCode 2267 note: the state is (r, c, open balance); the balance can be neither negative nor more than the remaining steps; search the states with BFS / DP and succeed at the end with balance 0</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-2267/featured.png"/></item><item><title>LeetCode 1021: Remove Outermost Parentheses</title><link>https://h30306.github.io/blog/leetcode/leetcode-1021/</link><pubDate>Tue, 27 Sep 2022 00:00:00 +0000</pubDate><author>hwork0511@gmail.com (Wei Yi Chung)</author><guid>https://h30306.github.io/blog/leetcode/leetcode-1021/</guid><description>LeetCode 1021 note: track depth instead of a stack; the &amp;lsquo;(&amp;rsquo; raising depth from 0 to 1 and the &amp;lsquo;)&amp;rsquo; lowering it from 1 to 0 are outermost, everything else stays</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://h30306.github.io/blog/leetcode/leetcode-1021/featured.png"/></item></channel></rss>