4 ms·Just execute Floyd–Warshall algorithm for transitive closure :)by amiune 12y agoJust execute Floyd–Warshall algorithm for transitive closure :)