Topic: Graph Theory Problem / Level: beginner

Problem: Write a function to print all vertices of a graph in lexicographical order.

Run the code to see the output here...