GATE CS 2026 Set 2 | Question 36

Algorithms › Graph Algorithms · MCQ · 2 marks · Answer: C

  1. Question 36Algorithmsmcq2 marks
    Consider a complete graph with vertices (). Note that multiple spanning trees can be constructed over . Each of these spanning trees is represented as a set of edges. The Jaccard coefficient between any two sets is defined as the ratio of the size of the intersection of the two sets to the size of the union of the two sets. Which one of the following options gives the lowest possible value for the Jaccard coefficient between any two spanning trees of ?
    • A.
    • B.
    • C.
      ✓
    • D.

    Answer: C

    Solution

    Answer: (C) Each spanning tree of has edges, and has edges. For , , so two edge-disjoint spanning trees exist. Their intersection is empty, giving a Jaccard coefficient of .

More GATE PYQ on Graph Algorithms

All GATE CS Algorithms PYQ →

Attempt GATE CS 2026 Set 2 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →