Pregunta de entrevista de SGS & Co

ML maths question related to trees.