...

/

Challenge 4: Find a "Mother Vertex" in a Graph

Challenge 4: Find a "Mother Vertex" in a Graph

Given a graph, can you find a vertex from which all the other vertices are reachable?

Problem statement

You have to implement the int findMotherVertex(Graph g) function, which will take a graph as input ...