Informatica Interview Question

String rotation and pattern printing