JAVA_Power of Three_LeetCode 326 풀이 class Solution { public boolean isPowerOfThree(int n) { return (Math.log10(n) / Math.log10(3)) % 1 == 0; } } * 출처 Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com...
JAVA_Power of Three_LeetCode 326에 대한 요약내용입니다.
자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.
#JAVA
#JAVA_LeetCode326
#JAVA_PowerofThree
#JAVA_PowerofThree_LeetCode326
#PowerofThree_LeetCode326
원문링크 : JAVA_Power of Three_LeetCode 326