Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

捉虫 + 题单更新 + 部分优化 #28

Merged
merged 7 commits into from
Nov 6, 2024
Merged

捉虫 + 题单更新 + 部分优化 #28

merged 7 commits into from
Nov 6, 2024

Conversation

Yorafa
Copy link
Collaborator

@Yorafa Yorafa commented Nov 4, 2024

  1. 部分题单的更新
  2. 修改了0x3f_discussion.py文件中regex matching的错误。该错误曾导致部分题单中链接错位问题, 例如字符串题单 链接:i]$,计算这个前缀的最长 $\text{border}$ 长度,记在 $\pi$ 数组中。
    利用 $\pi$ 数组,可以快速计算模式串 $p$ 出现在文本串 $t$ 的哪些位置上。代码模板见 [我的题解
  3. 统一命名了/comonents/containers/List/data/下与/app/(lc)/list/下的命名,这将方便script进行文件的更新与链接
  4. 改动命名后,在0x3f_discussion.py增加了全局字典变量,用于将题单中指向其他题单的链接转到本站的对应的题单。例如[数据结构题单](https://leetcode.cn/circle/discuss/mOr1u6/) 现在会被指向<a href="/lc-rating/list/data-structure>数据结构题单</a>
  5. 优化了0x3f_discussion.py的代码,减少了不必要的代码并增加了一些注释

具体效果demo

@huxulm
Copy link
Owner

huxulm commented Nov 5, 2024

@Yorafa @wnykuang 已经将二位加到项目”合作者“中,方便大家~
image
@Yorafa ,如果有看到下面这部分内容,请尝试下能否操作 “Squash and merge” 按钮
image

@huxulm huxulm merged commit 0d23e5d into huxulm:main Nov 6, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants