Sollicitatievraag bij Tinder

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

Antwoord op sollicitatievraag

Anoniem

17 jun 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