Sollicitatievraag bij Block

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