프로그래머스 - (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/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.