ProgrammersCodingTest
프로그래머스_카카오문제_개인정보 수집 유효기간
import java.util.*; class Solution { public int[] solution(String today, String[] terms, String[] privacies) { today = today.replace(".",","); String[] todate = today.split(","); Map map = new HashMap(); for(String t : terms) { String[] terme = t.split(" "); map.put(terme[0],terme[1]); } Map cntMap = new HashMap(); List list = new ArrayList(); int cnt = 0 ; for(String p : privacies) { cnt++; p =..
2023. 4. 17. 01:08