Easy
Given an integer n, return true if it is a power of two (i.e., n == 2^x for some non-negative integer x).
n
true
n == 2^x
Input: n = 1 Output: true
Input: n = 16 Output: true
Input: n = 3 Output: false