Pergunta de entrevista da empresa iCIMS

the algorithm for building the arithmetic tree