DSA Key Problems

Number of 1 Bits

Given a non-negative integer, return the number of set bits in its binary representation.