GATE CS 2005 · Asymptotic Analysis & Recurrences

MCQ · 1 mark · Problem PROG-DIVC-0149

The Asymptotic Notation of computing the transitive closure of a 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}\))

Solve it on GATE DA practice →More Searching & Sorting Algorithms problems

Show the worked solutionOfficial GATE Answer Key: Option D.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/1349/gate2005-7

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com