Cisco Interview Question

Count the set bits in an integer