Broadcom Interview Question

Count the number of flipped bits in an integer.

Interview Answer

Anonymous

Jul 31, 2019

Determined if number is odd, then increment count by 1. Right shift until zero.