문제: https://programmers.co.kr/learn/courses/30/lessons/17680 cacheSize: s.remove(q.popleft()) return answer # 코드는 간단하나 살짝 시간이 더 걸림 def solution2(cacheSize, cities): answer = 0 q = deque(maxlen=cacheSize) for city in cities: city = city.lower() if city in q: q.remove(city) q.append(city) answer += 1 else: q.append(city) answer += 5 return answer print(solution(3, ["Jeju", "Pangyo", "Seoul", "NewY..