In mathematics and digital electronics, a binary number is a number expressed in the base-2 numeral system or binary numeral system, which uses only two symbols: typically" 0" (zero) and" 1" (one).Because of its straightforward implementation in digital electronic circuitry use logic gates, the binary system is used by almost all modern computers and computer-based devices. However, systems associated to binary numbers have looked earlier in multiple cultures including ancient Egypt, China, and India. The modern binary number system was study in Europe in the 16th and 17th centuries by Thomas Harriot, Juan Caramuel Y Lobkowitz, and Gottfried Leibniz. Leibniz was specifically inspired by the Chinese I Ching.

COMING SOON!

```
class Solution {
public:
string addBinary(string a, string b) {
string c;
reverse(a.begin(), a.end());
reverse(b.begin(), b.end());
int carry = 0;
int i = 0;
while (i < a.size() && i < b.size()) {
carry += a[i] - '0' + b[i] - '0';
c += carry % 2 + '0';
carry /= 2;
i++;
}
while (i < a.size()) {
carry += a[i] - '0';
c += carry % 2 + '0';
carry /= 2;
i++;
}
while (i < b.size()) {
carry += b[i] - '0';
c += carry % 2 + '0';
carry /= 2;
i++;
}
while (carry) {
c += carry % 2 + '0';
carry /= 2;
}
reverse(c.begin(), c.end());
return c;
}
};
```