Pocket Gems Interview Question

Q: question about a tenery tree and code review question