Given an integer n, return a binary string representing its representation in base -2.
Note that the returned string should not have leading zeros unless the string is “0”.
1 | class Solution { |
Given an integer n, return a binary string representing its representation in base -2.
Note that the returned string should not have leading zeros unless the string is “0”.
1 | class Solution { |