DXC Technology Interview Question

2 programming codes and 5 CN ques