[🐍]  O(n) time O(n) space.⭐ clear explanation🧮 GAME THEORY ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅✅ ✅
\n\n\n    def stoneGameIX(self, stones: List[int]) -> bool:\n        """ O(N)TS """\n        cnt = collections.Counter(n % 3 for n in stones)\n        return ab
![image](https://assets.leetcode.com/users/images/fdf84d1e-c078-4a93-848d-4fdf33af2d2d_1661334051.3906698.png)\n\n\n    def stoneGameIX(self, stones: List[int]) -> bool:\n        """ O(N)TS """\n        cnt = collections.Counter(n % 3 for n in stones)\n        return abs(cnt[1]-cnt[2]) >= 3 if cnt[0] % 2 else cnt[1] and cnt[2]
[]