Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Given an integer, write a function to determine if it is a power of two.

#####思路 转换成二进制,只有一个bit为1的是2的幂