Tally Solutions interview question

Swap string without extra variable.