✅BEATS 100%||✅EASIEST APPROACH||✅WELL EXPLAINED
Please upvote if you find my code helpful..!\nThankYou++\n\n# Code\n\nclass Solution {\npublic:\n    int minFlips(int a, int b, int c) {\n    int flips = 0;\n  
Please upvote if you find my code helpful..!\nThankYou++\n\n# Code\n```\nclass Solution {\npublic:\n    int minFlips(int a, int b, int c) {\n    int flips = 0;\n    while(a!=0 || b!=0 || c!=0){\n        if((c&1)==1){//right most bit is 1\n        if((a&1)==0 && (b&1)==0) flips++;\n        }\n        else{//right most bit is 0\n        if((a&1)==1) flips++;\n        if((b&1)==1) flips++;\n        }\n        a>>=1;\n        b>>=1;\n        c>>=1;\n    }\n    return flips;    \n    }\n};\n```
['Bit Manipulation', 'C++']