Union of {1, 2, 3} and {2, 3, 4}

To calculate the union of the sets {1,2,3} and {2,3,4} you combine the elements from both sets ignoring duplicates.

Steps