Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to print all edges in lexicographical order.

Run the code to see the output here...