Skip to content

Latest commit

 

History

History
50 lines (27 loc) · 1005 Bytes

File metadata and controls

50 lines (27 loc) · 1005 Bytes

English Version

题目描述

给定两个二进制字符串,返回他们的和(用二进制表示)。

输入为非空字符串且只包含数字 1 和 0

示例 1:

输入: a = "11", b = "1"
输出: "100"

示例 2:

输入: a = "1010", b = "1011"
输出: "10101"

解法

Python3

Java

...