231. Power of Two
problem description
Input: 1
Output: true
Explanation: 2^0 = 1Input: 16
Output: true
Explanation: 2^4 = 16Input: 218
Output: falsealgorithm thought
code
algorithm analysis
Last updated