摘要: Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at... 阅读全文
posted @ 2015-02-04 20:59 mrpod2g 阅读(164) 评论(0) 推荐(0)
摘要: Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".起初尝试把2个二进制数转换成十进制在相加,得到和之后在转换为二进制,最后发现二进制数位数太长转... 阅读全文
posted @ 2015-02-04 16:24 mrpod2g 阅读(231) 评论(0) 推荐(0)