Pergunta de entrevista da empresa SGS & Co

ML maths question related to trees.