Determine if a number is a power of 2 in O(1) | Hacker News Reader