Domanda di colloquio di Meta

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

Risposte di colloquio

Anonimo

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.

Anonimo

29 dic 2014

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

Anonimo

5 gen 2013

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