DXC Technology interview question

normal technical questions