Easy solution with single counter || Beats 99.52% from memory usage ||  Python
Code\n\nclass Solution:\n    def winnerOfGame(self, colors: str) -> bool:\n        c = 0\n\n        for i in range(1, len(colors)-1):\n            if colors[i-1
# Code\n```\nclass Solution:\n    def winnerOfGame(self, colors: str) -> bool:\n        c = 0\n\n        for i in range(1, len(colors)-1):\n            if colors[i-1]=="A" and colors[i]=="A" and colors[i+1]=="A":\n                c +=1\n            elif colors[i-1]=="B" and colors[i]=="B" and colors[i+1]=="B":\n                c -= 1\n\n        if c>0:\n            return True\n        return False\n```
['Math', 'String', 'Greedy', 'Game Theory', 'Python3']