Easy solution
IntuitionApproachComplexity
Time complexity:

Space complexity:
Code
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```python3 []
class Solution:
    def baseNeg2(self, n: int) -> str:
        if n==0:
            return "0"
        l=[]
        while n!=0:
            r=n%-2
            n//=-2
            if r<0:
                r+=2
                n+=1
            l.append(str(r))
        return "".join(l[::-1])
```
['Python3']