The time complexity of computing the transitive closure of a binary relation on a set of n elements is known to be
(A) O (n)
(B) O (n log n)
Explanation: See question 3 of https://www.geeksforgeeks.org/data-structures-and-algorithms-set-22/
Quiz of this Question
Attention reader! Don’t stop learning now. Learn all GATE CS concepts with Free Live Classes on our youtube channel.