Pregunta de entrevista de Chewy

They asked about making a binary tree from an array