iPay Systems interview question

Find max/min in a binary tree.