Add Binary
Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or 0.
(二进制字符串加法)
Example:

1. 十进制 & 二进制转换
1 | class Solution: |
Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or 0.
(二进制字符串加法)
Example:
1 | class Solution: |