Sollicitatievraag bij Meta

Add two binary numbers represents in strings, those could be large values.

Antwoorden op sollicitatievragen

Anoniem

27 nov 2012

I tried using iterate through the bigger one and calculate the sum, it works fine but I didn't qualify. May be they need something else, they didn't give me any answer too.

Anoniem

29 dec 2014

since it is a string which may indicates big integer, how do u use bit operation

Anoniem

5 jan 2013

You need to do it using bit operations like xor, &, |.