Python3 solution
\nclass Solution:\n    def baseNeg2(self, n: int) -> str:\n        s = \'\'\n        if n == 0:\n            return \'0\'\n        while n != 0:\n            if
```\nclass Solution:\n    def baseNeg2(self, n: int) -> str:\n        s = \'\'\n        if n == 0:\n            return \'0\'\n        while n != 0:\n            if n % 2 != 0:\n                s = \'1\' + s\n                n = (n - 1)//-2\n            else:\n                s = \'0\' + s\n                n = n//-2\n        return s\n```\n**If you like this solution, please upvote for this**
['Python']