Pregunta de entrevista de Nagravision

Given two strings, how do you swap them?

Respuesta de la entrevista

Anónimo

11 dic 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.