Frage im Vorstellungsgespräch bei Meta

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

Antworten zu Vorstellungsgespräch

Anonym

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.

Anonym

29. Dez. 2014

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

Anonym

5. Jan. 2013

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