Is this how to construct a tree with an array input? It\'s not working with my methods. (not giving right results, no errors) Can anyone let me know what\'s wrong? I tried