Domanda di colloquio di Microsoft

Debugging some code, and then solving a question