We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19378e5 commit 09a1a12Copy full SHA for 09a1a12
solution/0000-0099/0067.Add Binary/Solution.py
@@ -0,0 +1,3 @@
1
+class Solution:
2
+ def addBinary(self, a: str, b: str) -> str:
3
+ return bin(int(a, 2) + int(b, 2))[2:]
0 commit comments