Easy
,Math
,String
,Bit Manipulation
Given two binary strings a
and b
, return their sum as a binary string.
Example 1:
Example 2:
Constraints:
a.length
, b.length
<= 104a
and b
consist only of '0'
or '1'
characters.Ron ChenFeb 14, 2023
學到js新用法,但這樣寫好像不是題目想要的XDD
MarsgoatFeb 14, 2023