[카카오 인턴] 키패드 누르기
class Solution { public String solution(int[] numbers, String hand) { String answer = ""; int[][] numIndex = { {3,1},{0,0},{0,1},{0,2},{1,0},{1,1},{1,2},{2,0},{2,1},{2,2} }; int[] leftIndex = {3,0}; int[] rightIndex = {3,2}; for(int i = 0 ; i right || (left == right && hand.equals("right")) ){ answer += "R"; rightIndex = numIndex[numbers[i]]; } else if(right > left || (left == right && hand.equa..