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