-
Madhav Wagle authored
Added some checks to make sure that graph is unweighted and undirected. Also handled cases like unconnected graphs. Commented the code and added examples and references.
6dd478d0
Added some checks to make sure that graph is unweighted and undirected. Also handled cases like unconnected graphs. Commented the code and added examples and references.