Groupon interview question

Data Structures: Binary Trees