DXC Technology interview question

was way long back, dont remember