Points |
Task |
2 |
Uses Templates |
1 |
Implements void addFront(Type t) |
1 |
Implements void addBack(Type t) |
1 |
Implements Type popFront() |
1 |
Implements Type popBack() |
1 |
Implements bool contains(Type t) |
1 |
Implements int count() |
1 |
Implements void push(Type t) which is the
equivelent of pushFront(). |
1 |
Implements Type pop() which is the equivelent of popFront(). |
5 |
Can resize the array. |
-2 |
Turned in after Tuesday Jan 28th |
-2 |
Turned in after Monday Feb 3nd |
Command |
Meaning |
a 1 |
insert into the front a 1 |
b 2 |
insert into the back a 2 |
c 3 |
remove from front. The '3'
is ignored. |
d 4 |
remove from back. The '4
is ignored. |
e 5 |
Does it contain a '5' |