ProcDNA interview question

Make binary tree from given level order traversal.