JavaScript 코딩 챌린지

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

쉬움 · 134 보통 · 67 어려움 · 24

연습할 기술: 개수 세기자릿수 추출2차원 리스트공식리스트반복문산술while 반복문경사 하강법나누어떨어짐 판별나머지다형성
  • Python · C++ · C#
  • 자동 테스트
  • AI 코드 리뷰
  • 커뮤니티 솔루션
226
챌린지
123
공유된 솔루션
9
언어

모든 챌린지

주제, 언어 또는 난이도로 검색하세요.

225개 챌린지
쉬움

피보나치 수

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

배우는 내용 반복두 변수 갱신
BeginnerLoopsSequencesStudent-beginner
쉬움

세 수의 평균

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

배우는 내용 산술나눗셈
BeginnerLearning-pathVariables
쉬움

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

배우는 내용 산술반환값
BeginnerLearning-pathVariables
어려움

Minimum Network Connection Cost

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

배우는 내용 크루스칼 알고리즘유니온 파인드
Disjoint-setsGraphsMinimum-spanning-tree
아직 풀이가 없습니다
쉬움

Pyramid Rows

Draw a right-aligned pyramid of # blocks.

배우는 내용 문자열 패턴여백
BeginnerLearning-pathNested-loopsPatterns
보통

섬의 둘레

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

배우는 내용 변 세기4방향 이웃 확인
AdvancedGridsHackathon
아직 풀이가 없습니다
보통

Shortest Weighted Routes

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

배우는 내용 다익스트라 알고리즘지연 삭제
GraphsPriority-queuesShortest-path
아직 풀이가 없습니다
보통

Tic-Tac-Toe Winner

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

배우는 내용 승리 조건대각선
BeginnerConditionsGridsLearning-path
어려움

Trapping Rain Water

Compute how much rain water an elevation map holds.

배우는 내용 두 포인터누적 최댓값
AdvancedArraysCompetitive-programmingGreedy
쉬움

Hollow Square

Draw the outline of a square with * characters.

배우는 내용 테두리 판별문자열 만들기
BeginnerLearning-pathNested-loopsPatterns
어려움

Mini Stack-Language Interpreter

Evaluate a small stack language.

배우는 내용 토큰화명령 실행
InterpretersParsingStacks
아직 풀이가 없습니다
보통

재귀적 팰린드롬

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

배우는 내용 기저 사례문자열 정리
BeginnerLearning-pathRecursionStrings
어려움

Count Inversions

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

배우는 내용 병합 정렬분할 정복
AdvancedCompetitive-programmingSorting
아직 풀이가 없습니다
쉬움

Min and Max Together

Find the smallest and largest value in one pass.

배우는 내용 한 번의 순회여러 반환값
ArraysBeginnerFunctionsLearning-path
어려움

Sliding Window Maximum

Report the maximum of every window of k numbers.

배우는 내용 단조 덱O(n) 윈도 처리
AdvancedCompetitive-programmingSliding-window
아직 풀이가 없습니다
쉬움

Cash: Fewest Coins

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

배우는 내용 탐욕 알고리즘거스름돈
BeginnerGreedyStudent-beginnermath
쉬움

Halve Until One

Count how many halvings bring a number down to 1.

배우는 내용 while 반복문개수 세기
BeginnerLearning-pathLoops
보통

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

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

배우는 내용 A* 탐색휴리스틱
GraphsGridsShortest-pathai