DXC Technology interview question

Mostly technical