OUTPUT
Enter no of vertices:4 Enter no of edges:4 EDGES 1 2 1 3 2 4 3 4 Enter initial vertex to traverse from:1 Visited vertices:1 2 3 4 12
OUTPUT
Enter no of vertices:4 Enter no of edges:4 EDGES 1 2 1 3 2 4 3 4 Enter initial vertex to traverse from:1 Visited vertices:1 2 3 4 12