Pergunta de entrevista da empresa Aptean

1 bitwise question was difficult in technical round