Adobe interview question

Some questions around algorithms and data structures such as trees etc.