
https://www.hanbit.co.kr/store/books/look.php?p_code=B8945183661 이것이 취업을 위한 코딩 테스트다 with 파이썬 IT 취준생이라면 누구나 가고 싶어 하는 카카오, 라인, 삼성전자의 2016년부터 2020년까지의 코딩 테스트와 알고리즘 대회의 기출문제를 엄선하여 수록하였다. www.hanbit.co.kr [223p 바닥 공사] import sys MOD = 796796 n = int(sys.stdin.readline().rstrip()) d = [0] * (n + 1) # d[2] 식을 만족하기 위해 d[0] = 1로 설정 d[0] = 1 d[1] = 1 for i in range(2, n + 1): # 2 x 1, 2 x 2로 만들 수 있는 경우와 1..

https://www.hanbit.co.kr/store/books/look.php?p_code=B8945183661 이것이 취업을 위한 코딩 테스트다 with 파이썬 IT 취준생이라면 누구나 가고 싶어 하는 카카오, 라인, 삼성전자의 2016년부터 2020년까지의 코딩 테스트와 알고리즘 대회의 기출문제를 엄선하여 수록하였다. www.hanbit.co.kr [220p 개미 전사] import sys n = int(sys.stdin.readline().rstrip()) # 현재 창고 숫자와 인덱스를 맞춰주기 위해 [0]을 추가 stores = [0] + list(map(int, sys.stdin.readline().rstrip().split())) d = [0] * (n + 1) # 창고가 1개일 경우 창고..

https://www.hanbit.co.kr/store/books/look.php?p_code=B8945183661 이것이 취업을 위한 코딩 테스트다 with 파이썬 IT 취준생이라면 누구나 가고 싶어 하는 카카오, 라인, 삼성전자의 2016년부터 2020년까지의 코딩 테스트와 알고리즘 대회의 기출문제를 엄선하여 수록하였다. www.hanbit.co.kr [217p 1로 만들기] import sys n = int(sys.stdin.readline().rstrip()) # 1로 만드는 경우 중 최대값은 각 수에서 1을 뺀 수와 동일 d = [i - 1 for i in range(n + 1)] for i in range(2, n + 1): # 5로 나누어 떨어지면, 5로 나눈다. if i % 5 == 0: ..

https://www.hanbit.co.kr/store/books/look.php?p_code=B8945183661 이것이 취업을 위한 코딩 테스트다 with 파이썬 IT 취준생이라면 누구나 가고 싶어 하는 카카오, 라인, 삼성전자의 2016년부터 2020년까지의 코딩 테스트와 알고리즘 대회의 기출문제를 엄선하여 수록하였다. www.hanbit.co.kr [201p 떡볶이 떡 만들기] import sys n, m = map(int, sys.stdin.readline().rstrip().split()) height = list(map(int, sys.stdin.readline().rstrip().split()))[:n] def binary_search(array, target, start, end): re..

https://www.hanbit.co.kr/store/books/look.php?p_code=B8945183661 이것이 취업을 위한 코딩 테스트다 with 파이썬 IT 취준생이라면 누구나 가고 싶어 하는 카카오, 라인, 삼성전자의 2016년부터 2020년까지의 코딩 테스트와 알고리즘 대회의 기출문제를 엄선하여 수록하였다. www.hanbit.co.kr [197p 부품 찾기] import sys n = int(sys.stdin.readline().rstrip()) stores = list(map(int, sys.stdin.readline().rstrip().split()))[:n] m = int(sys.stdin.readline().rstrip()) parts = list(map(int, sys.std..

https://www.hanbit.co.kr/store/books/look.php?p_code=B8945183661 이것이 취업을 위한 코딩 테스트다 with 파이썬 IT 취준생이라면 누구나 가고 싶어 하는 카카오, 라인, 삼성전자의 2016년부터 2020년까지의 코딩 테스트와 알고리즘 대회의 기출문제를 엄선하여 수록하였다. www.hanbit.co.kr [182p 두 배열의 원소 교체] import sys n, k = map(int, sys.stdin.readline().rstrip().split()) first = list(map(int, sys.stdin.readline().rstrip().split()))[:n] second = list(map(int, sys.stdin.readline().rst..

https://www.hanbit.co.kr/store/books/look.php?p_code=B8945183661 이것이 취업을 위한 코딩 테스트다 with 파이썬 IT 취준생이라면 누구나 가고 싶어 하는 카카오, 라인, 삼성전자의 2016년부터 2020년까지의 코딩 테스트와 알고리즘 대회의 기출문제를 엄선하여 수록하였다. www.hanbit.co.kr [180p 성적이 낮은 순서로 학생 출력하기] import sys import copy n = int(sys.stdin.readline().rstrip()) array = [] for _ in range(n): name, score = sys.stdin.readline().rstrip().split() array.append((name, int(scor..

https://www.hanbit.co.kr/store/books/look.php?p_code=B8945183661 이것이 취업을 위한 코딩 테스트다 with 파이썬 IT 취준생이라면 누구나 가고 싶어 하는 카카오, 라인, 삼성전자의 2016년부터 2020년까지의 코딩 테스트와 알고리즘 대회의 기출문제를 엄선하여 수록하였다. www.hanbit.co.kr [178p 위에서 아래로] import sys import copy n = int(sys.stdin.readline().rstrip()) numbers = [int(sys.stdin.readline().rstrip()) for _ in range(n)] # 선택 정렬 def selection_sort(array): for i in range(n): ma..

www.acmicpc.net/problem/1260 1260번: DFS와 BFS 첫째 줄에 정점의 개수 N(1 ≤ N ≤ 1,000), 간선의 개수 M(1 ≤ M ≤ 10,000), 탐색을 시작할 정점의 번호 V가 주어진다. 다음 M개의 줄에는 간선이 연결하는 두 정점의 번호가 주어진다. 어떤 두 정점 사 www.acmicpc.net import sys from collections import deque import copy n, m, start = map(int, sys.stdin.readline().rstrip().split()) graph = [[] for _ in range(n + 1)] visited = [False] * (n + 1) for _ in range(m): a, b = map(in..
- Total
- Today
- Yesterday
- 구현
- 열혈강의
- 깃
- 2019 카카오 개발자 겨울 인턴십
- 코틀린
- 자료구조
- Algorihtm
- 그리디
- Python
- 단계별로 문제풀이
- BOJ
- 저장소
- 정렬
- spring boot 2.3.1
- 백준
- git
- binary search
- Summer/Winter Coding(~2018)
- Algorithm
- OS
- bfs
- Idempotent
- 그래프
- dfs
- DP
- 이것이 코딩테스트다
- 2020 카카오 인턴십
- programmers
- 알고리즘
- repository
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |