Rotation and Queries

You will be given a string S consisting of lowercase English characters and N queries. In each query…

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

Is there no one who can solve this problem even though it has editorial !!:pensive: