Topic: Graph Theory Problem / Level: beginner

Problem: Write a function to check if a given graph is a tree.

Run the code to see the output here...