Domanda di colloquio di DXC Technology

They asked me to code for two problem statements