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 |
Tags
- hackerrank
- 더현대서울 맛집
- 자연어처리
- 프로그래머스
- SW Expert Academy
- Git
- AI 경진대회
- 우분투
- Kaggle
- 금융문자분석경진대회
- 맥북
- 백준
- gs25
- 프로그래머스 파이썬
- Baekjoon
- leetcode
- ChatGPT
- PYTHON
- Docker
- 편스토랑 우승상품
- dacon
- programmers
- 데이콘
- 파이썬
- 코로나19
- github
- ubuntu
- Real or Not? NLP with Disaster Tweets
- 편스토랑
- 캐치카페
Archives
- Today
- Total
솜씨좋은장씨
[Programmers] 2019 카카오 개발자 겨울 인턴십 : 튜플 (Python) 본문
728x90
반응형

1일 1문제 69일차!
오늘의 문제는 2019 카카오 개발자 겨울 인턴십 문제였던 튜플 입니다.
프로그래머스
코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.
programmers.co.kr
Solution
from collections import Counter
def solution(s):
answer = []
delete_special_word_s = s.replace("{", "").replace("}", "").split(',')
count_dict = Counter(delete_special_word_s)
count_dict_most_common = count_dict.most_common()
for data in count_dict_most_common:
answer.append(int(data[0]))
return answer

SOMJANG/CODINGTEST_PRACTICE
1일 1문제 since 2020.02.07. Contribute to SOMJANG/CODINGTEST_PRACTICE development by creating an account on GitHub.
github.com
'Programming > 코딩 1일 1문제' 카테고리의 다른 글
[Programmers] Summer/Winter Coding(~2018) : 영어 끝말잇기 (Python) (0) | 2020.04.17 |
---|---|
[Programmers] Summer/Winter Coding(~2018) : 소수 만들기 (Python) (0) | 2020.04.16 |
[BaekJoon] 5586번 : JOI와 IOI (Python) (0) | 2020.04.14 |
[Programmers] 스택/큐 : 다리를 지나는 트럭 (Python) (0) | 2020.04.13 |
[BaekJoon] 1264번 : 모음의 개수 (Python) (0) | 2020.04.12 |