Pergunta de entrevista da empresa Arm

Reverse a string. Don't use a temporary variable for swapping