Virtusa interview question

Reverse a string without a temporary variable using any coding lang