Domanda di colloquio di DXC Technology

I was asked to code a complex question