Pocket Gems Interview Question

Data structure and Algorithm questions. A coding question about Tree.