Bloomberg Interview Question

Some binary tree problem, original LC problem.