Amazon interview question

is the gragh valid binary tree