[C++] Short and Clean. O(n)
\nclass Solution {\npublic:\n    bool stoneGameIX(vector<int>& stones) {\n        vector<int> cnt(10, 0);\n        for (auto val : stones) cnt[val%3]++;\n      
```\nclass Solution {\npublic:\n    bool stoneGameIX(vector<int>& stones) {\n        vector<int> cnt(10, 0);\n        for (auto val : stones) cnt[val%3]++;\n        \n        if (!cnt[1]&&!cnt[2]) return false;\n        if (cnt[0] & 1)       return abs(cnt[1]-cnt[2])>=3;\n        else                  return min(cnt[1],cnt[2])!=0;\n    }\n};\n```
[]