Diffblue Interview Question

Code exercise is binary tree.