Python45 프로그래머스 - (2018 KAKAO BLIND RECRUITMENT) [1차] 캐시 (Python3) https://programmers.co.kr/learn/courses/30/lessons/17680 코딩테스트 연습 - [1차] 캐시 3 [Jeju, Pangyo, Seoul, NewYork, LA, Jeju, Pangyo, Seoul, NewYork, LA] 50 3 [Jeju, Pangyo, Seoul, Jeju, Pangyo, Seoul, Jeju, Pangyo, Seoul] 21 2 [Jeju, Pangyo, Seoul, NewYork, LA, SanFrancisco, Seoul, Rome, Paris, Jeju, NewYork, Rome] 60 5 [Jeju, Pangyo, S programmers.co.kr """ [1차] 캐시 """ def solution(cacheSize, cities).. 2020. 8. 1. 프로그래머스 - (2020 카카오 인턴십) 수식 최대화 (Python3) https://programmers.co.kr/learn/courses/30/lessons/67257 코딩테스트 연습 - 수식 최대화 IT 벤처 회사를 운영하고 있는 라이언은 매년 사내 해커톤 대회를 개최하여 우승자에게 상금을 지급하고 있습니다. 이번 대회에서는 우승자에게 지급되는 상금을 이전 대회와는 다르게 다음과 � programmers.co.kr from itertools import permutations import copy """ 2020 카카오 인턴십 수식 최대화 """ def solution(expression): answer = 0 expression_list = [] tmp = '' operator_list_in_expression = [] for operator in ['+', '-'.. 2020. 8. 1. 프로그래머스 - (2020 카카오 인턴십) 키패드 누르기 (Python3) https://programmers.co.kr/learn/courses/30/lessons/67256 코딩테스트 연습 - 키패드 누르기 [1, 3, 4, 5, 8, 2, 1, 4, 5, 9, 5] "right" "LRLLLRLLRRL" [7, 0, 8, 2, 8, 3, 1, 5, 7, 6, 2] "left" "LRLLRRLLLRR" [1, 2, 3, 4, 5, 6, 7, 8, 9, 0] "right" "LLRLLRLLRL" programmers.co.kr """ 2020 카카오 인턴십 키패드 누르기 """ def solution(numbers, hand): answer = '' current_left_hand_number = '*' current_right_hand_number = '#' number_m.. 2020. 8. 1. 프로그래머스 - (2019 카카오 개발자 겨울 인턴십) 크레인 인형뽑기 게임(Python3) https://programmers.co.kr/learn/courses/30/lessons/64061 코딩테스트 연습 - 크레인 인형뽑기 게임 [[0,0,0,0,0],[0,0,1,0,3],[0,2,5,0,1],[4,2,4,4,2],[3,5,1,3,1]] [1,5,3,5,1,2,1,4] 4 programmers.co.kr """ 2019 카카오 개발자 겨울 인턴십 크레인 인형뽑기 게임 """ def solution(board, moves): answer = 0 basket = [] total_floor = len(board) for x_position in moves: x_position_index = x_position - 1 for y_position_index in range(total_floor):.. 2020. 8. 1. 이전 1 ··· 3 4 5 6 7 8 9 ··· 12 다음