C++ Easy Solution ✅✅
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\npublic:\n    vector<int> evenOddBit(int n) {\n\n        int even = 0 , odd = 0 , count = 1;\n\n        while(n){\n            int bit = n & 1;\n            n = n>>1;\n            count++;\n            if(bit==1){\n                if(count%2==0)\n                    even++;\n                else\n                    odd++;\n            }\n        }\n\n        return {even,odd};\n    }\n};\n```
['C++']