What is the main signal for Union Find: Components, Islands and Connectivity?
Practice this question from Quiz: Union Find: Components, Islands and Connectivity, with options and an explanation.
Question
What is the main signal for Union Find: Components, Islands and Connectivity?
Option A — Correct answer
The problem repeatedly connects items and asks whether they belong to the same group.
Option B
The input has no constraints.
Option C
The sample output is small.
Option D
The question uses only one variable.
Explanation
Pattern choice starts from constraints and invariant.