Skip to content

Commit

Permalink
bm in python
Browse files Browse the repository at this point in the history
  • Loading branch information
KPatr1ck committed Dec 12, 2018
1 parent 5a064ff commit e4737fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/33_bm/bm_.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def move_by_gs(j, m, suffix, prefix):
"""
通过好后缀计算移动值
需要处理三种情况:
1. 整个好后缀能和pattern的剩余字符匹配
1. 整个好后缀在pattern仍能找到
2. 好后缀里存在 *后缀子串* 能和pattern的 *前缀* 匹配
3. 其他
:param j:
Expand Down

0 comments on commit e4737fd

Please sign in to comment.