Tavant interview question

Tree, Graph, Recursion and Problem-solving