e.solutions interview question

Asked to reverse a string, can use swap.