Pergunta de entrevista da empresa Arista Networks

Simple Python problem to test knowledge of bitwise operations