eBay interview question

They asked me to solve problems using binary trees