문제 유형캐시 정말 캐시작성 코드import java.util.*;class Solution { public int solution(int cacheSize, String[] cities) { int answer = 0; // Cache Algorithm -> LRU Deque cacheLRU = new LinkedList(); for (int i = 0; i cacheSize) { cacheLRU.pollFirst(); } } if (cacheSize == 0) answer = cities.length*5; return answer; }}접근 방식1. 기본적..