https://school.programmers.co.kr/learn/courses/30/lessons/120807 class Solution { public int solution(int num1, int num2) { if(num1==num2) return 1; else return -1; } }
ALGORITHM ๐ค
์๊ณ ๋ฆฌ์ฆ ์ฐ์ต / ์ฝ๋ฉํ ์คํธ ์ค๋นhttps://school.programmers.co.kr/learn/courses/30/lessons/120820 class Solution { public int solution(int age) { return 2022-age+1; } }
https://school.programmers.co.kr/learn/courses/30/lessons/120804 class Solution { public int solution(int num1, int num2) { return num1 * num2; } }
https://school.programmers.co.kr/learn/courses/30/lessons/120805 class Solution { public int solution(int num1, int num2) { return num1 / num2; } }
๋ฌธ์ ๋งํฌ - ํ๋ก๊ทธ๋๋จธ์ค - ๋ ์์ ์ฐจ class Solution { public int solution(int num1, int num2) { int answer = 0; return answer; } }