Domanda di colloquio di Meta

Algo Question: Take two binary numbers and add them

Risposte di colloquio

Anonimo

10 ago 2015

havent seen the word 'lest' being used lately :)

1

Anonimo

29 ago 2015

int add(int x, int y){ while (x ^= y, y = ((x^y)&y) << 1){} return x; }

Anonimo

2 ago 2015

Coded on coderpad.