C# | 1-Liner | Except
Intuition\nThis question is really about set difference. The first thing that came to mind was the LINQ Except() method which does exactly what is being asked.\
# Intuition\nThis question is really about set difference. The first thing that came to mind was the LINQ `Except()` method which does exactly what is being asked.\n\n# Approach\nUsing `Except()`, calculate both $$A - B$$ and $$B - A$$ and return the result in a 2-element array.  \n\n# Complexity\n- Time complexity: $$O(n)$$\n- Space complexity: $$O(n)$$\n\n# Code\n```cs\npublic IList<IList<int>> FindDifference(int[] A, int[] B) =>\n \xA0 \xA0[\n \xA0 \xA0 \xA0 \xA0[..A.Except(B)],\n        [..B.Except(A)]\n \xA0 \xA0];\n```\n \nCheck out my other C# 1-liners!\n\n - https://leetcode.com/discuss/general-discussion/2905237/c-sharp-1-liners\n
[]