Knuth–Morris–Pratt algorithm · HackerTrans