最終更新日:2025/12/04
In my algorithms class, we implemented the Knuth-Morris-Pratt algorithm to efficiently find all occurrences of a pattern in a long text.
正解を見る
In my algorithms class, we implemented the Knuth-Morris-Pratt algorithm to efficiently find all occurrences of a pattern in a long text.
音声機能が動作しない場合はこちらをご確認ください
編集履歴(0)
元となった例文
アルゴリズムの授業で、長いテキスト中のパターンのすべての出現を効率よく見つけるために、パターン自身の情報を使って不可能な一致位置を飛ばす線形時間の文字列検索アルゴリズムを実装しました。