Rosetta Problems
← yosupo に戻る
Lyndon Factorization
https://judge.yosupo.jp/problem/lyndon_factorization