3. 숫자 비교하기

김해준's avatar
Dec 02, 2025
3. 숫자 비교하기

문제

notion image

풀이

class Solution { public int solution(int num1, int num2) { return num1 == num2 ? 1:-1; } }

결과

notion image
Share article