Domanda di colloquio di Dynetics

Some coding problem (sorry I forgot this one)