Hello!
I have TLE on 23 test with O(n) (I think so) Z-function. I want to reverse origin string and just use Z-func. Where is the problem?
[submission:245796377]
[problem:https://codeforces.net/edu/course/2/lesson/3/4/practice/contest/272262/problem/D]