Pregunta de entrevista de Hexaware Technologies

Arrays swap question in the programing round