Python - Simple Solution - Python - Memory usage less than 100%
\nclass Solution:\n    def minFlips(self, a: int, b: int, c: int) -> int:   \n        count = 0\n        while a or b or c:\n            if (a & 1) | (b & 1) !=
```\nclass Solution:\n    def minFlips(self, a: int, b: int, c: int) -> int:   \n        count = 0\n        while a or b or c:\n            if (a & 1) | (b & 1) != (c & 1):\n                if (c & 1): count += 1\n                else: count += (a & 1) + (b & 1)\n            a, b, c = a >> 1, b >> 1, c >> 1\n        return count\n```
['Python', 'Python3']