Amazon interview question

binary tree questions were asked