Visa Inc. interview question

- binary tree and how to get height