Finding repetitions

2021 VietMX 0

Given a string $s$ of length $n$. A repetition is two occurrences of a string in a row. In other words a repetition can be described by […]