OpenGenus/cosmos

Add Z_Algorithm

Open

#493 aberto em 4 de out. de 2017

Ver no GitHub
 (5 comments) (1 reaction) (1 assignee)C++ (3.724 forks)batch import
Hacktoberfestadd codenew algorithm

Métricas do repositório

Stars
 (13.462 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador