Hey so I’m currently working on the symmetric difference problem and I’m wondering, the symmetric difference between 2 sets are all the elements that are exclusive to those individual sets right? My main question is, does this include duplicates? For example, for the test, [3, 3, 3, 2, 5], [2, 1, 5, 7], [3, 4, 6, 6], [1, 2, 3], I am returning, [ 2, 3, 4, 6, 6, 7 ]. I verified this using a symmetric difference calculator and it’s right, however the test is expecting, [2, 3, 4, 6, 7].

# Symmetric Difference problem [Solved]

Symmetric Difference problem [Solved]

0

**joelpeyton**#2

Interesting point, I have just completed this challenge and initially returned the same results as you, ie with duplicates, I had to then create another level of code to reduce the array to satisfy the results.

**ArielLeslie**#3

The result of your function should be a set. A set does not contain any repeated values.

Set (abstract data type) Wikipedia article