Power of Two
Easy
50 XP
Challenge Description
Check if a number is a power of two.
Examples
Example 1:
Input:
1
Output:
1
Example 2:
Input:
16
Output:
1
Languages
Challenge Stats
Total Attempts
0
Status