Activity : Stacks
Here is a Stack with some elements already in it...
8
STACK POINTER = 5
7
6
5
THOMPSON
4
SANDERSON
3
TODDS
2
JONES
1
GUDRUNSON
Display the same Stack after the name "JONES" has been added to it...
8
JONES
STACK POINTER =
4
5
6
7
8
7
JONES
6
JONES
5
THOMPSON
4
SANDERSON
3
TODDS
2
JONES
1
GUDRUNSON
WELL DONE
Back