Topic: Graph Theory Problem / Level: advanced

Problem: Write a program to check if a graph is a tree using properties of trees.

Run the code to see the output here...