WD Interview Question

Diamond problem