Simple JS Solution with Set
\n# Complexity\nRunTime 95%\nO(n) or idk :)\n\n# Code\n\nvar findDifference = function(nums1, nums2) {\n    \n    nums1 = new Set(nums1)\n    nums2 = new Set(nu
\n# Complexity\nRunTime 95%\nO(n) or idk :)\n\n# Code\n```\nvar findDifference = function(nums1, nums2) {\n    \n    nums1 = new Set(nums1)\n    nums2 = new Set(nums2)\n\n    for (let item of nums1){\n        if (nums2.has(item)) {\n            nums1.delete(item)\n            nums2.delete(item)\n        }\n    }\n    return [Array.from(nums1),Array.from(nums2)]\n   \n};\n```
['JavaScript']