Friendly & Clear
Complexity\n- Time complexity: O(N)\n\n- Space complexity: O(N)\n Add your space complexity here, e.g. O(n) \n\n# Code\ncsharp []\npublic class Solution {\n    
# Complexity\n- Time complexity: O(N)\n\n- Space complexity: O(N)\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```csharp []\npublic class Solution {\n    public bool IsPossibleToSplit(int[] nums) \n    {\n        var nums1 = new HashSet<int>();\n        var nums2 = new HashSet<int>();\n\n        foreach(var num in nums)\n        {\n            if (nums1.Add(num) || nums2.Add(num))\n            {\n                continue;\n            }\n\n            return false;\n        }\n\n        return true;\n    }\n}\n```
['C#']