Pergunta de entrevista da empresa Hudson River Trading

Easier ones were binary addition