Power of Two

Power of Two Given an integer, write a function to determine if it is a power of two. Example Input: 1 Output: true Explanation: 20 = 1 Input: 16 Output: true Explanation: 24 = 16 Input: 218 Output: f
相關文章
相關標籤/搜索