EX Squared interview question

Diamond problem and data structures and alogo concepts