[LeetCode] 1017. Convert to Base -2 负二进制转换

Given a number , return a string consisting of s and s that represents its value in base (negative two). The returned string must have no leading zero
posted @ 2021-02-05 14:25  Grandyang  阅读(670)  评论(1)    收藏  举报
Fork me on GitHub