Leetcode Count Set Bits Hackerrank