AppViewX interview question

Rotate a String in a array