eBay Interview Question

They asked me to solve problems using binary trees