Domanda di colloquio di Technicolor

I was given a 100% logic question, no programming involved