Hello Everyone,I am solving this problem http://www.spoj.com/problems/PERIOD/
I have solved this problem using prefix function.but i want to know is it solvable by Z algorithm also?pls help me
Hello Everyone,I am solving this problem http://www.spoj.com/problems/PERIOD/
I have solved this problem using prefix function.but i want to know is it solvable by Z algorithm also?pls help me