Heal interview question

Swapping characters in a string