What is the result of performing a 'Union' operation on two sets in Disjoint Set

Practice Questions

Q1
What is the result of performing a 'Union' operation on two sets in Disjoint Set Union?
  1. It creates a new set containing elements from both sets
  2. It removes one of the sets
  3. It finds the common elements between the two sets
  4. It does nothing if the sets are already connected

Questions & Step-by-Step Solutions

What is the result of performing a 'Union' operation on two sets in Disjoint Set Union?
No concepts available.
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely