Write a program to find the symmetric difference between two arrays (elements unique to each array).
MediumProblem Statement
Write a program to find the symmetric difference between two arrays (elements unique to each array).
Sample Input
[1, 2, 3], [2, 3, 4]
Sample Output
[ 1, 4 ]
Limits
Time: 2s · Memory: 256 MB