Using Hash Map | Simple and Easy | Python
Complexity\n- Time complexity: O(n)\n\n- Space complexity: O(n)\n\n# Code\n\nclass Solution:\n    def isPossibleToSplit(self, nums: List[int]) -> bool:\n       
# Complexity\n- Time complexity: O(n)\n\n- Space complexity: O(n)\n\n# Code\n```\nclass Solution:\n    def isPossibleToSplit(self, nums: List[int]) -> bool:\n        count = Counter(nums)\n        \n        for val in count.values():\n            if val>2:\n                return False\n        return True\n```
['Hash Table', 'Python', 'Python3']