Amazon Interview Question

Something related to binary tree which I don't really remember