AlgoGenesis / C

AlgoGenesis is a centralized open-source platform dedicated to providing optimized and well-documented algorithm implementations in C. Perfect for both beginners and advanced users, this repository serves as a comprehensive learning resource for solving algorithmic challenges.
MIT License
89 stars 306 forks source link

[NEW ALGORITHM] Reverse a Directed Graph #719

Closed shuvojitss closed 1 month ago

shuvojitss commented 1 month ago

Name:

[NEW ALGORITHM] Graph reversal algorithm. Suppose we have a directed graph, we have to find its reverse so if an edge goes from u to v, it now goes from v to u. Here input will be an adjacency list, and if there are n nodes, the nodes will be (0, 1, ..., n-1).


If the Input is like this: directed_graph

The output should be this: directed_graph1


About:

This is a major implementation of graph data structure.


Labels:

new algorithm, gssoc-ext, hacktoberfest, level1


Assignees:

Additional Information:

Please assign me this issue, I want to work on it.

JSLSasiRekha commented 1 month ago

Please assign it to me, I will work on it.

pankaj-bind commented 1 month ago

Do not create unnecessary Issues until you complete the previous one.