Question d’entretien chez Amazon

is the gragh valid binary tree