O(1) Check Power of 2(LintCode 142):

Problem