From charlesreid1

No edit summary
Line 15: Line 15:
measurement/profiling of Java code for memory and performance, timing, etc.
measurement/profiling of Java code for memory and performance, timing, etc.
* inputs X, outputs Y, with timing/profiling.
* inputs X, outputs Y, with timing/profiling.
==ArrayStack==
implementation of a stack using a fixed or variable size array.


=Flags=
=Flags=

Revision as of 07:31, 3 June 2017

Notes

Stacks and Queues in Java are implemented as part of the Collections library. Also implemented are Deques and priority queues.

Goodrich Chapter 6

Implementations

Stacks and queues can be implemented using various implementations:

  • fixed/variable size
  • contiguous/linked memory structure (array list vs linked list)
  • singly/circular/doubly linked lists
  • size of lists, size of objects and pointers

measurement/profiling of Java code for memory and performance, timing, etc.

  • inputs X, outputs Y, with timing/profiling.

ArrayStack

implementation of a stack using a fixed or variable size array.

Flags