摘要:
Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". 题目:求2个二进制字符串的和,结果也要二进制字符串输出。 阅读全文
posted @ 2016-05-20 21:55
米开朗菠萝
阅读(305)
评论(0)
推荐(0)
摘要:
Given an integer, write a function to determine if it is a power of three. Follow up:Could you do it without using any loop / recursion? 判断整数是不是3的幂数 阅读全文
posted @ 2016-05-20 20:44
米开朗菠萝
阅读(353)
评论(0)
推荐(0)