首页 > Term: dictionary
dictionary
An abstract data type storing items, or values. A value is accessed by an associated key. Basic operations are new, insert, find and delete. Formal Definition: The operations new(), insert(k, v, D), and find(k, D) may be defined with axiomatic semantics as follows.
- new() returns a dictionary
- find(k, insert(k, v, D)) = v
- find(k, insert(j, v, D)) = find(k, D) if k ≠ j
0
创建者
- GeorgeV
- 100% positive feedback