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
- 알고리즘
- 동적계획법과최단거리역추적
- 분할정복
- 코딩테스트
- AndroidStudio
- DFS
- android
- 코드품앗이
- django
- codingtest
- 안드로이드스튜디오
- 개발
- 파이썬
- BAEKJOON
- Vue
- 안드로이드
- 동적계획법
- issue
- Algorithm
- cos pro 1급
- DFS와BFS
- DART
- C++
- Flutter
- Python
- 코테
- 백준
- cos pro
- vuejs
Archives
- Today
- Total
목록cos 규칙에 맞는 배열 구하기 (1)
Development Artist
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bK7EBH/btrul3mAmRa/jljHy6kfMV1kqIo2o3jgUK/img.png)
문제 유형 한줄 수정 난이도 easy Note 1. 배열 양끝에서 하나씩 번갈아가면서 원소 선택하는 알고리즘. Code # -*- coding: utf-8 -*- # UTF-8 encoding when using korean # 2차 8번 def solution(arr): left, right = 0, len(arr) - 1 idx = 0 answer = [0 for _ in range(len(arr))] while left
Algorithm/COS
2022. 2. 25. 10:34