Sliding-windowのコーディングチャレンジ

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

中級 · 1 難しい · 2

練習できるスキル: O(n) のウィンドウ処理ウィンドウの伸縮単調 deque固定長のウィンドウ数字の文字列頻度表
  • Python · C++ · C#
  • 自動テスト
  • AIコードレビュー
  • コミュニティの解答
226
チャレンジ数
2
共有された解答
3
対応言語

すべてのチャレンジ

トピック、言語、難易度で検索できます。

3件のチャレンジ
難しい

Minimum Window Substring

Find the shortest piece of text containing all required characters.

学べること ウィンドウの伸縮頻度表
AdvancedCompetitive-programmingSliding-windowStrings
まだ解答がありません
難しい

Sliding Window Maximum

Report the maximum of every window of k numbers.

学べること 単調 dequeO(n) のウィンドウ処理
AdvancedCompetitive-programmingSliding-window
まだ解答がありません
中級

Largest Adjacent-Digit Product

Take every contiguous window of span digits and multiply its digits.

学べること 固定長のウィンドウ数字の文字列
NumbersSliding-window
まだ解答がありません