Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
辞書ベースのテキストエディタを作成するのに適したデータ構造はどれですか?DAWGまたは基数木?作成のしやすさと速度に基づいて分析してください。どうすればこれらを作成できますか?
それはあなたが達成しようとしていることに依存しますが:-
DAWGにはメモリ使用率の利点があります。
基数木は、バランスツリーのO(logn)であるO(k)時間で挿入、削除、検索を実行します。