Aho-Corasick's algorithm Task: We have some strings and the text and need to say "YES" if the string is contained in the text, otherwise "NO"