Pergunta de entrevista da empresa Shift Technology

Reverse string without using any temporary variable