본문 바로가기
Beakjoon&프로그래머스/Java

[LeetCode/Java] 69. Sqrt(x)

by 현장 2025. 11. 22.

-Code

class Solution {
    public int mySqrt(int x) {
        return (int) Math.sqrt(x);
    }
}