OYO interview question

first, the question was the binary tree and the second question was from the array