DXC Technology Interview Question

2nd round was interview