/graph-1

I was implementing the Graph Algorithm(i.e BFS,DFS etc), so i thought why don't i just share it with the world!

Primary LanguageJava

graph

I was implementing the Graph Algorithms(i.e BFS,DFS etc), so i thought why don't i just share it with the world! Hope you guys will find it usefulšŸ‘

Give the inputs in the following sequence: //number of vertice and edges 7 10 //name of vertices California Florida Colorado Indiana Washington Oklahama Arizona //edges i.e. (u,v) along with weight California Florida 2 California Indiana 10 California Washington 5 Florida Washington 3 Colorado Washington 3 Indiana Washington 2 Indiana Colorado 10 Washington Oklahama 7 Oklahama Arizona 9 Arizona Florida 4