LeetCode 338: Counting Bits