Pergunta de entrevista da empresa JPMorganChase

Coding test: Check if a number was a power of 2