일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- kaggle
- Python Implementation
- t1
- 43. Multiply Strings
- 운영체제
- Convert Sorted List to Binary Search Tree
- Class
- 315. Count of Smaller Numbers After Self
- Python
- Protocol
- attribute
- 프로그래머스
- 30. Substring with Concatenation of All Words
- Substring with Concatenation of All Words
- data science
- 컴퓨터의 구조
- 109. Convert Sorted List to Binary Search Tree
- iterator
- concurrency
- Regular Expression
- Decorator
- 715. Range Module
- 밴픽
- Generator
- 시바견
- LeetCode
- 파이썬
- shiba
- Python Code
- DWG
Archives
- Today
- Total
목록카카오 코테 (1)
Scribbling
프로그래머스: 오픈채팅방
2019 카카오 코딩 테스트 기출 문제라고 한다. 단순 구현문제다. from collections import defaultdict def solution(record): results = [] record_dict = defaultdict(list) nickname_dict = {} for rec in record: rec = rec.split(' ') if rec[0] == 'Enter': user_id, nickname = rec[1], rec[2] results.append(nickname + "님이 들어왔습니다.") record_dict[user_id].append(len(results) - 1) if user_id not in nickname_dict: nickname_dict[user_id]..
Computer Science/Coding Test
2021. 11. 8. 22:02