DXC Technology interview question

technical questions