Write a program to find the transpose of the graph G, where the input and the output of the program are represented as adjacency list structure.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.