PlaceIQ interview question

Write a program that returns the second largest number from a binary tree.