DXC Technology interview question

2nd round was interview