摘要: # 结点类 class node: def __init__(self, ch): self.ch = ch # 结点值 self.fail = None # Fail指针 self.tail = 0 # 尾标志:标志为 i 表示第 i 个模式串串尾 self.child = [] # 子结点 se 阅读全文
posted @ 2020-07-02 13:56 高空降落 阅读(399) 评论(0) 推荐(0) 编辑