1
class Solution {
2
public boolean isPowerOfFour(int n) {
3
return (Math.log10(n) / Math.log10(4)) % 1 == 0;
4
}
5
}

0

WPM •0 •0

100%

ACC •0 •0

0s

TIME •0