by quirino · 2y ago · 0 comments
It is very elegant.
https://cp-algorithms.com/string/aho_corasick.html