String rotator

Problem Name:
String rotator
Site:HackerEarth
Links:
Tags:
Problem setters: