프로그래머스(오픈채팅방, LV2)
·
알고리즘
문제 내용 제출한 코드import java.util.*;public class Solution { static public List solution(String[] record) { List answer = new ArrayList(); HashMap info = new HashMap(); Queue queue = new LinkedList(); for(String r : record) { String input = r.split(" ")[0]; String uid = r.split(" ")[1]; if(input.equals("Enter")) { String na..