Topic: Graph Theory Problem / Level: beginner

Problem: Write a function to convert a directed graph to an undirected graph.

Run the code to see the output here...