This website works better with JavaScript
Domovská stránka
Prehľadávať
Pomoc
Prihlásiť sa
ikachan
/
leetcode-go
Pridať medzi pozorované
1
Hviezda
1
Fork
0
Súbory
Issues
0
Pull requesty
0
Wiki
Strom:
514ec075d8
Branche
Tagy
master
leetcode-go
/
leetcode
/
easy
/
342.power-of-four.go
342.power-of-four.go
93 B
História
Raw
1
2
3
func isPowerOfFour(num int) bool {
return (num & (num-1) == 0) && (num & 0x55555555 != 0)
}