import java.util.*; class Solution { public String[] solution(String[] strings, int n) { String[] answer = new String[strings.length]; for(int i=0; i
class Solution { public long solution(int a, int b) { long answer = 0; if(a==b){ return a; }else if(a>b){ for(int i=b; i
import java.util.*; class Solution { public int[] solution(int[] arr, int divisor) { int[] answer = {}; List answerList = new ArrayList(); for(int i=0; i
class Solution { public int solution(int n, int[] lost, int[] reserve) { int answer = 0; int finalLost = 0; for (int i=0; i
import java.util.*; class Solution { public int[] solution(int n, int m) { int[] answer = new int[2]; int flag=1; if(n>m){ if(n%m==0){ answer[0] = m; answer[1] = n; } else{ for(int i=1; i
class Solution { public String solution(String phone_number) { String answer = ""; for(int i=0; i