DXC Technology interview question

Hr