Chewy interview question

They asked about making a binary tree from an array