Tinder interview question

Implement the following method signature `String addBinary(String a, String b)`

Interview Answer

Anonymous

17 June 2017

Iterate both strings from right to left and also keep track of the sum and carry. I used a StringBuilder to keep track of the values.

1