Subex interview question

questions on data structures like tree traversal