摘要: 题目描述: Given two binary strings, return their sum (also a binary string). For example, a = "11" b = "1" Return "100". 本题给我们两个字符串形式的二进制数,让我们计算相加之后的结果。 解 阅读全文
posted @ 2018-02-04 19:57 宵夜在哪 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not contain any 阅读全文
posted @ 2018-02-04 19:25 宵夜在哪 阅读(88) 评论(0) 推荐(0) 编辑