heno239’s blog
id:heno239
動的 (online) Z_algorithm 覚え書き
Z_algorithmとは 長さnの文字列Sに対し、次のような数列{a_i}{0<=i