Diffblue interview question

Code exercise is binary tree.