Arraysのコーディングチャレンジ
31 問のコーディングチャレンジでArraysを練習しましょう。難易度はやさしいものから難しいものまで。どれもブラウザで動き、すぐにテストでき、AI のレビューやコミュニティの解答と比べられます。
簡単 · 27 中級 · 3 難しい · 1
練習できるスキル: 1 回の走査リスト2 つのポインタ累積最大値2 つの追跡変数2 回の走査2 次元リスト2 次元配列8 近傍の確認Async/awaitLINQ JoinTask.WhenAll
- Python · C++ · C#
- 自動テスト
- AIコードレビュー
- コミュニティの解答
- 226
- チャレンジ数
- 2
- 共有された解答
- 3
- 対応言語
すべてのチャレンジ
トピック、言語、難易度で検索できます。
簡単
Count Pairs With a Sum
Count pairs of positions whose values add up to a target.
学べること
インデックスの組二重カウントの回避
まだ解答がありません
難しい
Trapping Rain Water
Compute how much rain water an elevation map holds.
学べること
2 つのポインタ累積最大値
まだ解答がありません
簡単
Min and Max Together
Find the smallest and largest value in one pass.
学べること
1 回の走査複数の戻り値
まだ解答がありません
中級
Nearest Smaller Value to the Left
For each number, find the closest earlier position containing a strictly smaller number.
学べること
単調スタック線形時間
まだ解答がありません
簡単
Cart Total With Discount
Total a shopping cart and apply a discount above a threshold.
学べること
リスト割引の規則
まだ解答がありません
簡単
Above-Average Values
Keep the values that are greater than the average.
学べること
2 回の走査絞り込み
まだ解答がありません
トピックから探す
- Beginner 95
- ai 47
- 機械学習 42
- Strings 36
- Arrays 31
- math 21
- Simulation 19
- ニューラルネットワーク 17
- Numbers 16
- Advanced 15
- Dynamic-programming 12
- Parsing 12
- Competitive-programming 10
- Conditions 9
- Graphs 8
- Grids 8
- Loops 8
- デザインパターン 8
- Recursion 7
- Combinatorics 6
- Number-theory 6
- Sorting 6
- Functions 5
- Greedy 5
- Nested-loops 5
- Sequences 5
- Stacks 5
- Variables 5
- Algorithms 4
- Data-structures 4
- Geometry 4
- Patterns 4
- Dictionaries 3
- Fractions 3
- Sliding-window 3
- Trees 3
- 強化学習 3