Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 코딩테스트
- DFS와BFS
- 동적계획법과최단거리역추적
- django
- Flutter
- issue
- C++
- 동적계획법
- vuejs
- AndroidStudio
- 코드품앗이
- Python
- 분할정복
- android
- 백준
- 안드로이드
- 개발
- DFS
- 안드로이드스튜디오
- docker
- 알고리즘
- cos pro
- cos
- 파이썬
- cos pro 1급
- Algorithm
- DART
- codingtest
- BAEKJOON
- 코테
Archives
- Today
- Total
목록cos pro 1급 병합 and 정렬 python (1)
Development Artist

문제 유형 빈칸 난이도 easy Note Nothing Code def solution(arrA, arrB): arrA_idx = 0 arrB_idx = 0 arrA_len = len(arrA) arrB_len = len(arrB) answer = [] while arrA_idx < arrA_len and arrB_idx < arrB_len: if arrA[arrA_idx] < arrB[arrB_idx]: answer.append(arrA[arrA_idx]) arrA_idx += 1 else: answer.append(arrB[arrB_idx]) arrB_idx += 1 while arrA_idx < arrA_len: answer.append(arrA[arrA_idx]) arrA_idx += 1 whil..
Algorithm/COS
2022. 2. 24. 21:50