Pregunta de entrevista de Wipro

Programming question on rotating an array