Pregunta de entrevista de iCIMS

the algorithm for building the arithmetic tree