Search posts...
class Solution { public int solution(int a, int b) { int result1 = Integer.parseInt("" + a + b); int result2 = 2 * a * b; return result1 >= result2 ? result1 : result2; // return Math.max(Integer.parseInt("" + a + b), 2 * a * b); 한줄로 줄여보기 } }
stupefyee