Min Li's Note
KVM,QEMU, X86 virtualization
Pages
Home
Collection
About
Saturday, September 27, 2014
Add Binary
Problem
Given two binary strings, return their sum (also a binary string).
For example,
a = "11"
b = "1"
Return "100".
Idea
Note
Convert char to int
Convert int to string
Solution
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment