Block interview question

Algorithm question regarding tree structures, typical algorithm questions masked by different wording