LeetCode: 67. 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.

...繼續閱讀 »