Qualcomm Interview Question

Reverse a string without using a temporary variable for swapping