Domanda di colloquio di Microsoft

maze question - more complex than in first thought