코딩테스트

코딩테스트

kakao 2023 공채 1번

def solution(today, terms, privacies): today = today.split(".") for i in range(3): today[i] = int(today[i]) nterms = {} for t in terms: nterms[t.split(" ")[0]] = int(t.split(" ")[1]) dates = [] periods = [] for p in privacies: dates.append((p.split(" ")[0]).split(".")) periods.append(p.split(" ")[1]) for i in range(len(dates)): for j in range(3): dates[i][j] = int(dates[i][j]) answer = [] for i ..

kimjingyu
'코딩테스트' 카테고리의 글 목록