Pregunta de entrevista de Qualcomm

Reverse a string without using a temporary variable for swapping