Hi, everyone
Some directed graph is given. Check the graph for the uniqueness property of the path(for any two vertices v u, there is no more than one simple path with the beginning in u and the end in v).
Does anyone know a solution to this problem faster than running BFS from each vertex?