データ構造 ポータル
1導入
この
2抽象 データ型 と実装
3学習順序
- スタックとキューでは、LIFOとFIFOという
取出順序 を定義 し、DFSとBFSの候補管理 へ接続 する。 - ハッシュ
表 では、鍵 による検索 と衝突処理 を扱 う。 木 とヒープでは、階層構造 と優先度 に基 づく操作 を扱 う。素集合 データ構造 では、集合 の併合 と所属判定 を扱 う。
Data Structures Portal
data/lecture/information/algorithm/foundation/computational-complexity-basics.lecture.n.md1Introduction
This sequence distinguishes the operations provided by a data structure from the implementation that realizes them and explains how to select a structure appropriate for a task.
2Abstract data types and implementations
An abstract data type (ADT) specifies a contract for the values it stores and the operations available to clients. An implementation is a concrete realization of that contract using an array, linked list, tree, or another representation. Two implementations of the same ADT can have different time and space complexities.
Each lecture examines operation preconditions and postconditions, behavior on an empty structure, implementation assumptions, and complexity, in that order.
3Learning order
- Stacks and queues define LIFO and FIFO removal orders and connect them to candidate management in DFS and BFS.
- Hash tables address key-based lookup and collision handling.
- Trees and heaps address hierarchical structure and priority-based operations.
- Disjoint-set data structures address set union and membership queries.