3'A >3'B Solution...
Intuition\n Describe your first thoughts on how to solve this problem. \nThe thing is to obsever the three consecutive A\'s && B\'s hence the turn will take one
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\nThe thing is to obsever the three consecutive A\'s && B\'s hence the turn will take one by one right..! hence the count of consecutive A\'s are greater than the consecutive B\'s then definately Alice win which of consecutive A\'s right..!\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n*Count the 3 Consecutive A\'s and 3 consecutive B\'s\n*if **(3Consecutive of A\'s )> (3Consecutive B\'s)** return true else return false;\n\n# Complexity\n- Time complexity:\n- O(n)\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n- O(1)\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\npublic:\n    bool winnerOfGame(string colors) {\n        int a=0,b=0;\n        if(colors.size()>2){\n        for(int i=0;i<colors.size()-2;i++){\n            if(colors[i]==\'A\' && colors[i+1]==\'A\' && colors[i+2]==\'A\') a++;\n            if(colors[i]==\'B\' && colors[i+1]==\'B\' && colors[i+2]==\'B\') b++; } \n        }\n        return (a<=b)  ? false  : true;\n       \n         \n    }\n};\n```
['C++']