Python 코딩 챌린지

Python로 풀 수 있는 챌린지 341개. 첫 반복문부터 그래프, 동적 프로그래밍, 머신러닝까지. 브라우저에서 코드를 작성하고 바로 테스트한 뒤 AI 리뷰를 받으세요.

쉬움 · 193 보통 · 119 어려움 · 29

연습할 기술: 중첩 반복문개수 세기반복문문자열 만들기소수 판별에라토스테네스의 체자릿수 추출조건문2차원 리스트while 반복문공식대칭
  • Python · C++ · C#
  • 자동 테스트
  • AI 코드 리뷰
  • 커뮤니티 솔루션
341
챌린지
245
공유된 솔루션
9
언어

모든 챌린지

이름이나 주제로 검색하거나 난이도로 필터링하세요.

341개 챌린지
쉬움

세 수의 평균

세 개의 정수를 평균하세요.

배우는 내용 산술나눗셈
초급Learning-pathVariables
쉬움

피보나치 수

n번째 피보나치 수를 반환하세요.

배우는 내용 반복두 변수 갱신
초급반복문Sequences입문자
보통

Tournament Standings

Rank teams from match records.

배우는 내용 결과 집계키로 정렬
딕셔너리파싱정렬
어려움

Minimum Network Connection Cost

Choose undirected links so that every vertex can reach every other vertex, with minimum total cost.

배우는 내용 크루스칼 알고리즘유니온 파인드
Disjoint-setsGraphsMinimum-spanning-tree
보통

Shortest Weighted Routes

Find the minimum total route cost from city 1 to each city.

배우는 내용 다익스트라 알고리즘지연 삭제
GraphsPriority-queues최단 경로
쉬움

Pyramid Rows

Draw a right-aligned pyramid of # blocks.

배우는 내용 문자열 패턴여백
초급Learning-path중첩 반복문패턴 출력
보통

Tic-Tac-Toe Winner

Decide the result of a tic-tac-toe board.

배우는 내용 승리 조건대각선
초급조건문격자Learning-path
보통

섬의 둘레

격자에서 육지 칸의 해안선을 측정하세요.

배우는 내용 변 세기4방향 이웃 확인
고급격자Hackathon
어려움

Trapping Rain Water

Compute how much rain water an elevation map holds.

배우는 내용 두 포인터누적 최댓값
고급Arrays알고리즘 대회Greedy
쉬움

Hollow Square

Draw the outline of a square with * characters.

배우는 내용 테두리 판별문자열 만들기
초급Learning-path중첩 반복문패턴 출력
어려움

Mini Stack-Language Interpreter

Evaluate a small stack language.

배우는 내용 토큰화명령 실행
Interpreters파싱스택
보통

재귀적 팰린드롬

대소문자와 구두점을 무시하고 재귀적으로 팰린드롬을 확인하세요.

배우는 내용 기저 사례문자열 정리
초급Learning-path재귀Strings
쉬움

Min and Max Together

Find the smallest and largest value in one pass.

배우는 내용 한 번의 순회여러 반환값
Arrays초급함수Learning-path
어려움

Count Inversions

Count the out-of-order pairs in a list.

배우는 내용 병합 정렬분할 정복
고급알고리즘 대회정렬
어려움

Sliding Window Maximum

Report the maximum of every window of k numbers.

배우는 내용 단조 덱O(n) 윈도 처리
고급알고리즘 대회Sliding-window
쉬움

Cash: Fewest Coins

Give change with as few U.S. coins as possible.

배우는 내용 탐욕 알고리즘거스름돈
초급Greedy입문자수학
보통

가중치 격자에서의 A* 탐색

게임과 로봇 경로 탐색의 핵심인 A*로 지형 비용 격자를 가로지르는 가장 저렴한 경로를 찾습니다.

배우는 내용 A* 탐색휴리스틱
Graphs격자최단 경로ai
쉬움

Celsius to Fahrenheit

Convert a temperature from Celsius to Fahrenheit.

배우는 내용 공식연산자 우선순위
초급Learning-pathVariables