Domanda di colloquio di Nagravision

Given two strings, how do you swap them?

Risposta di colloquio

Anonimo

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.