Next:
4.1.1 Representation
Up:
4 Implementation
Previous:
4 Implementation
4
.
1
Array of values
It is possible to implement a list as an array of values. This is especially the case if we have flexible arrays that can expand and contract. Let us evaluate whether this is a good implementation.
Subsections
4
.
1
.
1
Representation
4
.
1
.
2
Creation
4
.
1
.
3
Deletion
4
.
1
.
4
Get first value
4
.
1
.
5
Set first value
4
.
1
.
6
Get rest
4
.
1
.
7
Set rest
4
.
1
.
8
Is empty
Copyright © 2006-09-27 by Tak Auyeung