Amazon interview question

-missing element in an array - height of a binary tree