The time complexity of computing the transitive closure of binary relation on…

PYQ GATE 2005

The time complexity of computing the transitive closure of binary relation on a set of n elements is known to be

  1. A.

    O(n)

  2. B.

    O(n log n)

  3. C.

    O(n 3/2)

  4. D.

    O(n 3)

Attempted by 821 students.

Sign up free to check your answer

Sign up free

Explore the full course: Algorithms

Loading lesson…