LeetCode
Power of Two
Click
here
for an explanation.