Topic: Graph Theory Problem / Level: beginner

Problem: Write a function to detect if a graph is disconnected.

Run the code to see the output here...