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 |
Tags
- cos pro
- 안드로이드스튜디오
- vuejs
- Python
- 알고리즘
- DART
- DFS와BFS
- 코딩테스트
- 코테
- 개발
- codingtest
- 백준
- cos
- android
- issue
- 코드품앗이
- Vue
- DFS
- AndroidStudio
- BAEKJOON
- django
- Algorithm
- cos pro 1급
- 안드로이드
- 동적계획법
- C++
- 동적계획법과최단거리역추적
- 파이썬
- 분할정복
- Flutter
Archives
- Today
- Total
목록cos 병합 and 정렬 (1)
Development Artist
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/mOmgZ/btruk3s9L1P/EvBOn3cr10NCt8Lk04MYTk/img.png)
문제 유형 빈칸 난이도 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