Pergunta de entrevista da empresa Qualcomm

Write a routine to count the number of set bits in an integer