1# Runtime: 46 ms (Top 35.3%) | Memory: 16.23 MB (Top 61.5%)23import math456class Solution:7 def isPowerOfFour(self, n: int) -> bool:89 if n <= 0:10 return False11 return math.log(n, 4).is_integer()
WPM •0 •0
ACC •0 •0
TIME •0