DXC Technology Interview Question

Related to their project requirement