Question
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 ?
Official answer and solution
- Official answer
- C
- From
- Official GATE 2026 answer key
Solution
Check whether () contains two edge-disjoint spanning trees.
Every spanning tree of has edges. For any , the complete graph has edges and can be decomposed into edge-disjoint spanning paths (Hamiltonian paths). Since two edge-disjoint spanning trees and exist in for all , their intersection is empty (). Thus the minimum Jaccard coefficient is:
Option (C)
Assuming any two spanning trees of must share at least one edge.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2026 Computer Science and Information Technology - Session 2 (CS2)
- Question
- 36 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.