일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 뉴텝스 400
- BERT란
- NLP 논문 리뷰
- MMTOD
- The Natural Language Decathlon:Multitask Learning as Question Answering
- A Neural Attention Model for Abstractive Sentence Summarization
- TOD 논문리뷰
- T5 논문 리뷰
- Attention Is All You Need
- Multi Task Learning Objectives for Natural Language Processing 리뷰
- Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer
- Evaluate Multiwoz
- RuntimeError: DataLoader worker (pid(s) ) exited unexpectedly
- 다양한 모듈에서 log쓰기
- Multi Task Learning Objectives for Natural Language Processing
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding 리뷰
- BERT 사용방법
- attention 설명
- 정책기반 agent
- hugging face tokenizer에서 special case 추가하기
- BART 논문리뷰
- 바닥부터 배우는 강화 학습
- Zero-shot Generalization in Dialog State Tracking through GenerativeQuestion Answering
- UBAR: Towards Fully End-to-End Task-Oriented Dialog System with GPT-2
- 길찾기
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding 논문리뷰
- Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer 리뷰
- CNN 논문리뷰
- ImageNet Classification with Deep ConvolutionalNeural Networks 리뷰
- Attention Is All You Need 리뷰
Archives
- Today
- Total
one by one ◼◻◼◻
위장 (프로그래머스 코딩테스트 연습-해시) 본문

1
2
3
4
5
6
7
8
9
10
11
12
|
from collections import defaultdict
def solution(clothes):
clot = defaultdict(list)
for item in clothes:
clot[item[1]].append(clot[item[0]])
answer = 1
for key in clot.keys():
answer *= (len(clot[key])+1)
return answer-1
|
cs |
'코딩문제' 카테고리의 다른 글
정수 삼각형 (코딩테스트 연습동적계획법(Dynamic Programming)) (0) | 2022.06.10 |
---|---|
베스트 앨범(코딩테스트 연습-해시) (0) | 2022.06.10 |
숫자 문자열과 영단어 (2021 카카오 채용연계형 인턴십) (0) | 2022.06.08 |
로또의 최고 순위와 최저 순위 (2021 Dev-Matching: 웹 백엔드 개발자(상반기) (0) | 2022.06.06 |
신규 아이디 추천 (2021 KAKAO BLIND RECRUITMENT) (0) | 2022.06.06 |
Comments