OpenGenus/cosmos

Add Z_Algorithm

Open

#493 创建于 2017年10月4日

在 GitHub 查看
 (5 评论) (1 反应) (1 负责人)C++ (3,724 fork)batch import
Hacktoberfestadd codenew algorithm

仓库指标

Star
 (13,462 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

This algorithm finds all occurrences of a pattern in a text in linear time. Let length of text be n and of pattern be m, then total time taken is O(m + n) with linear space complexity @AdiChat adding in python

贡献者指南