일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Protocol
- Generator
- 프로그래머스
- data science
- concurrency
- DWG
- 715. Range Module
- kaggle
- t1
- Class
- 43. Multiply Strings
- Python
- Substring with Concatenation of All Words
- Python Code
- Convert Sorted List to Binary Search Tree
- iterator
- 시바견
- Regular Expression
- 30. Substring with Concatenation of All Words
- LeetCode
- 109. Convert Sorted List to Binary Search Tree
- 파이썬
- 운영체제
- 컴퓨터의 구조
- Decorator
- 315. Count of Smaller Numbers After Self
- 밴픽
- shiba
- attribute
- Python Implementation
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