Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
0x3f_discussion.py
文件中regex matching的错误。该错误曾导致部分题单中链接错位问题, 例如字符串题单 链接:i]$,计算这个前缀的最长 $\text{border}$ 长度,记在 $\pi$ 数组中。利用 $\pi$ 数组,可以快速计算模式串 $p$ 出现在文本串 $t$ 的哪些位置上。代码模板见 [我的题解
/comonents/containers/List/data/
下与/app/(lc)/list/
下的命名,这将方便script进行文件的更新与链接0x3f_discussion.py
增加了全局字典变量,用于将题单中指向其他题单的链接转到本站的对应的题单。例如[数据结构题单](https://leetcode.cn/circle/discuss/mOr1u6/)
现在会被指向<a href="/lc-rating/list/data-structure>数据结构题单</a>
0x3f_discussion.py
的代码,减少了不必要的代码并增加了一些注释具体效果demo