DXC Technology Interview Question

DSA questions they were ask