Bit Manipulation - LeetCode