Nagravision interview question

Given two strings, how do you swap them?

Interview Answer

Anonymous

11 Dec 2025

I answered this question using the classic three variable method (python), but was told the solution would not work ever. Later, I understood that they may have been asking about swapping the contents of the strings, not just the references.