Python3 ✅✅✅ || Tiub-Recommended
\n\n# Code\n\nclass Solution:\n    def isPossibleToSplit(self, nums: List[int]) -> bool:\n        turn = 1\n        half1 = []\n        half2 = []\n        for 
![image.png](https://assets.leetcode.com/users/images/37d7b406-026f-4d39-a1e1-0a13ebb898dc_1709443291.0441136.png)\n\n# Code\n```\nclass Solution:\n    def isPossibleToSplit(self, nums: List[int]) -> bool:\n        turn = 1\n        half1 = []\n        half2 = []\n        for n in nums:\n            if turn == 1:\n                if n in half1:\n                    if n in half2: return False\n                    else: half2.append(n)\n                else: half1.append(n)\n            if turn == 2:\n                if n in half2:\n                    if n in half1: return False\n                    else: half1.append(n)\n                else: half2.append(n)\n        return True\n```
['Python3']