in Algorithms retagged by
646 views
0 votes
0 votes
The time complexity of computing the transitive closure of binary relation on set of n element is known to be:-
in Algorithms retagged by
646 views

1 Answer

0 votes
0 votes

Warshall’s algorithm can be used to construct the Transitive closure of directed graphs ()

so O(n3)

https://en.wikipedia.org/wiki/Floyd%E2%80%93Warshall_algorithm

http://en.wikipedia.org/wiki/Transitive_closure

Related questions