DXC Technology interview question

Asked from projects.