본문 바로가기

HealthyAI

검색하기
HealthyAI
프로필사진 BiteApple

  • 분류 전체보기 (41)
    • AI (12)
      • PyTorch (6)
      • Deep Learning (5)
      • Object Detection 맛있다. (1)
      • Image Classification (0)
    • Python (1)
    • Product (1)
    • Naver AI Boostcamp (8)
      • Month 1 (5)
      • Month 2 (3)
      • Month 3 (0)
    • Coding test (18)
      • 프로그래머스 (18)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • mmdetectionv3
  • 자료구조끝판왕문제
  • objectdetection
  • clibration
  • 프로그래머스
  • layernormalization
  • cmp_to_key
  • Optimizer
  • 중복순열
  • ImageClassification
  • focalloss
  • DataAugmentation
  • BatchNormalization
  • pytorch
  • 우선순위큐
  • 힙
  • 네이버 ai 부스트캠프
  • autograd
  • noiserobustness
  • l2penalty
  • labelsmoothingloss
  • labelsmoothing
  • f1loss
  • fasterRCNN
  • inference
  • 네이버AI부스트캠프
  • ComputerVision
  • 정렬
  • Focal Loss
  • 밑바닥부터 시작하는 딥러닝
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록프로그래머스 (1)

HealthyAI

Programmers) level2. 모음 사전

5개 밖에 안되는 알파벳이 주어졌으므로 itertools 내장 모듈의 중복 순열 product를 이용해본다. from itertools import product def solution(word): answer = 0 lst = [] for i in range(1, 6): for j in product(['A', 'E', 'I', 'O', 'U'], repeat = i): lst.append(''.join(j)) lst.sort() return lst.index(word) + 1

Coding test/프로그래머스 2023. 1. 16. 15:34
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바