Wrong Question and Wrong solution


#1

Suppose some string is “abbabb” then its minimum time to make original string is 2, although 3 is also the solution but its not minimum.
Now consider another string with minimum time to make original string is 9.
Then according to the solution, the answer should be LCM(2,9)=18, but we can get minimum by taking LCM(3,9)=9.


#2

It is mentioned that if at time t, the string becomes same then at time t+1 it will have only 1 rotation and not t+1 rotations. So if at time 2 the string became same, then at time 3 it will again have 1 rotation.