Backbase interview question

regarding Strings (swap without using third string or variable)