JAVA_Valid Perfect Square_LeetCode 367 풀이 class Solution { public boolean isPerfectSquare(int num) { double sqrt = Math.sqrt(num); return ((sqrt - Math.floor(sqrt)) == 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_Valid Perfect Square_LeetCode 367에 대한 요약내용입니다.
자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.
#JAVA
#JAVA_LeetCode367
#JAVA_ValidPerfectSquare
#JAVA_ValidPerfectSquare_LeetCode367
#ValidPerfectSquare_LeetCode367
원문링크 : JAVA_Valid Perfect Square_LeetCode 367