Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 우분투
- 더현대서울 맛집
- ubuntu
- 금융문자분석경진대회
- 프로그래머스
- SW Expert Academy
- dacon
- 편스토랑 우승상품
- 파이썬
- Kaggle
- 프로그래머스 파이썬
- 데이콘
- 맥북
- leetcode
- hackerrank
- gs25
- AI 경진대회
- Git
- 캐치카페
- Baekjoon
- 자연어처리
- programmers
- ChatGPT
- Docker
- 백준
- 코로나19
- Real or Not? NLP with Disaster Tweets
- PYTHON
- github
- 편스토랑
Archives
- Today
- Total
목록
반응형
2020/08/07 (1)
반응형
솜씨좋은장씨
[leetCode] 345. Reverse Vowels of a String (Python)
Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Input: "hello" Output: "holle" Example 2: Input: "leetcode" Output: "leotcede" Note: The vowels does not include the letter "y". Solution class Solution(object): def reverseVowels(self, s): s_list = list(s) vowels = [] for i, val in enumerate(s_list): if val in ['a', 'o', 'e', 'i', 'u', 'A', 'O', 'E..
Programming/코딩 1일 1문제
2020. 8. 7. 21:25
반응형