Bit Manipulation Leetcode