Leetcode Bit Manipulation Questions