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
- 분할정복
- AndroidStudio
- DART
- android
- Python
- 백준
- 코드품앗이
- codingtest
- BAEKJOON
- cos
- cos pro 1급
- C++
- vuejs
- 동적계획법
- 안드로이드스튜디오
- Algorithm
- Flutter
- DFS와BFS
- 코딩테스트
- DFS
- 안드로이드
- django
- Vue
- 개발
- cos pro
- 알고리즘
- issue
- 동적계획법과최단거리역추적
- 파이썬
- 코테
Archives
- Today
- Total
목록cos 1급 4차 사전에서 단어찾기 python (1)
Development Artist
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bkgBqy/btruvuDQq2g/Yk5bAQ04ya4dfLIt1GU4q0/img.png)
문제 유형 한줄 수정 난이도 normal Note 1. recursive 함수, create_words 로직 암기. Code # -*- coding: utf-8 -*- # UTF-8 encoding when using korean # 4차 1번 words = [] def create_words(lev, s): global words VOWELS = ['A', 'E', 'I', 'O', 'U'] words.append(s) for i in range(0, 5): if lev < 5: create_words(lev+1, s + VOWELS[i]) def solution(word): global words words = [] answer = 0 create_words(0, '') for idx, i in en..
Algorithm/COS
2022. 2. 25. 12:53