Pergunta de entrevista da empresa Arm

bit counting programing.. writing it directly.