easy python solution beats 96%
\'\'\'\nclass Solution:\n\n    def baseNeg2(self, N):\n        if not N: return \'0\'\n        ans=\'\'\n        while N:\n            N,reminder=divmod(N,-2)\n
\'\'\'\nclass Solution:\n\n    def baseNeg2(self, N):\n        if not N: return \'0\'\n        ans=\'\'\n        while N:\n            N,reminder=divmod(N,-2)\n            if reminder<0:\n                N,reminder=N+1,reminder+2\n            ans=str(reminder)+ans\n        return ans\n\'\'\'
[]