初級のコーディングチャレンジ

154 問のコーディングチャレンジで初級を練習しましょう。難易度はやさしいものから難しいものまで。どれもブラウザで動き、すぐにテストでき、AI のレビューやコミュニティの解答と比べられます。

簡単 · 148 中級 · 6

練習できるスキル: 二重ループ桁の取り出し条件分岐カウントループ文字列の分割リスト入力の検証公式算術1 回の走査2 次元リスト
  • Python · C++ · C#
  • 自動テスト
  • AIコードレビュー
  • コミュニティの解答
341
チャレンジ数
245
共有された解答
9
対応言語

すべてのチャレンジ

名前やトピックで検索したり、難易度で絞り込んだりできます。

154件のチャレンジ
簡単

Distance Between Points

Compute the straight-line distance between two points.

学べること 三平方の定理平方根
初級関数Learning-path数学
中級

Gradebook Top Student

Find the student with the highest average score.

学べること 2 次元リスト平均
初級関数グリッドLearning-path
中級

Count Islands

Count groups of connected land cells in a grid.

学べること 塗りつぶし再帰的な DFS
初級グリッドLearning-path再帰
簡単

素数判定

数が素数かどうかを判定してください。

学べること 割り切れるかの判定ループの最適化
初級ループ数値初心者向け
簡単

Number Triangle

Build a triangle of increasing numbers.

学べること 長くなる行行をまたぐカウンター
初級Learning-path二重ループパターン
簡単

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

学べること 算術戻り値
初級Learning-pathVariables
簡単

Count Pairs With a Sum

Count pairs of positions whose values add up to a target.

学べること インデックスの組二重カウントの回避
Arrays初級Learning-path二重ループ
簡単

Days in a Month

Return how many days a month has, including leap years.

学べること 暦の規則補助関数
初級条件分岐関数Learning-path
簡単

Average of Three

Average three whole numbers.

学べること 算術除算
初級Learning-pathVariables
簡単

フィボナッチ数

n番目のフィボナッチ数を返してください。

学べること 反復2 変数の更新
初級ループSequences初心者向け
簡単

ピラミッドの行

# ブロックで右寄せのピラミッドを描画します。

学べること 文字列のパターン余白
初級Learning-path二重ループパターン
中級

Tic-Tac-Toe Winner

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

学べること 勝利条件対角線
初級条件分岐グリッドLearning-path
簡単

Hollow Square

Draw the outline of a square with * characters.

学べること 縁の判定文字列の作成
初級Learning-path二重ループパターン
中級

Recursive Palindrome

Check a palindrome recursively, ignoring case and punctuation.

学べること 基底ケース文字列の整形
初級Learning-path再帰Strings
簡単

Min and Max Together

Find the smallest and largest value in one pass.

学べること 1 回の走査複数の戻り値
Arrays初級関数Learning-path
簡単

Cash: Fewest Coins

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

学べること 貪欲法両替
初級Greedy初心者向け数学
簡単

摂氏から華氏への変換

摂氏温度を華氏温度に変換してください。

学べること 公式演算子の優先順位
初級Learning-pathVariables
簡単

Halve Until One

Count how many halvings bring a number down to 1.

学べること whileループカウント
初級Learning-pathループ