Pregunta de entrevista de ASSET Technology Group

How to solve diamond problem?