Domanda di colloquio di Infosys

The puzzle was a difficult one.